Try calling pcntl_waitpid() to clear out zombies. 

You could also try recompiling with --enable-sigchild if you haven't
already.

J

Daniel Souza wrote:

> 
> well... playing with fork() in a phpcli script, i got some troubles with
> childs... anybody knows how to dont get zombies/defuncts with SIGCHLD and
> SIGCLD ignoring ? dont worked for me =/
> 
> i dont want to know how many childs are running, or if they terminated or
> not... i want only to make childs :D
> ignoring SIGCHLD in perl works finely... is there anything about the
> "phped-layer" to syscalls access ? duh..
> 
> comments are welcome =)
> 
> []'s
> Daniel Souza
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to