Apache Log : Internal Dummy Connection

Discussion in 'Server Operation' started by asyadiqin, May 3, 2007.

  1. asyadiqin

    asyadiqin New Member

    we have had problems on one of our servers recently.
    Pages start to load slowly and ultimately the server becomes overwhelmed.

    The only suspicious entry in the logs is

    This starts off happening every few minutes but then continues to happen with increasing regualrity - ultimately every second.

    Thank you.
     
  2. Hans

    Hans Moderator Moderator

    Hi,

    This warning occurs on Apache 2.2+ systems.
    Try to solve that by setting MaxSpareServers to a value, greater than MinSpareServers within your Apache configuration file and restart Apache.
     
  3. asyadiqin

    asyadiqin New Member

    Below is content of my httpd.conf referring to the configuration you specified.

    So apparently, that is not the caused. Any other ideas?
     
  4. bvbmedia

    bvbmedia New Member

    FIX: high load caused by Apache Log : Internal Dummy Connection

    If your default vhost is a heavy dynamic website that is even using mod_rewrite then the fix is easy. :cool:

    Create a new vhost, example: default.com.

    Add a nice plain index.html file to the /var/www/default.com/web folder so that the vhost is as light as possible.

    The trick is to make this vhost the default one.

    From SSH type:

    mv /etc/httpd/conf/sites-enabled/100-default.com.vhost /etc/httpd/conf/sites-enabled/000-default.com.vhost

    Restart Apache:

    /etc/init.d/httpd restart

    Now the connections to the Apache childrens are being kept alive using the default vhost.
     
    Last edited: Jun 20, 2013

Share This Page