Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 81791 invoked from network); 8 Feb 2007 13:32:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Feb 2007 13:32:17 -0000 Received: (qmail 28881 invoked by uid 500); 8 Feb 2007 13:32:19 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 28690 invoked by uid 500); 8 Feb 2007 13:32:18 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 28679 invoked by uid 99); 8 Feb 2007 13:32:18 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Feb 2007 05:32:18 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of pharkins@gmail.com designates 209.85.132.250 as permitted sender) Received: from [209.85.132.250] (HELO an-out-0708.google.com) (209.85.132.250) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Feb 2007 05:32:09 -0800 Received: by an-out-0708.google.com with SMTP id b20so544203ana for ; Thu, 08 Feb 2007 05:31:49 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ft/14dlLw3gEG4I0yaVIGAmzbYygHosACGIsOJ1FFKZ4e31+0EOjT917rPpF2URlGBsY8iTM6hEnoQ5aOJjIGNFKYtSp7Bbcgvbjnf4YlYYWKrLOt892FZQtOF2XeyPa9C8IRGodwsKsMwZpViZYlte7298eLMA7RTuyGA61fcg= Received: by 10.100.191.5 with SMTP id o5mr10667744anf.1170941509179; Thu, 08 Feb 2007 05:31:49 -0800 (PST) Received: by 10.65.250.9 with HTTP; Thu, 8 Feb 2007 05:31:49 -0800 (PST) Message-ID: <66887a3d0702080531x324e75fagb3ea2bcbc3b34daf@mail.gmail.com> Date: Thu, 8 Feb 2007 08:31:49 -0500 From: "Perrin Harkins" To: "John ORourke" Subject: Re: apache MaxClients and locking up Cc: "mod_perl List" In-Reply-To: <45CAE557.3040703@o-rourke.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45CAE557.3040703@o-rourke.org> X-Virus-Checked: Checked by ClamAV on apache.org On 2/8/07, John ORourke wrote: > Occasionally the DB gets a bit bogged down and starts taking a while to > respond (optimisations are being done at the mo), and after a while in > the error log I get: > > [Wed Feb 07 12:35:53 2007] [error] server reached MaxClients setting, > consider raising the MaxClients setting > > and then a whole heap of nothing - I can't tell if the server is still > accepting new connections at that point as the server accepts > connections but does nothing, and the system is heavily loaded but still > responsive at the command line, and it's not using any swap space on > disk because I tuned the apache/mysql settings properly. Apache will accept more connections but they will just get queued. This is described in the docs for the MaxClients setting. What makes you think the server is doing nothing? Maybe it's simply waiting for slow database results. Have you tried some logging, or monitoring the database activity? Have you tried to recreate this condition artificially with a load testing tool? - Perrin