Re: pcntl_fork() under linux with phpcli

From: Date: Fri, 19 Sep 2003 14:50:26 +0000
Subject: Re: pcntl_fork() under linux with phpcli
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-163146@lists.php.net to get a copy of this message
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 >

« previous php.general (#163146) next »