Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
6 registered (Bjab, Stan, Dunny, driv, SteveS, id242), 25 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 12/25/03
Posts: 125
Top Posters (30 Days)
Ruben 51
Gizmo 24
DennyP 24
Dunny 15
SteveS 14
AllenAyres 12
SD 10
dbremer 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#201307 - 11/13/07 11:16 PM 120,000 sess_* files in the sessions dir and growing
Wayne Willson Offline
journeyman
Registered: 10/21/06
Posts: 57
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
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#201309 - 11/13/07 11:19 PM Re: 120,000 sess_* files in the sessions dir and growing [Re: Wayne Willson]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Your server should prune these once they expire...
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#201313 - 11/13/07 11:35 PM Re: 120,000 sess_* files in the sessions dir and growing [Re: Gizmo]
Wayne Willson Offline
journeyman
Registered: 10/21/06
Posts: 57
how long does it take for them to expire?
Top
#201314 - 11/14/07 12:11 AM Re: 120,000 sess_* files in the sessions dir and growing [Re: Wayne Willson]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
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.
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#201315 - 11/14/07 12:42 AM Re: 120,000 sess_* files in the sessions dir and growing [Re: Gizmo]
Wayne Willson Offline
journeyman
Registered: 10/21/06
Posts: 57
linux....
Top
#201316 - 11/14/07 12:49 AM Re: 120,000 sess_* files in the sessions dir and growing [Re: Wayne Willson]
ntdoc Offline
Registered: 11/09/06
Posts: 3384
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?
Top
#201347 - 11/14/07 10:46 AM Re: 120,000 sess_* files in the sessions dir and growing [Re: ntdoc]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
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.
Top
#201363 - 11/14/07 06:15 PM Re: 120,000 sess_* files in the sessions dir and growing [Re: Rick]
Wayne Willson Offline
journeyman
Registered: 10/21/06
Posts: 57
Rick,

Worked like a champ!

Thanks,

Wayne
Top
#201376 - 11/14/07 08:34 PM Re: 120,000 sess_* files in the sessions dir and growing [Re: Wayne Willson]
ntdoc Offline
Registered: 11/09/06
Posts: 3384
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.
Top
#201611 - 11/17/07 07:56 PM Re: 120,000 sess_* files in the sessions dir and growing [Re: ntdoc]
Mark S Offline
Carpal Tunnel
Registered: 07/04/06
Posts: 4447
Loc: Liverpool : England : UK
Phew mine has a 1 \:\) - I like to cross check these for my own peice of mind \:\)
_________________________
Version v7.5.6 smile smile < Threads satisfaction status
People who inspire me Rick Gizmo Ian David jgeoff ntdoc
Oooo i hear 8 is coming? just after 7 my friend.
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Due Date Calculator-Calculate When Your Baby is Due
by StewartMyduedate
12:54 AM
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
Forum Stats
10491 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image