Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19443 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80484 invoked by uid 1010); 6 Oct 2005 13:26:59 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 80468 invoked from network); 6 Oct 2005 13:26:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Oct 2005 13:26:59 -0000 X-Host-Fingerprint: 64.207.49.98 cbit-98.bullseye9.com Windows 2000 SP4, XP SP1 Received: from ([64.207.49.98:5149] helo=pearl.hq.booyahnetworks.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id F0/37-54476-22625434 for ; Thu, 06 Oct 2005 09:26:58 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Thu, 6 Oct 2005 07:25:45 -0600 Message-ID: <4E0C5C8E5F8C994F90134920DD66E93F011292EE@pearl.hq.booyahnetworks.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PHP-DEV] CLI in PHP6 thread-index: AcXKU0StyN4KJJw/RcycePE2l+KJAwAJS/Aw To: "Ron Korving" , Subject: RE: [PHP-DEV] CLI in PHP6 From: adove@booyahnetworks.com ("J. Allen Dove") 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).=20 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.=20 -- Allen -----Original Message----- From: Ron Korving [mailto:r.korving@xit.nl]=20 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 --=20 PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php