Previous Thread
Next Thread
Print Thread
Hop To
#215569 07/17/2008 8:13 PM
Joined: May 2008
Posts: 755
Likes: 1
Old Hand
Old Hand
Joined: May 2008
Posts: 755
Likes: 1
what could cause 41000 session files to be created over the past few days?

it caused me to hit my total file limit allowed and the server starts truncating other files.... like my config file.....


"No matter where you go, there you are."
"If you can't do something smart, Do something right"
"There are three kinds of people in the world, those who can count, and those who can't"
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
What version are you running? On some servers with 7.2.x and prior the session files would accumulate. I believe it was Zarzal that found the issue which we patched up for 7.3.

Joined: May 2008
Posts: 755
Likes: 1
Old Hand
Old Hand
Joined: May 2008
Posts: 755
Likes: 1
I am using 7.3.1



"No matter where you go, there you are."
"If you can't do something smart, Do something right"
"There are three kinds of people in the world, those who can count, and those who can't"
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Hmm, in that case, is this your server or a hosted server? If it's your own, you'll want to take a look at the php.ini file and check to make sure the garbage collection area is set properly.

A site I worked on recently had this turned off in their php.ini for some reason so PHP was never clearing out the session files.

Joined: May 2008
Posts: 755
Likes: 1
Old Hand
Old Hand
Joined: May 2008
Posts: 755
Likes: 1
it's on a hosted server, they told me I need to set up a cron job to clean out the sessions files periodically... of course, I have never messed with cron stuff so have no idea how to do that.


"No matter where you go, there you are."
"If you can't do something smart, Do something right"
"There are three kinds of people in the world, those who can count, and those who can't"

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
Email Settings
by Outdoorking - 05/13/2026 2:44 AM
Who's Online Now
0 members (), 118 guests, and 136 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)