Previous Thread
Next Thread
Print Thread
Hop To
Joined: Oct 2006
Posts: 49
W
journeyman
journeyman
W Offline
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,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
Your server should prune these once they expire...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Oct 2006
Posts: 49
W
journeyman
journeyman
W Offline
Joined: Oct 2006
Posts: 49
how long does it take for them to expire?

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
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.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Oct 2006
Posts: 49
W
journeyman
journeyman
W Offline
Joined: Oct 2006
Posts: 49
linux....



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
R
Former Developer
Former Developer
R Offline
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
W
journeyman
journeyman
W Offline
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 smile - I like to cross check these for my own peice of mind smile


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (Napalm), 806 guests, and 165 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)