Apache Crashing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

<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

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux