Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21771 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62521 invoked by uid 1010); 2 Feb 2006 20:35:08 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 62503 invoked from network); 2 Feb 2006 20:35:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Feb 2006 20:35:08 -0000 X-Host-Fingerprint: 129.41.69.185 smtp.dealnews.com Linux 2.5 (sometimes 2.4) (4) Received: from ([129.41.69.185:28964] helo=smtp.dealnews.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 2B/A5-20872-CFC62E34 for ; Thu, 02 Feb 2006 15:35:08 -0500 Received: (qmail 29474 invoked from network); 2 Feb 2006 15:35:04 -0500 Received: from unknown (HELO ?10.1.6.4?) (10.1.6.4) by 10.1.1.24 with SMTP; 2 Feb 2006 15:35:04 -0500 Message-ID: <43E26CF8.5090105@dealnews.com> Date: Thu, 02 Feb 2006 14:35:04 -0600 User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: Ilia Alshanetsky CC: php internals References: <43E25FEC.3020808@dealnews.com> <43E26C45.9020503@prohost.org> In-Reply-To: <43E26C45.9020503@prohost.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP, Apache 2, memory and APC From: brianm@dealnews.com (Brian Moon) Ilia Alshanetsky wrote: > Rather then terminating Apache request yourself, you can use universal > Apache configuration directives that allow you to restrict memory > utilization of an Apache process. Hmmm, the ones I looked at seemed to prohibit a process from growing above a certain size. Can you point me to them? I don't want to prohibit a process from using what it needs (to a point). I need simply need a child to terminate after it has gone above a certain threshold. We found that the norm for our applications was 10-15MB. Usage above that was the exception. Some applications (especially when they were generating cache that had gone stale) would need more for a brief period. I don't want to stop that. Brian.