Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 47135 invoked from network); 8 Apr 2009 16:54:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Apr 2009 16:54:59 -0000 Received: (qmail 51228 invoked by uid 500); 8 Apr 2009 16:54:58 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 51127 invoked by uid 500); 8 Apr 2009 16:54:58 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: "Apache HTTPD Bugs Notification List" List-Id: Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 51107 invoked by uid 99); 8 Apr 2009 16:54:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Apr 2009 16:54:58 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Apr 2009 16:54:56 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id 0CEF9234C052; Wed, 8 Apr 2009 09:54:34 -0700 (PDT) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: DO NOT REPLY [Bug 46996] New: "MaxClients reached" message can occur with many threads still idle X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Apache httpd-2 X-Bugzilla-Component: worker X-Bugzilla-Keywords: PatchAvailable X-Bugzilla-Severity: trivial X-Bugzilla-Who: poirier@pobox.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: bugs@httpd.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Wed, 8 Apr 2009 09:54:34 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org 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