Created attachment 27449 [details] Move read buckets from request to a temp brigade and periodically clean See also bug 51747. input_brigade handling doesn't remove buckets as it reads them, so although the request data gets written to the temp file, the buckets themselves don't appear to be freed. This causes memory usage to rise while the request is sent as approx. received length / 3. The attached patch moves buckets from the input brigade into a temporary brigade as they are received, and periodically cleans this temporary brigade after the data has been stored. Observed with mod_fcgid 2.3.6 and httpd 2.2.19
Committed, targeting 2.3.7 release. Thanks!
2.3.7 released on 2012-04-23.