Page 1 of 1

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

Posted: 14 Jun 2015, 17:44
by InteractM
I have multiple excessive resource usage messages for PHP

Code: Select all

Time:         Sun Jun 14 11:28:54 2015 -0400
Account:      gumball 
Resource:     Virtual Memory Size
Exceeded:     235 > 225 (MB)
Executable:   /usr/bin/php
Command Line: /usr/bin/php
PID:          12679 (Parent PID:12549)
Killed:       No
but I want to check what exactly PHP was trying to do so has created memory overload.

Thanks

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

Posted: 02 Jul 2015, 04:02
by cubanvj
In Centos, one of the php logs is /usr/local/apache/logs/suphp_log, try there first, the other thing would be to look for the domlogs for that doman /usr/local/apache/domlogs/gumball/*name of site* around that same time to see what was being ran