php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45561 PHP-5.2.6 + Mod_FastCGI-2.4.6 + Suexec Apache 2.2.9 causes hangs/error 500
Submitted: 2008-07-19 04:27 UTC Modified: 2008-07-21 15:26 UTC
From: jamesslee at hotmail dot com Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 5.2.6 OS: centos-5
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jamesslee at hotmail dot com
New email:
PHP Version: OS:

 

 [2008-07-19 04:27 UTC] jamesslee at hotmail dot com
Description:
------------
PHP5 compiled with:
./configure --prefix=/usr/local/php5 --enable-fastcgi --enable-force-cgi-redirect

Basically, I am using Apache2 Suexec with mod_fastcgi using PHP 5.2.6 as a cli.  I am using the same apache directives and same fcgi script (the only difference is that one points to the php4 binary vs php5 vinary).  This setup works with PHP-4.4.8, but not with PHP-5.2.6.

When I try to view test.php5 via the web browser, it just hangs until I get the 500 error.



Reproduce code:
---------------
test.php5:
<? phpinfo(); ?>

Expected result:
----------------
I expect to see the results of the phpinfo function.

Actual result:
--------------
test.php5 hangs in the browser.  The following logs are produced:

access.log:
X.X.X.X - - [19/Jul/2008:00:17:27 -0400] "GET /test.php5 HTTP/1.1" 500 545

error.log:
[Sat Jul 19 00:17:32 2008] [warn] FastCGI: (dynamic) server "/home/foo/domains/foo.com/cgi-bin/php5.fcgi" restarted (pid 3048)
[Sat Jul 19 00:17:32 2008] [warn] FastCGI: (dynamic) server "/home/foo/domains/foo.com/cgi-bin/php5.fcgi" (pid 3048) terminated by calling exit with status '0'
[Sat Jul 19 00:17:35 2008] [error] [client X.X.X.X] (104)Connection reset by peer: FastCGI: comm with server "/home/foo/domains/foo.com/cgi-bin/php5.fcgi" aborted: read failed
[Sat Jul 19 00:17:35 2008] [error] [client X.X.X.X] FastCGI: incomplete headers (0 bytes) received from server "/home/foo/domains/foo.com/cgi-bin/php5.fcgi"

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-07-20 11:06 UTC] jani@php.net
You're propably using the php.ini from that php4 installation?
I'd first nuke that and create totally new using the php.ini-dist or preferrably php.ini-recommended file from the PHP 5.2.6 sources as base. 
 [2008-07-20 17:08 UTC] jamesslee at hotmail dot com
i tried that already. i also tried to just remove the php.ini and I still get the same result.
 [2008-07-20 17:14 UTC] jamesslee at hotmail dot com
strace of fcgi... hmmm maybe its a fastcgi problem and not a php-5 problem?

