httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ville Skyttä <ville.sky...@iki.fi>
Subject Re: Massive leak in Apache2::Upload?
Date Thu, 19 May 2005 15:57:33 GMT
On Wed, 2005-05-18 at 20:04 +0200, Markus Wichitill wrote:
> Joe Schaefer wrote:
> >>>>...the size of the receiving httpd process grows by about 260MB after
> >>>>handler() returns, and stays that big.
> >>>
> >>>Hmm, the brigade_limit directive must not be kicking in correctly.
> >>>First, see if this helps any:
> >>>
> >>>      my $r = Apache2::Request->new(shift, brigade_limit => 100_000);
> >>
> >>It doesn't seem to make any difference.
> > 
> > Ok, next we need platform details (hardware details, perl -V, etc.).
> 
> Same here.
> 
> It is fixed when I re-add discard_request_body() between new() and parse(), 
> which I had removed during an abortive attempt to use the 
> APR::Request::Apache2 API.

$r->discard_request_body() fixes it here too.  perl -V and httpd -V
attached.  This is a HT P4 box running Fedora Core 3, a 2.6.10 SMP
kernel, with Perl and mod_perl rebuilt from Fedora Core 4 development.
Let me know if you need more info.

> > Anything interesting in the server's error log?
> 
> Nope.

Ditto.

Mime
View raw message