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 2008/07/08 02:45:36 UTC

DO NOT REPLY [Bug 45359] New: Apache Spawns Unnecessary Processes ( forward proxy mode)

https://issues.apache.org/bugzilla/show_bug.cgi?id=45359

           Summary: Apache Spawns Unnecessary Processes (forward proxy mode)
           Product: Apache httpd-2
           Version: 2.2.9
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: All
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: pbelau1@yahoo.com


Apache seems to occasionally spawn up to 100+ extra processes even though the
apache.conf ServerLimit is set well below the 100+ threshold. Relevant config
is such:

ServerLimit 24
ThreadLimit 512
ThreadsPerChild 512
MinSpareThreads 256
MaxSpareThreads 12288
MaxRequestsPerChild 0
MaxClients 12288

The documentation would imply that the maximum number of processes with such a
configuration would be 24 since MaxRequestsPerChild is infinite and
MaxSpareThreads is equal to MaxClients.


I'm running in forward-proxy mode with a few custom modules but nothing that
forks off new proceses.

Would be glad to provide any additional information and/or debug if someone can
tell me where to look.


-- 
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 45359] Apache Spawns Unnecessary Processes (forward proxy mode)

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

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #3 from Eric Covener <co...@gmail.com> ---
No backtraces in several years, reopen to pursue.

-- 
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 45359] Apache Spawns Unnecessary Processes (forward proxy mode)

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

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

-- 
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 45359] Apache Spawns Unnecessary Processes ( forward proxy mode)

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





--- Comment #1 from Ruediger Pluem <rp...@apache.org>  2008-07-07 23:13:50 PST ---
*** Bug 45360 has been marked as a duplicate of this bug. ***


-- 
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 45359] Apache Spawns Unnecessary Processes ( forward proxy mode)

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





--- Comment #2 from Jeff Trawick <tr...@apache.org>  2008-07-08 03:22:52 PST ---
Graceful restart combined with occasional very-long-running requests will also
result in extra processes (until the long-running requests finish).

Attach to a sample of the httpd child processes with gdb and run "thread apply
all bt" to see how many threads there are and what they are doing.  Post a
summary here.


-- 
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