httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Gottschalch <ma...@llbc.de>
Subject Re: [users@httpd] Apache Crashing
Date Wed, 04 Apr 2007 12:22:00 GMT
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 
> <http://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
>
> <IfModule worker.c>
> ServerLimit 2
> StartServers 1
> ThreadLimit 200
> MaxClients  200
> MinSpareThreads 5
> MaxSpareThreads 200
> ThreadsPerChild 200
> MaxRequestsPerChild 0
> </IfModule>
>
>
> 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 <URL:http://httpd.apache.org/userslist.html> 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


Mime
View raw message