> FWIW
A lot :) Thanks for the response. It's good to see it is possible.

> However, a process running for a long time (yes, even on
> Linux) will also just "die" for no reason. We have a few hints as to
> what causes the deaths but don't know what causes the cause. To solve
> the problem we created a daemon class that has a lifetime and can make
> itself "eternal" if desired. The net effect is a stable daemon(s).

Could you get into a little more detail? I don't quite understand what you
mean by this daemon class that can make itself "eternal" and how this can
turn the situation stable.

Thanks,

Ron




""J. Allen Dove"" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]
FWIW, we have been running a number of very high-volume PHP CLI daemons
for the last 18-20 months with great success. That is not to say it
wasn't a challenge to get them as "stable" as a C++ daemon but we have.
PHP 4.x CLI seemed to have a mem leak somewhere, PHP 5.x seems to have
resolved that. However, a process running for a long time (yes, even on
Linux) will also just "die" for no reason. We have a few hints as to
what causes the deaths but don't know what causes the cause. To solve
the problem we created a daemon class that has a lifetime and can make
itself "eternal" if desired. The net effect is a stable daemon(s).

We currently process 65-70MM transactions a day with our PHP-based
daemons. We chose to try using PHP to share business logic and it paid
off.

-- Allen

-----Original Message-----
From: Ron Korving [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 06, 2005 2:49 AM
To: internals@lists.php.net
Subject: [PHP-DEV] CLI in PHP6

Hi,

There was once (can't remember when exactly, so it must be a long time
ago)
here on PHP CLI scripts in which it came forward that one should not
rely on
such a script to run forever. And it's true; the scripts sometimes
magically
and suddenly die. Now I have no clue where this instability (for lack of
a
better word) comes from, but could it be possible for this to be
resolved
for PHP6 so that PHP becomes an extremely viable solution for CLI daemon
scripts?

Thanks,

Ron Korving

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to