|
Joined: Oct 2006
Posts: 49
journeyman
|
journeyman
Joined: Oct 2006
Posts: 49 |
Is this normal? Will they prune at some time, or just keep accumulating? I'm a bit concerned with eventually having a few million files...
Wayne
|
|
|
|
Joined: Jun 2006
Posts: 16,301 Likes: 116
|
Joined: Jun 2006
Posts: 16,301 Likes: 116 |
Your server should prune these once they expire...
|
|
|
|
Joined: Oct 2006
Posts: 49
journeyman
|
journeyman
Joined: Oct 2006
Posts: 49 |
how long does it take for them to expire?
|
|
|
|
Joined: Jun 2006
Posts: 16,301 Likes: 116
|
Joined: Jun 2006
Posts: 16,301 Likes: 116 |
That's up to your server; I honestly don't know what the setting is nor where it is; however I do know that it's a webserver issue vs a UBB issue.
What OS is your server running on as well? I've seen one case in Window$ where full write/execute access hadn't been granted to the temp and sessions directory so the files woudln't get purged.
|
|
|
|
Joined: Oct 2006
Posts: 49
journeyman
|
journeyman
Joined: Oct 2006
Posts: 49 |
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
guessing that maybe a setting in the PHP config file is not set correctly or permissions for Apache / PHP to remove them is not set properly?
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
On some servers, PHP's garbage handling which cleans up session files is disabled by default as they are going the cron job route. If you have access to the servers php.ini file, look for the line that has:
session.gc_probability
This may be commented out, or have a 0 for the value. If it is commented out, uncomment it. You'll also need to make sure it has a positive value, normally 1. At that point the webserver should be restarted as well.
|
|
|
|
Joined: Oct 2006
Posts: 49
journeyman
|
journeyman
Joined: Oct 2006
Posts: 49 |
Rick,
Worked like a champ!
Thanks,
Wayne
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
Good glad you got it working and that my guess was on track as well.
Don't play with Linux as much as I used to so wasn't sure.
|
|
|
|
Joined: Jul 2006
Posts: 4,057
|
Joined: Jul 2006
Posts: 4,057 |
Phew mine has a 1 - I like to cross check these for my own peice of mind
BOOM !! Version v7.6.1.1 People who inspire me Isaac ME Gizmo
|
|
|
1 members (Ruben),
1,277
guests, and
207
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|