anmihe Posted May 16, 2014 Share Posted May 16, 2014 Hello, I've recently swithced over to a VPS and I'm getting hammered with these "lfd Excessive resource usage": Time: Fri May 16 10:43:09 2014 -0400 Account: accountname Resource: Process Time Exceeded: 19863 > 1800 (seconds) Executable: /usr/bin/php Command Line: /usr/bin/php PID: 15869 (Parent PID:15850) Killed: No ....it is usually 5-6 warnings in a row with the same process ID with an hour in-between, they start with about 1860 > 1800 (seconds) and end up with what you see above...more then 5h. Then it continues but with another process ID. The site works fine and loads fast so I'm not seeing any performance or other actual issues. I've talked to the hosting support and they can't really pin point it and told me to check with Prestashop if this was "intentional and legitimate behavior from this script" So anyone knows? Is there any scripts in Prestashop that is suppose to run for this long? Thanks in advance! Link to comment Share on other sites More sharing options...
El Patron Posted May 16, 2014 Share Posted May 16, 2014 you may want to consider running PHP as fastcgi, and not CLI SAPI. talk to your hosting provider (most times we can specify this at domain level via hosting control panel) I don't really think this is a ps issue, but could be. Link to comment Share on other sites More sharing options...
anmihe Posted May 16, 2014 Author Share Posted May 16, 2014 (edited) Hi and thanks for the fast reply! But I am running PHP as fastcgi, this is my current configuration: Default PHP Version: 5 PHP 5 Handler: fcgi Apache suEXEC: on Apache Ruid2: off ...what do you think? Edited May 16, 2014 by anmihe (see edit history) Link to comment Share on other sites More sharing options...
anmihe Posted May 16, 2014 Author Share Posted May 16, 2014 Last warning was: Resource: Process Time Exceeded: 5456 > 1800 (seconds) Executable: /usr/bin/php Command Line: /usr/bin/php PID: 21939 (Parent PID:21876) And when checking the current running processes in WHM this is what I see for 21939: 21939 (php) /usr/bin/php /usr/local/cpanel/cgi-sys If it was PS wouldn't there be a PS directory for that process? Link to comment Share on other sites More sharing options...
El Patron Posted May 16, 2014 Share Posted May 16, 2014 sorry, the message googled to cli sapi... did you check the apache error log for additional information? Link to comment Share on other sites More sharing options...
flyclothing Posted February 23, 2017 Share Posted February 23, 2017 Did you end up discovering anything about the scripts running? Link to comment Share on other sites More sharing options...
Recommended Posts