The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Failed Requests

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

  1. andy7t

    andy7t Active Member

    Joined:
    Dec 22, 2003
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    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 mydomain.com/aphpscript.php
    This is ApacheBench, Version 1.3d <$Revision: 1.73 $> apache-1.3
    Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
    Copyright (c) 2006 The Apache Software Foundation, http://www.apache.org/

    Benchmarking mydomain.com (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.

    HOWEVER......

    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?
     
Loading...

Share This Page