Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6DBCA9971 for ; Sun, 15 Jan 2012 21:46:16 +0000 (UTC) Received: (qmail 79533 invoked by uid 500); 15 Jan 2012 21:46:13 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 79439 invoked by uid 500); 15 Jan 2012 21:46:12 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 79431 invoked by uid 99); 15 Jan 2012 21:46:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Jan 2012 21:46:12 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of apache-users@m.gmane.org designates 80.91.229.12 as permitted sender) Received: from [80.91.229.12] (HELO lo.gmane.org) (80.91.229.12) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Jan 2012 21:46:03 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RmXtT-0006z8-TS for users@httpd.apache.org; Sun, 15 Jan 2012 22:45:39 +0100 Received: from p5dcd73e8.dip.t-dialin.net ([93.205.115.232]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 15 Jan 2012 22:45:39 +0100 Received: from jumper99 by p5dcd73e8.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 15 Jan 2012 22:45:39 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: users@httpd.apache.org From: "Helmut Schneider" Date: Sun, 15 Jan 2012 21:45:22 +0000 (UTC) Lines: 38 Message-ID: References: <4F131D5D.1020104@adaptr.nl> <4F13238F.1090409@adaptr.nl> <4F133FE8.1090206@adaptr.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p5dcd73e8.dip.t-dialin.net User-Agent: XanaNews/1.19.1.194 X-Ref: news.gmane.org ~XNS:0000003C X-Antivirus: avast! (VPS 120115-1, 15.01.2012), Outbound message X-Antivirus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Re: MaxClients 256 but server-status show 1024 slots Jeroen Geilman wrote: > On 01/15/2012 08:13 PM, Helmut Schneider wrote: > > Jeroen Geilman wrote: > > > > > On 01/15/2012 08:01 PM, Helmut Schneider wrote: > > > > Jeroen Geilman wrote: > > > > > > > > > On 01/15/2012 07:31 PM, Helmut Schneider wrote: > > > > [...] > > > > > > So the highest value configured is 256 (setting at > > > > > > server.conf.local overwrite defaults at apache2.conf). But > > > > > > /server-status shows: > > > > [...] > > > > > > That's 1024 slots. And yes, I stopped and restarted apache > > > > > > and even the server itself. > > > > > > > > > > > > What's wrong here? > > > > > > > > > > > > ~$ apache2 -v > > > > > > Server version: Apache/2.2.14 (Ubuntu) > > > > > > Server built: Nov 3 2011 03:30:19 > > > > > > ~$ > > > > > Are you using worker or prefork ? What is serverlimit set to ? > > > > Ah, I see. It is configured to use worker. Am I correct that I > > > > need to adjust either ThreadsPerChild or ServerLimit (or > > > > both)?! What is recommended? Both are currently unset/defaults. > > > What is it you want to do ? > > > Worker threads consume very little memory, the defaults are fine. > > Check apache with nagios. I have a plugin that checks available > > slots and when "MaxClients != open slots" Nagios thinks that > > everything is fine while apache does not serve new clients anymore. > > That would be a nagios bug, then. No, it has nothing to do with nagios. The plugin just checks how many slots are available counting the dots from /server-status while afaiu MaxClients possibly limits them to a smaller value. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org