#27943 [Com]: PHP FastCGI child exit and fork forever.

From: Date: Sat, 02 May 2009 15:21:06 +0000
Subject: #27943 [Com]: PHP FastCGI child exit and fork forever.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-136651@lists.php.net to get a copy of this message
ID: 27943 Comment by: evgeniy211 at svitonline dot com Reported By: progcom@php.net Status: No Feedback Bug Type: CGI related Operating System: FreeBSD 5.2.1 PHP Version: 5CVS-2004-04-10 (dev) New Comment: I'am have same bug Previous Comments: ------------------------------------------------------------------------ [2005-08-03 13:45:53] ppi at searchy dot net Same issue on FreeBSD 4.11 and PHP 5.0.4 Some output of an attached strace: <... fork resumed> ) = 64017 sigreturn(0xbfbffa80) = 64017 read(3, 0x863ef38, 128) = -1 EAGAIN (Resource temporarily unavailable) fcntl(0, F_SETFL, O_RDWR|O_NONBLOCK) = 0 fcntl(1, F_SETFL, O_WRONLY|O_NONBLOCK|O_APPEND) = 0 fcntl(2, F_SETFL, O_WRONLY|O_NONBLOCK|O_APPEND) = 0 wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 255], WNOHANG, NULL) = 64017 fork(strace: open("/proc/...", ...): No such file or directory ) = 64037 --- SIGCHLD (Child exited) --- --- SIGCHLD (Child exited) --- sigreturn(0xbfbffa80) = 64037 read(3, 0x863ef38, 128) = -1 EAGAIN (Resource temporarily unavailable) fcntl(0, F_SETFL, O_RDWR|O_NONBLOCK) = 0 fcntl(1, F_SETFL, O_WRONLY|O_NONBLOCK|O_APPEND) = 0 fcntl(2, F_SETFL, O_WRONLY|O_NONBLOCK|O_APPEND) = 0 wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 255], WNOHANG, NULL) = 64037 fork(strace: open("/proc/...", ...): No such file or directory ) = 64159 --- SIGCHLD (Child exited) --- --- SIGCHLD (Child exited) --- sigreturn(0xbfbffa80) = 64159 read(3, 0x863ef38, 128) = -1 EAGAIN (Resource temporarily unavailable) fcntl(0, F_SETFL, O_RDWR|O_NONBLOCK) = 0 fcntl(1, F_SETFL, O_WRONLY|O_NONBLOCK|O_APPEND) = 0 fcntl(2, F_SETFL, O_WRONLY|O_NONBLOCK|O_APPEND) = 0 wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 255], WNOHANG, NULL) = 64159 fork() = 64300 ------------------------------------------------------------------------ [2005-01-15 01:00:05] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2005-01-07 09:20:26] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php5-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.0-win32-latest.zip ------------------------------------------------------------------------ [2004-04-10 12:45:51] progcom@php.net Description: ------------ Somtimes, after PHP script running, preforked PHP child process exited, parent process fork new child, and new child process exit immediately, forever. When I compiled PHP with -enable-debug, error log says repeatly /path/to/php-src/main/main.c(1697) : Bailed out without a bailout address! I don't know how can I reproduce it, but it occurs even phpinfo() script. (Not occured on PHP 4.3 box, only PHP 5) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27943&edit=1

« previous php.bugs (#136651) next »