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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]