Re: Apache 2.4 (Apache Benchmarking) - Too many open files (24)

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

 



Are you testing from de same host that runs httpd?
Could you paste paste the output of ulimit -a  , ie:

[apache@----------- ~]$ ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 30504
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
******   open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 10240
cpu time               (seconds, -t) unlimited
max user processes              (-u) 1024
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited


In rhel default seems to be 1024.
 

2016-09-22 17:20 GMT+02:00 Rashmi Srinivasan <rashmisrinivasan2007@xxxxxxxxx>:
Hi,

This is my mpm conf:

<IfModule mpm_event_module>
    ServerLimit             80
    StartServers             3
    MinSpareThreads         75
    MaxSpareThreads        250
    ThreadsPerChild         25
    MaxRequestWorkers      2000
    MaxConnectionsPerChild   0
</IfModule>

The issue occurs even upon increasing the serverlimit and MaxRequestWorkers.

Access log has the following status:
 [22/Sep/2016:20:17:21 +0530] "GET /cgi-bin/script.cgi HTTP/1.0" 200 16

Please check and let me know.

Thanks ,
RS

On Thu, Sep 22, 2016 at 8:34 PM, Rashmi Srinivasan <rashmisrinivasan2007@gmail.com> wrote:

This is my mpm conf:

<IfModule mpm_event_module>
    ServerLimit             80
    StartServers             3
    MinSpareThreads         75
    MaxSpareThreads        250
    ThreadsPerChild         25
    MaxRequestWorkers      2000
    MaxConnectionsPerChild   0
</IfModule>

The issue occurs 

Access log has the status:


On Thu, Sep 22, 2016 at 3:47 PM, Yann Ylavic <ylavic.dev@xxxxxxxxx> wrote:
On Thu, Sep 22, 2016 at 8:57 AM, Rashmi Srinivasan
<rashmisrinivasan2007@xxxxxxxxm> wrote:
>
> Benchmarking x.x.x.x (be patient)
> Completed 8000 requests
> apr_socket_recv: Connection timed out (110)
> Total of 8972 requests completed

This can be related to some limits reached on the server side (cgi
connection/execution time, MaxRequestWorkers, ...).
Any error message in httpd?

Regards,
Yann.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx






--

Rubén Toribio Aldeguer
Técnico Sistemas DataCenter
Informática Área Sistemas
(+34) 971743030
www.riu.com / www.riuplaza.com

                     
Facebook Twitter Flickr Youtube Google Plus
 

This e-mail and its attachments, if any, are confidential and may be legally privileged. If you have received it in error, you are on notice of this status. Please do not copy or use it for any other purpose or disclose its contents to any other person: to do so could be a breach of confidence. You may contact us at +34 971 74 30 30 or at sender's e-mail address.

Facebook Please, consider the environment before printing this email.

[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