You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2011/09/01 12:46:19 UTC

DO NOT REPLY [Bug 51749] New: mod_fcgid uses memory proportional to request size, even when beyond fcgidmaxrequestinmem

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: bugs@httpd.apache.org
        ReportedBy: dominic.benson@thirdlight.com
    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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 51749] mod_fcgid uses memory proportional to request size, even when beyond fcgidmaxrequestinmem

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51749

--- Comment #1 from William A. Rowe Jr. <wr...@apache.org> 2012-01-20 22:10:14 UTC ---
Committed, targeting 2.3.7 release.  Thanks!

-- 
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 51749] mod_fcgid uses memory proportional to request size, even when beyond fcgidmaxrequestinmem

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51749

Martin <ma...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |martinwj2005@gmail.com
           Severity|normal                      |critical

-- 
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 51749] mod_fcgid uses memory proportional to request size, even when beyond fcgidmaxrequestinmem

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51749

William A. Rowe Jr. <wr...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |PatchAvailable

-- 
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 51749] mod_fcgid uses memory proportional to request size, even when beyond fcgidmaxrequestinmem

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51749

Christophe JAILLET <ch...@wanadoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Christophe JAILLET <ch...@wanadoo.fr> ---
2.3.7 released on 2012-04-23.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 51749] mod_fcgid uses memory proportional to request size, even when beyond fcgidmaxrequestinmem

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51749

James Nobis <qu...@quelrod.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |quel@quelrod.net

-- 
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org