Re: [PHP] pcntl_fork() hangs with FUTEX_WAIT

2005-02-17 Thread Richard Lynch
Steve wrote: > > Well, but I don't use multithreading? PHP is running as CLI exec, not > compiled into Apache... > > That's my configure command: > ./configure --enable-pcntl --with-curl --with-mysql > > Or do I have to care for thread safety anyway? For all I know (not much) --enable-pcntl may i

Re: [PHP] pcntl_fork() hangs with FUTEX_WAIT

2005-02-17 Thread Steve
Well, but I don't use multithreading? PHP is running as CLI exec, not compiled into Apache... That's my configure command: ./configure --enable-pcntl --with-curl --with-mysql Or do I have to care for thread safety anyway? Regards, Steve Richard Lynch wrote: Steve wrote: I have a program which c

Re: [PHP] pcntl_fork() hangs with FUTEX_WAIT

2005-02-16 Thread Richard Lynch
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 pare

[PHP] pcntl_fork() hangs with FUTEX_WAIT

2005-02-16 Thread Steve
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(0x471