Re: Apache Crashing

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

 



ulimit is unlimited in the solaris machine. BTW I have started the apache with ./httpd -k start?So does it still considers the ULIMIT_MAX_FILES value present in apachectl and value it is set as ULIMIT_MAX_FILES="ulimit -S -n `ulimit`".
Looking forward for your response.
Thanks
-A

On 4/4/07, Christian Gottschalch <masro@xxxxxxx> wrote:
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[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