note 27749 added to function.pcntl-signal
| From: | amedici at etu dot info dot unicaen dot fr | Date: | Tue, 17 Dec 2002 17:40:55 +0000 |
| Subject: | note 27749 added to function.pcntl-signal | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-41024@lists.php.net to get a copy of this message | ||
Hi all,
I realize Deamon in stand alone php mode.
I put a signal handeling with SIGUSR1 signal
If this signal is catch, I quit my daemon script via exit function
It's works perfectly.
But If I let my daemon running for a night and if I send to it the SIGUSR1 nothing appends.
I decided to use SIGTERM insterad of SIGUSR1 and it fixed the matter but I don't know why I got
this strange behavior with SIGUSR1 ...
any Idear ???
regards and congratulation for this MaGiC Language ;-)
Alban Médici
--
http://www.php.net/manual/en/function.pcntl-signal.php
http://master.php.net/manage/user-notes.php?action=edit+27749
http://master.php.net/manage/user-notes.php?action=delete+27749
http://master.php.net/manage/user-notes.php?action=reject+27749