Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Failed Requests

Discussion in 'General Discussion' started by andy7t, Feb 23, 2007.

  1. andy7t

    andy7t Active Member

    Dec 22, 2003
    Likes Received:
    Trophy Points:

    One of my users has brought it to my attention that my server is creating a lot of failed connections when using apache benchmark:

    #/etc/httpd/bin/ab -n 100 -c 10
    This is ApacheBench, Version 1.3d <$Revision: 1.73 $> apache-1.3
    Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd,
    Copyright (c) 2006 The Apache Software Foundation,

    Benchmarking (be patient).....done
    Server Software: Apache/1.3.37
    Server Port: 80

    Document Path: /
    Document Length: 7029 bytes

    Concurrency Level: 10
    Time taken for tests: 17.077 seconds
    Complete requests: 100
    Failed requests: 7
    (Connect: 0, Length: 7, Exceptions: 0)
    Broken pipe errors: 0
    Total transferred: 753921 bytes
    HTML transferred: 709926 bytes
    Requests per second: 5.86 [#/sec] (mean)
    Time per request: 1707.70 [ms] (mean)
    Time per request: 170.77 [ms] (mean, across all concurrent requests)
    Transfer rate: 44.15 [Kbytes/sec] received

    Connnection Times (ms)
    min mean[+/-sd] median max
    Connect: 0 0 0.0 0 1
    Processing: 273 1577 869.4 1446 4289
    Waiting: 272 1576 869.4 1446 4289
    Total: 273 1577 869.4 1446 4289
    ERROR: The median and mean for the initial connection time are more than twice the standard
    deviation apart. These results are NOT reliable.

    Percentage of the requests served within a certain time (ms)
    50% 1446
    66% 1729
    75% 2246
    80% 2248
    90% 2551
    95% 3508
    98% 3809
    99% 3947
    100% 4289 (last request)

    It always drops about 7-20 connections per 100. Server load is fine, and memory usage is normal.


    Try this to a normal document, or a Perl script and it drops none.

    I'm guessing it must be php setup?
    I know this is a broad question, but any pointers on where to start?

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice