I'm getting the message of "excessive resource" for a PHP,
The server has cPanel and I can't identify which PHP script are exhausting the resources. There are a way to know? If so, how can I find it?
Time: Wed Aug 31 12:04:06 2016 -0300
Account: xxx
Resource: Process Time
Exceeded: 1806 > 1800 (seconds)
Executable: /usr/bin/php
Command Line: /usr/bin/php
PID: 22384 (Parent PID:14269)
Killed: No
Thanks for any help.
Excessive resource usage for PHP - how to check which PHP try to execute?
-
- Junior Member
- Posts: 1
- Joined: 31 Aug 2016, 16:11
Re: Excessive resource usage for PHP - how to check which PHP try to execute?
Take a look at the PID. In this case you should have run:
ps aux | grep 22384
ps aux | grep 14269
That may give you some information. Of course those commands probably won't return anything useful now, because a few days have passed and the PIDs are probably different.
Good luck!
ps aux | grep 22384
ps aux | grep 14269
That may give you some information. Of course those commands probably won't return anything useful now, because a few days have passed and the PIDs are probably different.
Good luck!
Re: Excessive resource usage for PHP - how to check which PHP try to execute?
Add the following line to your csf.pignore:
exe:/usr/bin/php
exe:/usr/bin/php