#20896 [Ver->Fbk]: php -w hangs indefinitely at 100% CPU
| From: | iliaa@php.net | Date: | Wed, 13 Aug 2003 00:56:24 +0000 |
| Subject: | #20896 [Ver->Fbk]: php -w hangs indefinitely at 100% CPU | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-45823@lists.php.net to get a copy of this message | ||
ID: 20896
Updated by: iliaa@php.net
Reported By: carl at thep dot lu dot se
-Status: Verified
+Status: Feedback
Bug Type: CGI related
Operating System: SuSE 7.2
PHP Version: 4.3.3RC2-dev
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2003-01-08 16:59:30] sthomas at townnews dot com
This bug also affects PHP 4.3.0 Final, at least on Redhat 7.3 and
Redhat 8.0. Pretty odd to have 100% cpu usage when it's already
finished with the whitespace stripping or syntax hilighting.
------------------------------------------------------------------------
[2003-01-07 14:31:37] internet at choq dot fm
I have a similar problem on Slackware 8.1, on a kernel 2.4.20.
PHP version 4.3 Release.
When I start the server everything is fine for a little while. After a
bit the CPU load increases dramatically and dosn't stop. Top shows me
that the httpd processes are in a infinite loop. Also I can'T kill them
at all, even with a kill -HUP.
uptime :
15:28:55 up 18:21, 3 users, load average: 47.15, 46.94, 44.35
with 46 looped httpd process.
I removed all the php scripts on the server and everything runs fine
afdterwards, so it's definately caused by php.
I will recompile PHP and apache later tonight to see if this might be a
problem between the kernel/apache/php4.
I will try posting more info as well. I know that mysql, gd, freetype,
zlib, libpng, libjpeg are installed but I don't remmeber the others.
------------------------------------------------------------------------
[2002-12-22 12:19:26] andrew at evilwalrus dot com
Works fine for me on WinXP SP1 with 4.4.0-dev (CVS).
------------------------------------------------------------------------
[2002-12-13 05:46:05] ljpersson at hotmail dot com
Same problem exists in 4.3.0RC3
------------------------------------------------------------------------
[2002-12-11 02:38:44] sniper@php.net
This happens also with the -s option. And with CGI binary too.
Basically the reason is that the -s / -w options use some hackish way
to accomplish the tasks. Which seems to work on some systems though..
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/20896
--
Edit this bug report at http://bugs.php.net/?id=20896&edit=1