PHP5.0.4 FCGI Process maxing resources
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?