https://issues.apache.org/bugzilla/show_bug.cgi?id=51749
Bug #: 51749
Summary: mod_fcgid uses memory proportional to request size,
even when beyond fcgidmaxrequestinmem
Product: Apache httpd-2
Version: 2.2.19
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_fcgid
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Created attachment 27449
--> https://issues.apache.org/bugzilla/attachment.cgi?id=27449
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
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]