Jump to content

Is it "normal" for any Prestashop php scripts to run for up to 5 hours at a time!?


Recommended Posts

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

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

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

  • 2 years later...
×
×
  • Create New...