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.

Left behind Apache connections increasing

Discussion in 'EasyApache' started by jacksony, May 29, 2006.

  1. jacksony

    jacksony Well-Known Member
    PartnerNOC

    Joined:
    Nov 30, 2005
    Messages:
    67
    Likes Received:
    0
    Trophy Points:
    6
    Can anyone advice? I am using cPanel and Apache 1.3.3.4 and the apache connections shown in 'Apache Status' is always increasing my the day. It seems some scripts my client using, like 'fetch' etc are leaving the connection open even though they have finished their purpose. As a result the connections showing in 'Apache status' can reached up to over hundreds in a week.

    Anyone can advise what the exact problem is and how can it be prevented? Some of the connections are being shown below:

    Srv PID Acc M CPU SS Req Conn Child Slot Host VHost Request
    133-0 - 0/0/25 . 0.13 136866 194 0.0 0.00 0.28 202.156.2.37 www.mesosland.com GET /livechat/live/response.php?aardvark_live=&aardvark_departm
    134-0 - 0/0/16 . 0.08 136874 0 0.0 0.00 0.04 203.124.2.6 www.mesosland.com GET /images/order.gif HTTP/1.0
    135-0 - 0/0/20 . 0.63 136852 205 0.0 0.00 0.000 165.21.154.114 www.mesosland.com GET /livechat/live/response.php?aardvark_live=&aardvark_departm
    136-0 - 0/0/24 . 0.41 136855 500 0.0 0.00 0.14 218.208.242.241 www.mesosland.com GET /livechat/live/response.php?aardvark_live=&aardvark_departm
    137-0 - 0/0/16 . 0.12 136878 10 0.0 0.00 0.02 202.156.2.37 www.mesosland.com GET /images/4.jpg HTTP/1.1
    138-0 - 0/0/135 . 9.81 136274 84 0.0 0.00 0.56 165.21.154.111 www.mesosland.com GET /livechat/live/response.php?aardvark_live=&aardvark_departm
    139-0 - 0/0/19 . 0.15 136881 6070 0.0 0.00 0.06 202.156.2.37 www.mesosland.com GET /livechat/class/js/include.php?live&departmentid=2 HTTP/1.1
    140-0 - 0/0/27 . 0.14 136875 1917 0.0 0.00 0.13 82.166.2.14 www.mapleitems.com GET /livechat/live/response.php?aardvark_cobrowse=&aardvark_liv
    141-0 - 0/0/6 . 0.04 136885 86 0.0 0.00 0.04 218.208.207.100 www.mesosland.com GET /images/sign_squaretrade.gif HTTP/1.1
    142-0 - 0/0/21 . 0.00 136885 29 0.0 0.00 0.10 218.208.207.100 www.mesosland.com GET /images/dbs.gif HTTP/1.1
    143-0 - 0/0/7 . 0.00 136885 30 0.0 0.00 0.01 218.208.207.100 www.mesosland.com GET /images/uob.gif HTTP/1.1
    144-0 - 0/0/12 . 0.00 136885 29 0.0 0.00 0.05 218.208.207.100 www.mesosland.com GET /images/p_paypal.gif HTTP/1.1
    145-0 - 0/0/6 . 0.11 136878 7031 0.0 0.00 0.02 165.21.154.14 www.mesosland.com GET /livechat/live/response.php?aardvark_live=&aardvark_departm
    146-0 - 0/0/8 . 0.12 136877 4215 0.0 0.00 0.00 218.208.244.60 www.mesosland.com GET /livechat/live/response.php?aardvark_live=&aardvark_departm
    147-0 - 0/0/5 . 0.00 136905 29885 0.0 0.00 0.0000 165.21.154.12 www.mesosland.com GET /livechat/class/js/include.php?live&departmentid=2 HTTP/1.1
    148-0 - 0/0/6 . 0.26 136879 782 0.0 0.00 0.07 202.156.2.37 www.mesosland.com GET /livechat/live/icon.php?status=online&departmentid=2 HTTP/1
    149-0 - 0/0/11 . 0.11 136885 7814 0.0 0.00 0.08 202.156.2.37 www.mesosland.com GET /livechat/live/response.php?aardvark_live=&aardvark_departm
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Try reducing the option:

    KeepAliveTimeout 3

    and

    MaxRequestsPerChild 50

    in httpd.conf and then restart httpd.
     

Share This Page