note 28160 added to ref.sockets
| From: | talmage at usi-rpg dot com | Date: | Sat, 04 Jan 2003 06:02:01 +0000 |
| Subject: | note 28160 added to ref.sockets | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-41648@lists.php.net to get a copy of this message | ||
I have spent the past two days ripping out hair trying to figure out how to prevent zombie processes
w/the examples above and I just happend to find this in the manual for another lanuage, felt it
neccassry to port it here.
--begin copy--
van[at]webfreshener[dot]com
11-Oct-2002 02:53
Forking your PHP daemon will cause it to zombie on exit.
...or so I've seen on:
FreeBSD (PHP4.2.x)
Debian (PHP4.3.0-dev)
Darwin (PHP4.3.0-dev)
This was tested with the example code above and other scripts created for evaluation.
Seems adding <b>--enable-sigchild</b> to your configure will get rid of the problem.
Hope that saves some hair tearing :]
--end copy--
Thanks vam@wenfreshener.com !!!!
--
http://www.php.net/manual/en/ref.sockets.php
http://master.php.net/manage/user-notes.php?action=edit+28160
http://master.php.net/manage/user-notes.php?action=delete+28160
http://master.php.net/manage/user-notes.php?action=reject+28160