perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From E R <>
Subject Re: Apache2::SizeLimit and x64_86
Date Mon, 11 Apr 2011 21:02:37 GMT
On Mon, Apr 11, 2011 at 3:43 AM, Dave Hodgkinson <> wrote:
> Are you using the A::S that's in the repo? It has fixes for calculating
> sizes...

Using RSS-SHARED instead of VSIZE-SHARED should fix the x86_64 issue I'm seeing.

But I've got some questions about Apache2::SizeLimit...

1. Are the docs accurate? The example in the POD says you can do this:

require 'Apache2/';
my ($size, $shared) = $Apache2::SizeLimit->_check_size();

But when I try this I get "Can't call method "_check_size" on an
undefined value".

Note -  I've been using:

my ($size, $shared) = $Apache2::SizeLimit::HOW_BIG_IS_IT->();

to get the current program size. I don't even remember how I came to use this.

2. I extracted version Apache::SizeLimit 0.96 out of the latest
mod-perl snapshot (modperl-2.0_20110411151604.tar.gz) and used it with
mod-perl 2.0.4. From the change log I was hoping that it would compute
the program size as RSS - SHARED for linux systems, but it didn't seem
to work.

Do I need other stuff from the mod-perl dist for the RSS-SHARED patch?
Do I need to upgrade to mod-perl 2.0.5 (or later) for this fix?


View raw message