Return-Path: Delivered-To: apmail-perl-dev-archive@www.apache.org Received: (qmail 45548 invoked from network); 18 Mar 2006 19:24:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Mar 2006 19:24:30 -0000 Received: (qmail 89834 invoked by uid 500); 18 Mar 2006 19:24:24 -0000 Delivered-To: apmail-perl-dev-archive@perl.apache.org Received: (qmail 89783 invoked by uid 500); 18 Mar 2006 19:24:23 -0000 Mailing-List: contact dev-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@perl.apache.org Received: (qmail 89771 invoked by uid 99); 18 Mar 2006 19:24:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Mar 2006 11:24:23 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [66.77.29.165] (HELO secure.exclamationlabs.net) (66.77.29.165) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Mar 2006 11:24:22 -0800 Received: from [192.168.2.160] (c-69-141-1-101.hsd1.pa.comcast.net [69.141.1.101]) (authenticated (0 bits)) by secure.exclamationlabs.net (8.11.6/8.11.6) with ESMTP id k2IJO4d17210 for ; Sat, 18 Mar 2006 13:24:04 -0600 Message-ID: <441C5E50.70203@modperlcookbook.org> Date: Sat, 18 Mar 2006 14:24:00 -0500 From: Geoffrey Young User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040927 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@perl.apache.org Subject: [Fwd: [rt.cpan.org #18230] Apache::SizeLimit (shared mem pages) broken for bsd systems] X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N -------- Original Message -------- Subject: [rt.cpan.org #18230] Apache::SizeLimit (shared mem pages) broken for bsd systems Date: Sat, 18 Mar 2006 10:46:46 -0500 (EST) From: Guest via RT Reply-To: bug-mod_perl@rt.cpan.org To: undisclosed-recipients:; References: Sat Mar 18 10:46:44 2006: Request 18230 was acted upon. Transaction: Ticket created by guest Queue: mod_perl Subject: Apache::SizeLimit (shared mem pages) broken for bsd systems Owner: Nobody Requestors: martin@hybyte.com Status: new Ticket ApacheSizeLimit on bsd systems uses BSD::Resource to get the memory and shared-pages size. > sub bsd_size_check { > return (&BSD::Resource::getrusage())[2,3]; > } this are (see BSD::Resource perldoc) > 2 maxrss maximum shared memory or current resident set > 3 ixrss integral shared memory maxrss is in KB, but ixrss is not ApacheSizelimit incurrectly assumes ixrss to be in KB --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org For additional commands, e-mail: dev-help@perl.apache.org