|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-11-23 10:16 UTC] jani@php.net
[2009-11-24 03:02 UTC] mg at fork dot pl
[2009-11-24 20:20 UTC] jani@php.net
[2009-11-24 22:00 UTC] mg at fork dot pl
[2009-11-25 13:17 UTC] jani@php.net
[2009-11-25 23:04 UTC] mg at fork dot pl
[2009-11-27 11:14 UTC] jani@php.net
[2009-12-05 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 23 14:00:02 2025 UTC |
Description: ------------ fast-cgi php process loops forever during wait()ing for child process while there's no more child processes. Actual result: -------------- in cgi_main.c there's loop: 1631 while (1) { 1632 if (wait(&status) >= 0) { 1633 running--; 1634 break; 1635 } else if (exit_signal) { 1636 break; 1637 } 1638 } wait returns -1 as strace shows: wait4(-1, 0xbff2d2a4, 0, NULL) = -1 ECHILD (No child processes) and loop never breaks (as apparently exit_signal is set to 0).