after actually reading the documentation i found out this isn't really dual lifed, and i should be running Apache2::SizeLimit under mp2. However, this still fails with:

\t(in cleanup) Can't locate object method "set_max_process_size" via package "Apache2::SizeLimit" at /usr/local/prefork/conf/httpd.conf line 416.\n
httpd not running, trying to start

I get this using this as the config:

PerlModule Apache2::SizeLimit

<Perl>
    Apache2::SizeLimit->set_max_process_size(150_000);
    Apache2::SizeLimit->set_min_shared_size(10_000);
    Apache2::SizeLimit->set_max_unshared_size(120_000);
</Perl>

PerlCleanupHandler Apache2::SizeLimit

Adam

On 10-09-29 10:51 AM, Adam Prime wrote:
-1

This code cannot run under mod_perl 2 because it has a 'use
Apache::Constants' right at the top of SizeLimit.pm.

Adam

On 10-09-28 11:52 PM, Fred Moyer wrote:
Please take a minute to download and test this release candidate for
Apache::SizeLimit. This is especially import for those of you users
who actually *use* Apache::SizeLimit :) There was an uncaught large
bug in 0.92 which has been resolved for 0.93.

http://people.apache.org/~phred/Apache-SizeLimit-0.93-rc1.tar.gz

Change summary for 0.93:

Fix overlooked bug where handler expected to be called as a method
handler,
but was documented to be called like a normal Perl cleanup handler ala
'PerlCleanupHandler Apache2::SizeLimit'
[Fred Moyer<f...@redhotpenguin.com>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@perl.apache.org
For additional commands, e-mail: dev-h...@perl.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@perl.apache.org
For additional commands, e-mail: dev-h...@perl.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@perl.apache.org
For additional commands, e-mail: dev-h...@perl.apache.org

Reply via email to