Plesk PHP Session Cleanup unable to delete files from /var/lib/php/session
Posted on 2014-04-10
I'm using 11.0.9 CentOS 6 110120608.16
All session files on my server are stored in the folder /var/lib/php/session
The folder has the following permissions set:
drwx-wx-wt 2 root root 548864 Apr 10 20:09 session
But all session files inside that folder only have rw permissions for there apache user exclusively
So I think the cron configured in /etc/cron.hourly/plesk-php-cleanuper is unable to actually perform the session cleanup, hence the size of the folder continues to grow and at this point every time the job runs and combs through all files the I/O weight goes to 100% and slows my entire server down to the point where the applications hosted on it are completely unaccessible.
How can I resolve this matter?