Process 12035 attached - interrupt to quit
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
rt_sigreturn(0xe)                       = -1 EINTR (Interrupted system call)
alarm(0)                                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b0af2e1c190) = 12285
write(2, "[Sun Jul 20 13:17:35 2008] [warn"..., 98) = 98
alarm(1)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11)                      = -1 EINTR (Interrupted system call)
alarm(0)                                = 1
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 12285
write(2, "[Sun Jul 20 13:17:35 2008] [warn"..., 131) = 131
wait4(-1, 0x7fffb879f30c, WNOHANG, NULL) = -1 ECHILD (No child processes)
alarm(1)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
rt_sigreturn(0xe)                       = -1 EINTR (Interrupted system call)
alarm(0)                                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b0af2e1c190) = 12286
write(2, "[Sun Jul 20 13:17:36 2008] [warn"..., 138) = 138
alarm(4)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11)                      = -1 EINTR (Interrupted system call)
alarm(0)                                = 4
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 12286
write(2, "[Sun Jul 20 13:17:37 2008] [warn"..., 171) = 171
wait4(-1, 0x7fffb879f30c, WNOHANG, NULL) = -1 ECHILD (No child processes)
alarm(2)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
rt_sigreturn(0xe)                       = -1 EINTR (Interrupted system call)
alarm(0)                                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b0af2e1c190) = 12287
write(2, "[Sun Jul 20 13:17:39 2008] [warn"..., 138) = 138
alarm(1)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11)                      = -1 EINTR (Interrupted system call)
alarm(0)                                = 1
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 12287
write(2, "[Sun Jul 20 13:17:39 2008] [warn"..., 171) = 171
wait4(-1, 0x7fffb879f30c, WNOHANG, NULL) = -1 ECHILD (No child processes)
alarm(1)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
rt_sigreturn(0xe)                       = -1 EINTR (Interrupted system call)
alarm(0)                                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b0af2e1c190) = 12288
write(2, "[Sun Jul 20 13:17:40 2008] [warn"..., 98) = 98
alarm(2)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11)                      = -1 EINTR (Interrupted system call)
alarm(0)                                = 2
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 12288
write(2, "[Sun Jul 20 13:17:40 2008] [warn"..., 131) = 131
wait4(-1, 0x7fffb879f30c, WNOHANG, NULL) = -1 ECHILD (No child processes)
alarm(2)                                = 0
select(9, [8], NULL, NULL, NULL)        = 1 (in [8])
alarm(0)                                = 2
read(8, "T /home/foo/domains/foo"..., 16384) = 60
alarm(2)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
rt_sigreturn(0xe)                       = -1 EINTR (Interrupted system call)
alarm(0)                                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b0af2e1c190) = 12289
write(2, "[Sun Jul 20 13:17:42 2008] [warn"..., 138) = 138
alarm(3)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11)                      = -1 EINTR (Interrupted system call)
alarm(0)                                = 3
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 12289
write(2, "[Sun Jul 20 13:17:42 2008] [warn"..., 171) = 171
wait4(-1, 0x7fffb879f30c, WNOHANG, NULL) = -1 ECHILD (No child processes)
alarm(3)                                = 0
select(9, [8], NULL, NULL, NULL)        = 1 (in [8])
alarm(0)                                = 2
read(8, "T /home/foo/domains/foo"..., 16384) = 60
alarm(2)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
rt_sigreturn(0xe)                       = -1 EINTR (Interrupted system call)
alarm(0)                                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b0af2e1c190) = 12290
write(2, "[Sun Jul 20 13:17:45 2008] [warn"..., 138) = 138
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b0af2e1c190) = 12291
write(2, "[Sun Jul 20 13:17:45 2008] [warn"..., 98) = 98
alarm(10)                               = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11)                      = -1 EINTR (Interrupted system call)
alarm(0)                                = 10
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 12291
write(2, "[Sun Jul 20 13:17:45 2008] [warn"..., 131) = 131
wait4(-1, 0x7fffb879f30c, WNOHANG, NULL) = 0
alarm(5)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11)                      = -1 EINTR (Interrupted system call)
alarm(0)                                = 5
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 12290
write(2, "[Sun Jul 20 13:17:45 2008] [warn"..., 171) = 171
wait4(-1, 0x7fffb879f30c, WNOHANG, NULL) = -1 ECHILD (No child processes)
alarm(3)                                = 0
select(9, [8], NULL, NULL, NULL)        = 1 (in [8])
alarm(0)                                = 2
read(8, "T /home/foo/domains/foo"..., 16384) = 60
alarm(2)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
rt_sigreturn(0xe)                       = -1 EINTR (Interrupted system call)
alarm(0)                                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b0af2e1c190) = 12292
write(2, "[Sun Jul 20 13:17:48 2008] [warn"..., 138) = 138
alarm(2)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11)                      = -1 EINTR (Interrupted system call)
alarm(0)                                = 2
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 12292
write(2, "[Sun Jul 20 13:17:48 2008] [warn"..., 171) = 171
wait4(-1, 0x7fffb879f30c, WNOHANG, NULL) = -1 ECHILD (No child processes)
alarm(2)                                = 0
select(9, [8], NULL, NULL, NULL)        = 1 (in [8])
alarm(0)                                = 1
read(8, "T /home/foo/domains/foo"..., 16384) = 60
alarm(1)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
rt_sigreturn(0xe)                       = -1 EINTR (Interrupted system call)
alarm(0)                                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b0af2e1c190) = 12293
write(2, "[Sun Jul 20 13:17:50 2008] [warn"..., 98) = 98
alarm(1)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11)                      = -1 EINTR (Interrupted system call)
alarm(0)                                = 1
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 12293
write(2, "[Sun Jul 20 13:17:50 2008] [warn"..., 131) = 131
wait4(-1, 0x7fffb879f30c, WNOHANG, NULL) = -1 ECHILD (No child processes)
alarm(1)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
rt_sigreturn(0xe)                       = -1 EINTR (Interrupted system call)
alarm(0)                                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b0af2e1c190) = 12294
write(2, "[Sun Jul 20 13:17:51 2008] [warn"..., 138) = 138
alarm(4)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11)                      = -1 EINTR (Interrupted system call)
alarm(0)                                = 4
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 12294
write(2, "[Sun Jul 20 13:17:51 2008] [warn"..., 171) = 171
wait4(-1, 0x7fffb879f30c, WNOHANG, NULL) = -1 ECHILD (No child processes)
alarm(3)                                = 0
select(9, [8], NULL, NULL, NULL)        = 1 (in [8])
alarm(0)                                = 2
read(8, "T /home/foo/domains/foo"..., 16384) = 60
alarm(2)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
rt_sigreturn(0xe)                       = -1 EINTR (Interrupted system call)
alarm(0)                                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b0af2e1c190) = 12295
write(2, "[Sun Jul 20 13:17:54 2008] [warn"..., 138) = 138
alarm(1)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11)                      = -1 EINTR (Interrupted system call)
alarm(0)                                = 1
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 12295
write(2, "[Sun Jul 20 13:17:54 2008] [warn"..., 171) = 171
wait4(-1, 0x7fffb879f30c, WNOHANG, NULL) = -1 ECHILD (No child processes)
alarm(1)                                = 0
select(9, [8], NULL, NULL, NULL)        = 1 (in [8])
alarm(0)                                = 1
read(8, "T /home/foo/domains/foo"..., 16384) = 60
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b0af2e1c190) = 12296
write(2, "[Sun Jul 20 13:17:55 2008] [warn"..., 98) = 98
alarm(1)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11)                      = -1 EINTR (Interrupted system call)
alarm(0)                                = 1
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 12296
write(2, "[Sun Jul 20 13:17:55 2008] [warn"..., 131) = 131
wait4(-1, 0x7fffb879f30c, WNOHANG, NULL) = -1 ECHILD (No child processes)
alarm(1)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
rt_sigreturn(0xe)                       = -1 EINTR (Interrupted system call)
alarm(0)                                = 0
alarm(1)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
rt_sigreturn(0xe)                       = -1 EINTR (Interrupted system call)
alarm(0)                                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b0af2e1c190) = 12297
write(2, "[Sun Jul 20 13:17:57 2008] [warn"..., 138) = 138
alarm(3)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11)                      = -1 EINTR (Interrupted system call)
alarm(0)                                = 3
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 12297
write(2, "[Sun Jul 20 13:17:57 2008] [warn"..., 171) = 171
wait4(-1, 0x7fffb879f30c, WNOHANG, NULL) = -1 ECHILD (No child processes)
alarm(3)                                = 0
select(9, [8], NULL, NULL, NULL)        = 1 (in [8])
alarm(0)                                = 2
read(8, "T /home/foo/domains/foo"..., 16384) = 60
alarm(2)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
rt_sigreturn(0xe)                       = -1 EINTR (Interrupted system call)
alarm(0)                                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b0af2e1c190) = 12298
write(2, "[Sun Jul 20 13:18:00 2008] [warn"..., 138) = 138
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b0af2e1c190) = 12299
write(2, "[Sun Jul 20 13:18:00 2008] [warn"..., 98) = 98
alarm(10)                               = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11)                      = -1 EINTR (Interrupted system call)
alarm(0)                                = 10
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 12298
write(2, "[Sun Jul 20 13:18:00 2008] [warn"..., 171) = 171
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 12299
write(2, "[Sun Jul 20 13:18:00 2008] [warn"..., 131) = 131
wait4(-1, 0x7fffb879f30c, WNOHANG, NULL) = -1 ECHILD (No child processes)
alarm(3)                                = 0
select(9, [8], NULL, NULL, NULL)        = 1 (in [8])
alarm(0)                                = 2
read(8, "T /home/foo/domains/foo"..., 16384) = 60
alarm(2)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
rt_sigreturn(0xe)                       = -1 EINTR (Interrupted system call)
alarm(0)                                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b0af2e1c190) = 12300
write(2, "[Sun Jul 20 13:18:03 2008] [warn"..., 138) = 138
alarm(2)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11)                      = -1 EINTR (Interrupted system call)
alarm(0)                                = 2
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 12300
write(2, "[Sun Jul 20 13:18:03 2008] [warn"..., 171) = 171
wait4(-1, 0x7fffb879f30c, WNOHANG, NULL) = -1 ECHILD (No child processes)
alarm(2)                                = 0
select(9, [8], NULL, NULL, NULL)        = 1 (in [8])
alarm(0)                                = 1
read(8, "T /home/foo/domains/foo"..., 16384) = 60
alarm(1)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
rt_sigreturn(0xe)                       = -1 EINTR (Interrupted system call)
alarm(0)                                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b0af2e1c190) = 12301
write(2, "[Sun Jul 20 13:18:05 2008] [warn"..., 98) = 98
alarm(1)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11)                      = -1 EINTR (Interrupted system call)
alarm(0)                                = 1
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 12301
write(2, "[Sun Jul 20 13:18:05 2008] [warn"..., 131) = 131
wait4(-1, 0x7fffb879f30c, WNOHANG, NULL) = -1 ECHILD (No child processes)
alarm(1)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
rt_sigreturn(0xe)                       = -1 EINTR (Interrupted system call)
alarm(0)                                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b0af2e1c190) = 12302
write(2, "[Sun Jul 20 13:18:06 2008] [warn"..., 138) = 138
alarm(4)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11)                      = -1 EINTR (Interrupted system call)
alarm(0)                                = 4
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 12302
write(2, "[Sun Jul 20 13:18:06 2008] [warn"..., 171) = 171
wait4(-1, 0x7fffb879f30c, WNOHANG, NULL) = -1 ECHILD (No child processes)
alarm(3)                                = 0
select(9, [8], NULL, NULL, NULL)        = 1 (in [8])
alarm(0)                                = 2
read(8, "T /home/foo/domains/foo"..., 16384) = 60
alarm(2)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
rt_sigreturn(0xe)                       = -1 EINTR (Interrupted system call)
alarm(0)                                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b0af2e1c190) = 12303
write(2, "[Sun Jul 20 13:18:09 2008] [warn"..., 138) = 138
alarm(1)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11)                      = -1 EINTR (Interrupted system call)
alarm(0)                                = 1
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 12303
write(2, "[Sun Jul 20 13:18:09 2008] [warn"..., 171) = 171
wait4(-1, 0x7fffb879f30c, WNOHANG, NULL) = -1 ECHILD (No child processes)
alarm(1)                                = 0
select(9, [8], NULL, NULL, NULL)        = 1 (in [8])
alarm(0)                                = 1
read(8, "T /home/foo/domains/foo"..., 16384) = 60
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b0af2e1c190) = 12304
write(2, "[Sun Jul 20 13:18:10 2008] [warn"..., 98) = 98
alarm(1)                                = 0
select(9, [8], NULL, NULL, NULL)        = 1 (in [8])
alarm(0)                                = 1
read(8, "T /home/foo/domains/foo"..., 16384) = 60
alarm(1)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11)                      = -1 EINTR (Interrupted system call)
alarm(0)                                = 1
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 12304
write(2, "[Sun Jul 20 13:18:10 2008] [warn"..., 131) = 131
wait4(-1, 0x7fffb879f30c, WNOHANG, NULL) = -1 ECHILD (No child processes)
alarm(1)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
rt_sigreturn(0xe)                       = -1 EINTR (Interrupted system call)
alarm(0)                                = 0
alarm(1)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
rt_sigreturn(0xe)                       = -1 EINTR (Interrupted system call)
alarm(0)                                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b0af2e1c190) = 12306
write(2, "[Sun Jul 20 13:18:12 2008] [warn"..., 138) = 138
alarm(3)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11)                      = -1 EINTR (Interrupted system call)
alarm(0)                                = 3
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 12306
write(2, "[Sun Jul 20 13:18:12 2008] [warn"..., 171) = 171
wait4(-1, 0x7fffb879f30c, WNOHANG, NULL) = -1 ECHILD (No child processes)
alarm(3)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
rt_sigreturn(0xe)                       = -1 EINTR (Interrupted system call)
alarm(0)                                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b0af2e1c190) = 12307
write(2, "[Sun Jul 20 13:18:15 2008] [warn"..., 138) = 138
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b0af2e1c190) = 12308
write(2, "[Sun Jul 20 13:18:15 2008] [warn"..., 98) = 98
alarm(10)                               = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11)                      = -1 EINTR (Interrupted system call)
alarm(0)                                = 10
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 12308
write(2, "[Sun Jul 20 13:18:15 2008] [warn"..., 131) = 131
wait4(-1, 0x7fffb879f30c, WNOHANG, NULL) = 0
alarm(5)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11)                      = -1 EINTR (Interrupted system call)
alarm(0)                                = 5
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 12307
write(2, "[Sun Jul 20 13:18:15 2008] [warn"..., 171) = 171
wait4(-1, 0x7fffb879f30c, WNOHANG, NULL) = -1 ECHILD (No child processes)
alarm(3)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
rt_sigreturn(0xe)                       = -1 EINTR (Interrupted system call)
alarm(0)                                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b0af2e1c190) = 12309
write(2, "[Sun Jul 20 13:18:18 2008] [warn"..., 138) = 138
alarm(2)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11)                      = -1 EINTR (Interrupted system call)
alarm(0)                                = 2
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 12309
write(2, "[Sun Jul 20 13:18:18 2008] [warn"..., 171) = 171
wait4(-1, 0x7fffb879f30c, WNOHANG, NULL) = -1 ECHILD (No child processes)
alarm(2)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
rt_sigreturn(0xe)                       = -1 EINTR (Interrupted system call)
alarm(0)                                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b0af2e1c190) = 12310
write(2, "[Sun Jul 20 13:18:20 2008] [warn"..., 98) = 98
alarm(1)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11)                      = -1 EINTR (Interrupted system call)
alarm(0)                                = 1
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 12310
write(2, "[Sun Jul 20 13:18:20 2008] [warn"..., 131) = 131
wait4(-1, 0x7fffb879f30c, WNOHANG, NULL) = -1 ECHILD (No child processes)
alarm(1)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
rt_sigreturn(0xe)                       = -1 EINTR (Interrupted system call)
alarm(0)                                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b0af2e1c190) = 12311
write(2, "[Sun Jul 20 13:18:21 2008] [warn"..., 138) = 138
alarm(4)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11)                      = -1 EINTR (Interrupted system call)
alarm(0)                                = 4
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 12311
write(2, "[Sun Jul 20 13:18:21 2008] [warn"..., 171) = 171
wait4(-1, 0x7fffb879f30c, WNOHANG, NULL) = -1 ECHILD (No child processes)
alarm(3)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
rt_sigreturn(0xe)                       = -1 EINTR (Interrupted system call)
alarm(0)                                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b0af2e1c190) = 12312
write(2, "[Sun Jul 20 13:18:24 2008] [warn"..., 138) = 138
alarm(1)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11)                      = -1 EINTR (Interrupted system call)
alarm(0)                                = 1
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 12312
write(2, "[Sun Jul 20 13:18:24 2008] [warn"..., 171) = 171
wait4(-1, 0x7fffb879f30c, WNOHANG, NULL) = -1 ECHILD (No child processes)
alarm(1)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
rt_sigreturn(0xe)                       = -1 EINTR (Interrupted system call)
alarm(0)                                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b0af2e1c190) = 12313
write(2, "[Sun Jul 20 13:18:25 2008] [warn"..., 98) = 98
alarm(2)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11)                      = -1 EINTR (Interrupted system call)
alarm(0)                                = 2
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 12313
write(2, "[Sun Jul 20 13:18:25 2008] [warn"..., 131) = 131
wait4(-1, 0x7fffb879f30c, WNOHANG, NULL) = -1 ECHILD (No child processes)
alarm(2)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
rt_sigreturn(0xe)                       = -1 EINTR (Interrupted system call)
alarm(0)                                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b0af2e1c190) = 12314
write(2, "[Sun Jul 20 13:18:27 2008] [warn"..., 138) = 138
alarm(3)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11)                      = -1 EINTR (Interrupted system call)
alarm(0)                                = 3
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 12314
write(2, "[Sun Jul 20 13:18:27 2008] [warn"..., 171) = 171
wait4(-1, 0x7fffb879f30c, WNOHANG, NULL) = -1 ECHILD (No child processes)
alarm(3)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGALRM (Alarm clock) @ 0 (0) ---
rt_sigreturn(0xe)                       = -1 EINTR (Interrupted system call)
alarm(0)                                = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b0af2e1c190) = 12315
write(2, "[Sun Jul 20 13:18:30 2008] [warn"..., 138) = 138
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x2b0af2e1c190) = 12316
write(2, "[Sun Jul 20 13:18:30 2008] [warn"..., 98) = 98
alarm(10)                               = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11)                      = -1 EINTR (Interrupted system call)
alarm(0)                                = 10
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 12316
write(2, "[Sun Jul 20 13:18:30 2008] [warn"..., 131) = 131
wait4(-1, 0x7fffb879f30c, WNOHANG, NULL) = 0
alarm(5)                                = 0
select(9, [8], NULL, NULL, NULL)        = ? ERESTARTNOHAND (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
rt_sigreturn(0x11)                      = -1 EINTR (Interrupted system call)
alarm(0)                                = 5
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 12315
write(2, "[Sun Jul 20 13:18:30 2008] [warn"..., 171) = 171
wait4(-1, 0x7fffb879f30c, WNOHANG, NULL) = -1 ECHILD (No child processes)
alarm(3)                                = 0
select(9, [8], NULL, NULL, NULL <unfinished ...>
Process 12035 detached
 [2008-07-21 06:54 UTC] jani@php.net
Looks like you just have misconfigured your fastcgi. Not PHP bug -> bogus.
 [2008-07-21 15:26 UTC] jamesslee at hotmail dot com
my fastcgi is not misconfigured. if you read through this ticket, i stated i am using the exact same setup with php-4 and it is working. it just does not work with php-5.  my guess is that fastcgi may not work with the latest version of php-5 for whatever reason.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 02:01:28 2024 UTC