https://issues.apache.org/bugzilla/show_bug.cgi?id=46996
Summary: "MaxClients reached" message can occur with many
threads still idle
Product: Apache httpd-2
Version: 2.3-HEAD
Platform: All
OS/Version: All
Status: NEW
Keywords: PatchAvailable
Severity: trivial
Priority: P4
Component: worker
AssignedTo: bugs@httpd.apache.org
ReportedBy: poirier@pobox.com
Created an attachment (id=23462)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=23462)
Patch to delay the message and issue a different one earlier
The "MaxClients reached" message occurs as soon as the number of idle threads
drops below MinSpareThreads. If MinSpareThreads is set large for some reason,
there could still be a lot of idle threads so the message is misleading.
The attached patch saves the "MaxClients reached" message until there are no
idle threads, which seems more accurate. It issues a new message when the
number of idle threads drops below MinSpareThreads. Neither message will be
issued more than once per child.
--
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
|