Re: PHP daemons

From: Date: Tue, 16 May 2006 13:42:50 +0000
Subject: Re: PHP daemons
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-236276@lists.php.net to get a copy of this message
Well, by looking into my cristal ball I think your problem lies at line 12 of file x.php for sure!! It's probably the I_have_not_seen_any_code_at_all("so I can't tell you anything about it") function there. goodluck! - tul Martin Marques wrote:
I've been using PHP for a while with a daemon I made a few years ago, which is in use, working great. I used the example that's in the docs: http://www.php.net/manual/en/ref.sockets.php A few months ago I started to make a new daemon for other purposes, and I decided to build some objects to make it OOP. This small server is almost fully functional, but I got into a small problem: I can't kill the daemon like I used to with the other daemon. I just won't die, unless I get the pid and send a SIGKILL to the pid. Both servers are runned executing the PHP script, which has in the first line: #!/usr/bin/php In the first daemon all I have to do to kill it is execute a pkill server_name. But with the new daemon (the object orientaded one) it doesn't die. Any ideas on why? -- 21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18 ---------------------------------------------------------
Lic. Martín Marqués         |   SELECT 'mmarques' || Centro de Telemática        |       '@' || 'unl.edu.ar';
Universidad Nacional        |   DBA, Programador,
    del Litoral             |   Administrador
------------------------------------------------------- --


« previous php.general (#236276) next »