PHP 4.0 Bug #8143: system()'d programs become zombie processes when the script is aborted
| From: | david at acz dot org | Date: | Wed, 06 Dec 2000 21:41:38 +0000 |
| Subject: | PHP 4.0 Bug #8143: system()'d programs become zombie processes when the script is aborted | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-40259@lists.php.net to get a copy of this message | ||
From: david@acz.org
Operating system: Debian Linux 2.2.17
PHP version: 4.0.3pl1
PHP Bug Type: Program Execution
Bug description: system()'d programs become zombie processes when the script is aborted
PHP is running under Apache 1.3.14 as a loadable module. This bug also occurs under 4.0.4RC3 (from
Debian package "php4 4.0.4-0RC3.1").
A copy of the script where this bug was encountered is pasted below. The easiest way to duplicate
this bug is to request the page containing the code with a browser and refresh repeatedly (without
waiting for the page to fully load).
<?
system("uname -a");
echo "\n";
system("w");
echo "\n";
system("df -h");
echo "\n";
system("free -mt");
echo "\n";
system("ps acux");
echo "\n";
system("pstree -c");
?>
--
Edit Bug report at: http://bugs.php.net/?id=8143&edit=1