Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 48829 invoked from network); 4 Apr 2007 12:22:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Apr 2007 12:22:33 -0000 Received: (qmail 61944 invoked by uid 500); 4 Apr 2007 12:22:30 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 61933 invoked by uid 500); 4 Apr 2007 12:22:30 -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 61922 invoked by uid 99); 4 Apr 2007 12:22:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2007 05:22:29 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [217.172.183.179] (HELO mail.llbc.de) (217.172.183.179) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Apr 2007 05:22:22 -0700 Received: from static-ip-217-172-183-179.inaddr.intergenia.de ([217.172.183.179] helo=[127.0.0.1]) by mail.llbc.de with esmtpa (Exim 4.50) id 1HZ4V8-0005Ep-3M for users@httpd.apache.org; Wed, 04 Apr 2007 14:22:10 +0200 Message-ID: <46139868.8050005@llbc.de> Date: Wed, 04 Apr 2007 14:22:00 +0200 From: Christian Gottschalch User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: users@httpd.apache.org References: <2ae67e000704030314v591ec559od3b6ac8de8203acc@mail.gmail.com> In-Reply-To: <2ae67e000704030314v591ec559od3b6ac8de8203acc@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Apache Crashing check your OS "ulimit" settings and your apachectl Script ULIMIT_MAX_FILES Regards Arnab Ganguly schrieb: > Hi, > I was using the command line tool present under the > /httpd-2.2.3/support/ab > I ran from the command prompt ./ab -n 5000 -c 130 -v 50 > http://localhost/index.html.ie 5000 total request and 130 concurrently. > > Apache version used is Apache 2.2 with Worker as MPM and OS as sun 5.9. > The error I got in the Apache error_log is in below > > > Tue Apr 03 03:34:51 2007] [error] [client 127.0.0.1 > ] (24)Too many open files: > > file permissions deny server access: /usr/local/apache2/htdocs/index.html > [Tue Apr 03 03:34:51 2007] [error] (24)Too many open files: > apr_socket_accept: > (client socket) > [Tue Apr 03 03:34:53 2007] [alert] No active workers found... Apache > is exiting! > > And from the command prompt where I ran the tool gave me the following > output > apr_socket_recv: Connection reset by peer (131) > Total of 1607 requests completed > > The configuration I was following > > > ServerLimit 2 > StartServers 1 > ThreadLimit 200 > MaxClients 200 > MinSpareThreads 5 > MaxSpareThreads 200 > ThreadsPerChild 200 > MaxRequestsPerChild 0 > > > > Help me as why this error is coming.Is there something silly I am doing. > Looking forward for your response. > Thanks in advance > -A --------------------------------------------------------------------- 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