Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 94212 invoked from network); 11 Apr 2011 01:25:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Apr 2011 01:25:19 -0000 Received: (qmail 51385 invoked by uid 500); 11 Apr 2011 01:25:16 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 51342 invoked by uid 500); 11 Apr 2011 01:25:16 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 51335 invoked by uid 99); 11 Apr 2011 01:25:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 01:25:16 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pc88mxer@gmail.com designates 209.85.218.49 as permitted sender) Received: from [209.85.218.49] (HELO mail-yi0-f49.google.com) (209.85.218.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2011 01:25:11 +0000 Received: by yic15 with SMTP id 15so3061107yic.22 for ; Sun, 10 Apr 2011 18:24:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=DFAu7okFkCV1BjXU/SxH4ZW/GxE5aZxS+XgZBMXbIoU=; b=p4WpymFdChE8D2K0z4KcfImJ5rdWqXEMmitORKyS5wKBYDeEh+5WT7K16YrPDOViPo lgY30deNHk5mWoUWS/RSs2Y7tKUTArogiBTXAjZ1pfhOj66KfOOKFvbxqBDSFheJ9JTc wfCPiarRI+WyrX8IeBlO9J4ZDc9JEkTXGUby8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=T+CrsQ7PXZQSrjofAVysMvrBPaKI/ABuMMyHDfKEfZojbN7d2cIBbeDvPA2aakxm3g 8xgM+0REmOMuZCbQ5b4vTuNbexUIz7QB4jdJmmadcY+jH8omwSvWE9WV7/wCfwl3IuuL 5igUfoqteHGm4/Smy25x1c79kLnXQ4oAuW/dI= MIME-Version: 1.0 Received: by 10.101.26.27 with SMTP id d27mr3151848anj.24.1302485090315; Sun, 10 Apr 2011 18:24:50 -0700 (PDT) Received: by 10.100.33.7 with HTTP; Sun, 10 Apr 2011 18:24:50 -0700 (PDT) Date: Sun, 10 Apr 2011 20:24:50 -0500 Message-ID: Subject: Apache2::SizeLimit and x64_86 From: E R To: modperl Content-Type: text/plain; charset=ISO-8859-1 Hi all, On x86_64 I noticed that perl .so files (XS modules) appear to use a lot more memory than they do on 32-bit architectures. In particular, /proc/$$/smaps reports a ~ 2MB segment associated with the .so library that is not reported in the 32-bit case. For more details, see my posting to the Centos mailing list: http://lists.centos.org/pipermail/centos/2011-April/109530.html My questions are: - Does this represent real (physical) memory usage? - Apache2::SizeLimit seems to be including these segments in its size calculation. Is there a way to have Apache2::SizeLimit ignore them? Thanks, ER