/var/sentora/sessions/ directory filling up with a 15 new files per minute rate
#11
RE: /var/sentora/sessions/ directory filling up with a 15 new files per minute rate
I did. The cron path is wrong for Ubuntu. Instead of saving sessions in /var/lib/php5 which is the default, they are saved in /var/sentora/sessions which is the Sentora default. Ubuntu 14.04 uses a cron job for purging older sessions instead of letting apache/php handle it. This is default behavior for web servers on Ubuntu according to my research. File and folder permissions were not changed during this process. They are the defaults Sentora setup during install.
Ever since the path fix in the cron file, my sessions have been being cleared properly.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
#12
RE: /var/sentora/sessions/ directory filling up with a 15 new files per minute rate
Ok good should get a fix in the installer.
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
#13
RE: /var/sentora/sessions/ directory filling up with a 15 new files per minute rate
Thanks for the quick fix TGates! Problem solved Smile
Reply
#14
RE: /var/sentora/sessions/ directory filling up with a 15 new files per minute rate
Well, it took me a while to track down what was actually happening. My server had caused (email was no longer being sent out) and I couldn't figure out why. I had done recovery from a backup on digitalocean and the problem was resolved for several weeks until it reappeared. And then it started happening more frequently. I eventually figured out it was that my inode was being 100% used on my main partition.
I was able to figure out which folder was the issue from the solution "Sam C" posted on here: https://stackoverflow.com/questions/3476...being-used

my Sentora sessions folder had 3.4 MILLION files! So after searching inode and sentora, I found this page. I'm running Ubuntu, and it seems like this is my issue as well. So this is an issue with Sentora's default settings. I should make the change Tgates recommends on the first page of this forum post?
Reply
#15
RE: /var/sentora/sessions/ directory filling up with a 15 new files per minute rate
(07-18-2018, 04:43 PM)americanninja Wrote: I should make the change Tgates recommends on the first page of this forum post?

Yes! Angel Big Grin
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
#16
RE: /var/sentora/sessions/ directory filling up with a 15 new files per minute rate
(07-27-2018, 02:40 PM)TGates Wrote: Yes! Angel Big Grin

yep! Thanks! Did it and things are finally back to normal. No more down server and frantically trying to get email back up and running. Thanks!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Sentora cp steps 421darren 6 17 ,345 06-12-2025, 03:29 PM
Last Post: AnthonyDillard
Improving Security on Your Sentora Panel: Best Practices DylanForeman 0 463 05-27-2025, 06:10 PM
Last Post: DylanForeman
Is Sentora dead? rajeevrrs 2 5 ,703 12-17-2022, 09:20 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 1 Guest(s)