PDA

View Full Version : Php session table full


RichieBoy67
04-11-2014, 11:22 AM
Hey all,

I started getting watchdog alerts for high resource usage on my server. After looking at the logs I discovered that my php session table(I meant directory) was full. I am guessing one of my updates cuased the php-cleaner script to stop.

I tried cleaning the folder by using rsync but this was killing my site loads so I ended up just renaming the session folder and starting a new one.

Here is my question finally:

I have created a cron task that runs daily that deletes sessions older than 7 days. Is this ok or should I do something else?

Has anyone else had this issue with the session cleaner stopping after Plesk updates?

Thanks,
Rich

##Not related to this question but in topic with the server we have been getting brute force attacked daily for the last couple weeks. So far we have had no break throughs but many, many more attempts than usual. Has anyone else noticed a major upswing in these kinds of attacks in the last 2 or 3 weeks?

Zachery
04-11-2014, 01:52 PM
Wait, your vBulletin session table was full?
There isn't a php sessions table, there is a php sessions folder, which is normally the same as the tmp directory.

RichieBoy67
04-11-2014, 02:13 PM
Sorry, long night..I meant the var/lib/php/session directory...

RichieBoy67
04-13-2014, 05:07 PM
I am having some serious server issues still. Are there any server experts here willing to help me for a bit?