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

Post Reply
InteractM
Junior Member
Posts: 3
Joined: 23 Apr 2015, 17:10

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

Post 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
cubanvj
Junior Member
Posts: 5
Joined: 01 Jul 2015, 22:44

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

Post 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
Post Reply