Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 19569 invoked from network); 28 Feb 2006 23:37:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Feb 2006 23:37:25 -0000 Received: (qmail 2237 invoked by uid 500); 28 Feb 2006 23:37:17 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 2219 invoked by uid 500); 28 Feb 2006 23:37:16 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 2207 invoked by uid 99); 28 Feb 2006 23:37:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Feb 2006 15:37:16 -0800 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,MSGID_FROM_MTA_HEADER,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of khai_quyen@hotmail.com designates 65.54.174.33 as permitted sender) Received: from [65.54.174.33] (HELO hotmail.com) (65.54.174.33) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Feb 2006 15:37:15 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 28 Feb 2006 15:36:55 -0800 Message-ID: Received: from 65.54.174.200 by by103fd.bay103.hotmail.msn.com with HTTP; Tue, 28 Feb 2006 23:36:55 GMT X-Originating-IP: [70.141.58.2] X-Originating-Email: [khai_quyen@hotmail.com] X-Sender: khai_quyen@hotmail.com From: "Khai Doan" To: users@httpd.apache.org Date: Tue, 28 Feb 2006 15:36:55 -0800 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 28 Feb 2006 23:36:55.0386 (UTC) FILETIME=[DBFD2BA0:01C63CBF] X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] How to limit the size of each apache child process X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi list, I am running apache 2 using prefork model, and wish to limit the size of each apache process. After a request, it should check its size, and if exceed a certain threshold, terminate itself. I have looked at RLimitMEM directive, but it says that this directive only apply to subprocess (CGI) launch by apache child, and not the apache child itself. So, how can I do this without using mod_perl ? Thanks Khai --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org