Excessive resource usage for PHP - how to check which PHP try to execute?

Post Reply
ronaldoluiz
Junior Member
Posts: 1
Joined: 31 Aug 2016, 16:11

Excessive resource usage for PHP - how to check which PHP try to execute?

Post by ronaldoluiz »

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.
babenito
Junior Member
Posts: 11
Joined: 06 Sep 2016, 15:11

Re: Excessive resource usage for PHP - how to check which PHP try to execute?

Post by babenito »

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!
Sergio
Junior Member
Posts: 1712
Joined: 12 Dec 2006, 14:56

Re: Excessive resource usage for PHP - how to check which PHP try to execute?

Post by Sergio »

Add the following line to your csf.pignore:
exe:/usr/bin/php
Post Reply