Re: Apache2::SizeLimit for threaded MPM's

Fred Moyer <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
On Thu, Dec 30, 2010 at 1:27 PM, Mark Copper <[email protected]> wrote:
>
> Sorry for the noise; thanks for the gentle reply.

No worries; I looked in the Changes file first before diving into the source.

There's a release candidate available for 0.94 if you want to download
the source and take it for a spin on your setup:

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

>
> MC
>
> On Thu, Dec 30, 2010 at 3:07 PM, Fred Moyer <[email protected]> wrote:
>> On Thu, Dec 30, 2010 at 9:50 AM, Mark Copper <[email protected]> wrote:
>>>
>>> Do the the Apache2::SizeLimit modules released this year support threaded MPM's?
>>
>> From lib/Apache2/SizeLimit.pm:
>>
>>  31 die "Apache2::SizeLimit at the moment works only with non-threaded MPMs"
>>  32     if Apache2::MPM->is_threaded();
>>
>> Threaded MPMs make life more difficult here.  You want to eliminate
>> the particular interpreter that exceeds the specified size, but does
>> that mean you just kill the thread which the interpreter is in, or do
>> you restart the entire httpd process?  There is also multiplicity to
>> consider, which if I recall correctly is multiple interpreters per
>> thread.
>>
>>>
>>> I can't see what version is installed under Debian Lenny mod_perl2,
>>> but I imagine it's .91.  At any rate the installed docs contain the
>>> caveat against threaded MPM's which seems to have been removed, but I
>>> don't see anything about it in the CPAN module changes file.
>>>
>>> Thanks.
>>>
>>> Mark Copper
>>>
>>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.