LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   PHP5.0.4 FCGI Process maxing resources (https://www.linuxquestions.org/questions/linux-software-2/php5-0-4-fcgi-process-maxing-resources-378897/)

neocookie 11-01-2005 06:41 AM

PHP5.0.4 FCGI Process maxing resources
 
Hi all

I've found by using "ps auwex" that one of 10 PHP 5.0.4 FCGI processes on my web server is slowly reaching 100% usage of CPU and memory. Its caused my server to crash a couple of times.

I have a couple of questions:

Is there any way I can find out which script this process is running?

Is there any way I can automatically kill processes which reach a certain CPU usage for a length of time?

Any suggestions on what might be causing this oddness?

Thanks.

wwnexc 11-01-2005 11:25 PM

I would downgrade to php 4.something. php 5 doesn't support some of the old functions and calls, and has only caused me headaches. If you ask me, php5 is sill in its beta phase, even though officially it isn;t.

neocookie 11-02-2005 07:23 AM

Not an option.


All times are GMT -5. The time now is 04:39 PM.