• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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