httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <>
Subject Re: Cleanup/desctruction of connection pool and associated bucket_alloc
Date Fri, 05 Oct 2007 09:45:15 GMT
Quoting Aleksey Midenkov <>:

> And what if a large file is downloaded and processed by filters? Did the
> buckets allocated by filters will not be deallocated until the connection
> end? This can be a cause of DOS. The buckets should be freed after they have
> flushed out of ap_core_output_filter.

All buckets are allocated from conn->bucket_alloc and are freed when  
the brigade is destroyed. If that weren't the case, subsequent  
requests would be increasing the allocation (this is not happening).

The problem is that the allocator gets its blocks back, but never  
releases that back to the OS.


View raw message