Re: Command-line PHP script CPU usage goes sky-high, stays there--why?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jochem Maas wrote:

>> Have you tried stracing it to see what's really happening when the
>> load goes that high?
> 
> am I correct that that would be done like so?:
> 
> strace -p <process id of php deamon>

Yep, that's it.  You'll probably want to record the output for analysis,
but sometimes it's very obvious what's happening.  Which doesn't mean
it's also easy to fix, but it could give you a clue. 


/Per Jessen, Zürich

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux