httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: filtering huge request bodies (like 650MB files)
Date Wed, 10 Dec 2003 23:37:15 GMT
On Wed, Dec 10, 2003 at 05:23:14PM -0600, William A. Rowe, Jr. wrote:
>...
> It's NOT the proxy - I've been through it many times - and AFAICT we have
> a simple leak in that we don't reuse the individual pool buckets, so memory
> creeps up over time.  It isn't even the end of the world, until someone at
> apachecon pointed out continous HTML proxied streams (e.g. video) really
> gobble memory, even at 8kb/min+ this isn't acceptable.
> 
> So it's not the proxy or the core output filter.  The bug lies in the Filter itself.
> Is it Chrises' own filter or one of ours?  whichever it is, it would be nice to
> get this fixed.  This is why we aught to not flip subject headers, Stas, I'm
> really too short on time to go fumbling for the original posts.  Need to know
> which filters are inserted, and therefore possibly suspect.

The brigrade structure is allocated in a pool, along with a cleanup. The
*buckets* might get returned to memory when the brigade is cleared, but
the brigade itself won't.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Mime
View raw message