Fellow mod_perlers,

With Apache::SizeLimit 0.9, I'm seeing this error:

[Sun Jul 30 01:19:29 2006] [error] Can't call method "child_terminate" on an undefined value at /usr/local/lib/perl5/ site_perl/5.8.8/Apache/SizeLimit.pm line 125.

Anyone have an idea why this might be happening? This is on "Red Hat Enterprise Linux ES release 4 (Nahant Update 3)" with a Apache 1.3.36 and mod_perl 1.29 that we compiled from source. Apache::SizeLimit is configured like so:

if (CHECK_PROCESS_SIZE) {
    # see Apache::SizeLimit manpage
    require Apache::SizeLimit;

    # XXX These globals are deprecated in Apache::SizeLimit 0.9.
    # apache child processes larger than this size will be killed
    $Apache::SizeLimit::MAX_PROCESS_SIZE        = MAX_PROCESS_SIZE;

    # requests handled per size check
    $Apache::SizeLimit::CHECK_EVERY_N_REQUESTS  = CHECK_FREQUENCY;

    $Apache::SizeLimit::MIN_SHARE_SIZE          = MIN_SHARE_SIZE
        if MIN_SHARE_SIZE > 0;

    $Apache::SizeLimit::MAX_UNSHARED_SIZE       = MAX_UNSHARED_SIZE
        if MAX_UNSHARED_SIZE > 0;
}

It is also installed as a PerlFixupHandler, and that's it. Has something perhaps changed in 0.9 so that it isn't properly passing $r to _exit_if_too_big()?

Thanks,

David

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to