httpd consume 90% CPU with php
| From: | Brian Jacobs | Date: | Fri, 22 Feb 2002 15:37:41 +0000 |
| Subject: | httpd consume 90% CPU with php | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-6133@lists.php.net to get a copy of this message | ||
Hello all,
I installed PHP 4.1.1 successfully on Apache 1.3.12, but about once or twice
per day, when I run the 'top' command, httpd will be sucking up as much of
the CPU time as it can.
I'm running Redhat 6.2.
I restart httpd and things return to normal. Once in a while, openssl
crashes without affecting the rest. I haven't actually put any PHP scripts
on the server yet except the "show all env vars" test script, which was
running.
I started with PHP 4.0.6, and then installed PHP 4.1.1 after about a week of
the problem. When I remove PHP from httpd.conf, the problem goes away ( it
appeared with PHP ).
Any advice would be appreciated.
Regards,
Brian Jacobs
During conf/make/make install, the only non-default thing I specified was
./configure --with-apxs=/usr/local/apache/bin/apxs
I don't see how this would have affected anything.