• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

plesk-php-cleanuper alert

SacAutos

Regular Pleskian
On February 21st and now again on the 27th I received from root warning messages in an email that looked like this:

--- begin text ---
/etc/cron.hourly/plesk-php-cleanuper:

/etc/cron.hourly/plesk-php-cleanuper: line 13: 16422 Killed find /var/lib/php/session -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib64/plesk-9.0/maxlifetime) ! -execdir fuser -s {} \; -delete 2> /dev/null
--- end text ---

The only difference is the figure after the line number which I presume to be a process ID number. Any ideas what this is about? The server in question is running CentOS 6.6 and everything - Plesk included - is up to date on patches. We brought the server online about a year ago and the Plesk version we started with was 12.0, so I have no idea what the plesk-9.0 business is about...
 
Hello Dave,
The script plesk-php-cleanuper contains a string ! -execdir fuser {} \, which opens every file in the /var/lib/php/session directory and checks that it is not used by a working process and can be deleted.

You can find in detail about that cleaner here:
http://kb.odin.com/en/119500
 
Excellent suggestion. I didn't realize that my /var/lib/php/session directory had over 1.5 million files there. No wonder the cleaner-upper was dying...
 
Back
Top