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

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

 



Is there a minimum requirement for apache 2.4 to run these tests?
I have tried on different machines with different configurations with the same outcome.
Please advise.

Thanks,
RS

On Fri, Sep 23, 2016 at 1:14 AM, Rashmi Srinivasan <rashmisrinivasan2007@xxxxxxxxx> wrote:
Hi,
Thanks for checking this,

I wanted to check the below:'
        Stress testing of apache 2.2 works very well with the default mpm worker onfiguration
        However, apache 2.4 doesnt work at all with the default configuration, gives the error:
         2000 concurrent requests
      Benchmarking x.x.x.x (be patient)
      socket: Too many open files (24)

After changing the configuration, as described in the previous email, it starts processing them:
Lots of timeouts are occurring.
Error in the error_lo is:
                           "AH00046: child process still did not exit, sending a SIGKILL"
                           (2)No such file or directory: [client x.x.x.c] AH01256: connect #7 to cgi daemon failed, sleeping before retry
                            11)Resource temporarily unavailable: AH01252: couldn't create child process: 11:
I also noticed that the CPU utilzation reached 99.9%
Which is when apache terminates

What changes are to be done in this case.
Please advise

Thanks,
RS
 

On Thu, Sep 22, 2016 at 9:54 PM, Yann Ylavic <ylavic.dev@xxxxxxxxx> wrote:
On Thu, Sep 22, 2016 at 5:20 PM, Rashmi Srinivasan
<rashmisrinivasan2007@xxxxxxxxm> wrote:
>
> Access log has the following status:
>  [22/Sep/2016:20:17:21 +0530] "GET /cgi-bin/script.cgi HTTP/1.0" 200 16

What's in the *error* log (path from the ErrorLog directive)?
What about resources (CPU, load average, ...) on the httpd machine
during the stress?

Regards,
Yann.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
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