note 35440 added to ref.pcntl
| From: | schst@php.net | Date: | Mon, 01 Sep 2003 12:39:33 +0000 |
| Subject: | note 35440 added to ref.pcntl | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-55401@lists.php.net to get a copy of this message | ||
To get rid of the zombies when child processes terminate you do not have to write a lot of code that
uses complex stuff like message queues.
Instead you only set a signal handler:
pcntl_signal(SIGCHLD, SIG_IGN);
Stephan
----
Manual Page -- http://www.php.net/manual/en/ref.pcntl.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35440
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35440&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35440&report=yes