#20896 [Fbk->Csd]: php -w hangs indefinitely at 100% CPU
| From: | iliaa@php.net | Date: | Wed, 13 Aug 2003 01:30:46 +0000 |
| Subject: | #20896 [Fbk->Csd]: php -w hangs indefinitely at 100% CPU | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-45825@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: Feedback
+Status: Closed
Bug Type: CGI related
Operating System: SuSE 7.2
PHP Version: 4.3.3RC2-dev
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2003-08-12 19:56:23] iliaa@php.net
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
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
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