Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd May 2007, 12:29
asyadiqin asyadiqin is offline
Senior Member
 
Join Date: Jul 2006
Posts: 120
Thanks: 0
Thanked 1 Time in 1 Post
Default Apache Log : Internal Dummy Connection

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

Quote:
::1 - - [03/May/2007:11:22:21 +0100] "GET / HTTP/1.0" 403 3931 "-" "Apache/2.2.2 (Fedora) (internal dummy connection)"
This starts off happening every few minutes but then continues to happen with increasing regualrity - ultimately every second.

Thank you.
Reply With Quote
Sponsored Links
  #2  
Old 3rd May 2007, 13:05
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Send a message via Skype™ to Hans
Default

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.
__________________
Hans

BB-Hosting | Quality Web Hosting since 2005
Reply With Quote
  #3  
Old 3rd May 2007, 16:52
asyadiqin asyadiqin is offline
Senior Member
 
Join Date: Jul 2006
Posts: 120
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by Hans
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.
Below is content of my httpd.conf referring to the configuration you specified.

Quote:
<IfModule prefork.c>
StartServers 8
MinSpareServers 5
MaxSpareServers 20
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 500
</IfModule>

<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
So apparently, that is not the caused. Any other ideas?
Reply With Quote
  #4  
Old 20th June 2013, 20: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 20:37.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting e-mail working hansoffate Installation/Configuration 29 13th August 2008 16:33
No ftp login for ispconfig-webuser agri Installation/Configuration 12 19th March 2007 10:06
Problem with the installation of Dokeos (LMS) in ISPConfig jofranco General 4 28th April 2006 00:45
Email seemingly not working... Duplex Installation/Configuration 11 19th April 2006 14:48
Perfect Xen 3.0 setup for Debian gurneyzap HOWTO-Related Questions 4 26th March 2006 11:30


All times are GMT +2. The time now is 01:42.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.