Steve wrote: > I have a program which creates a lot of children over the time, which > terminate themselves after they are finished. > > After some time however, the parent process hangs; apparently in > pcntl_fork(). The child from this fork, however, seems to run normally. > An strace on the parent shows "futex(0x471cb0, FUTEX_WAIT, 2, NULL" > > The program runs on PHP 5.0.3-cli and Linux 2.6. > > Has anyone an idea what could be the reason for that hang? Didja try: http://www.google.com/search?q=FUTEX_WAIT I did and got: http://lists.boost.org/MailArchives/boost-users/msg07650.php So I'm guessing you didn't compile *everything* on your PHP/Apache system with multi-thread support. -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php