View Single Post
  #4  
Old 20th June 2013, 21:28
bvbmedia bvbmedia is offline
Junior Member
 
Join Date: Apr 2012
Location: Netherlands
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via Skype™ to bvbmedia
Thumbs up 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.

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.
__________________
Best regards,

Bas van Beek
BVB Media / TYPO3 Multishop

http://www.bvbmedia.nl
http://www.typo3multishop.com

Last edited by bvbmedia; 20th June 2013 at 21:37.
Reply With Quote