From users-return-101379-apmail-httpd-users-archive=httpd.apache.org@httpd.apache.org Tue Oct 18 11:12:20 2011 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 87CE47B4F for ; Tue, 18 Oct 2011 11:12:20 +0000 (UTC) Received: (qmail 50333 invoked by uid 500); 18 Oct 2011 11:12:17 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 50260 invoked by uid 500); 18 Oct 2011 11:12:17 -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 50252 invoked by uid 99); 18 Oct 2011 11:12:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Oct 2011 11:12:17 +0000 X-ASF-Spam-Status: No, hits=-0.6 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of phracek2@gmail.com designates 209.85.216.45 as permitted sender) Received: from [209.85.216.45] (HELO mail-qw0-f45.google.com) (209.85.216.45) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Oct 2011 11:12:11 +0000 Received: by qadb10 with SMTP id b10so404487qad.18 for ; Tue, 18 Oct 2011 04:11:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=qUGkELVmMsB26EXGvn0VI9Ezwsuj0z/SrPzyCiT4skM=; b=VsjAwf9abCkDq4wEK9ErScXIPL79xJMpruPld8KFsUYlS/jukKTH+abx4Wgs/urClj f37YqOkbMW7PFtJOcyUc9OPYT10ZfzNJlbRpYInadnukoj1SDOtoE3nGNGjMJHEfTQxO yqm/9CdopjDKror5NrUhkpBN98mNdxf6SlQ24= MIME-Version: 1.0 Received: by 10.224.218.132 with SMTP id hq4mr1516029qab.25.1318936310293; Tue, 18 Oct 2011 04:11:50 -0700 (PDT) Received: by 10.224.2.208 with HTTP; Tue, 18 Oct 2011 04:11:50 -0700 (PDT) In-Reply-To: <15755b919b212d12909fd65674fc9051.squirrel@www.coochey.net> References: <15755b919b212d12909fd65674fc9051.squirrel@www.coochey.net> Date: Tue, 18 Oct 2011 13:11:50 +0200 Message-ID: From: Petr Hracek To: users@httpd.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] apache seems to be busy Dear users, There are run most AJAX requests. After increasing the values StartServers 15 MinSpareServers 10 MaxSpareServers 30 =3D=3D> error_log <=3D=3D [Tue Oct 18 11:25:59 2011] [info] server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 8 children, there are 0 idle, and 23 total children [Tue Oct 18 11:26:00 2011] [info] server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 16 children, there are 7 idle, and 31 total children Can there be a problem that AJAX objects did not close the connections prop= erly? Thank you in advance Dne 18. =C5=99=C3=ADjna 2011 10:36 Giles Coochey napsal= (a): > On Tue, October 18, 2011 09:06, Petr Hracek wrote: >> Dear users, >> >> sporadically on the machines whereis installed apache2-2.2.21 >> in the log /var/log/apache2/error_log I have observed following: >> >> [Tue Oct 18 07:01:54 2011] [info] server seems busy, (you may need to >> increase StartServers, or Min/MaxSpareServers), spawning 8 children, >> there are 0 idle, and 17 total children >> [Tue Oct 18 07:01:55 2011] [info] server seems busy, (you may need to >> increase StartServers, or Min/MaxSpareServers), spawning 16 children, >> there are 0 idle, and 25 total children >> >> Is there any way how to track whether sessions are closed correctly, >> what childrens are still up, >> >> My setting of the server is: >> Timeout 300 >> KeepAlive On >> KeepAliveTimeout 5 >> MaxKeepAliveRequests 100 >> StartServers 5 > > Assuming you have the spare resources: > > I would try StartServers being raised to 15 and see if you still get the > message. > >> MinSpareServers 5 > > Increase MinSpareServers to 10 > >> MaxSpareServers 10 > > Increase maxSpareServers to 30 > >> MaxClients 150 >> MaxRequestsPerChild 10000 >> >> What shall I changed? >> >> -- >> Best Regards / S pozdravem >> Petr Hracek >> >> --------------------------------------------------------------------- >> The official User-To-User support forum of the Apache HTTP Server Projec= t. >> See for more info. >> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org >> =C2=A0 =C2=A0" =C2=A0 from the digest: users-digest-unsubscribe@httpd.ap= ache.org >> For additional commands, e-mail: users-help@httpd.apache.org >> >> > > > > --------------------------------------------------------------------- > 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 > =C2=A0 " =C2=A0 from the digest: users-digest-unsubscribe@httpd.apache.or= g > For additional commands, e-mail: users-help@httpd.apache.org > > --=20 Best Regards / S pozdravem Petr Hracek --------------------------------------------------------------------- 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