Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
 
Python and Tcl - public course schedule [here]
Private courses on your site - see [here]
Please ask about maintenance training for Perl, PHP, Lua, etc
 
Internal Dummy Connections on Apache httpd

Is your Apache httpd log file 'full' of entries like this?

xx.xxx.xx.xx - - [02/Mar/2009:05:08:45 +0000] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.9 (Unix) PHP/5.2.6 (internal dummy connection)"

What causes them?

Your web keeps a number of spare 'slots' open to process new incoming requests, opening them up ahead of growing traffic. And at times that traffic is dropping off, it closes spare slots to allow memory to be released to other system users. This dummy connection / request is used to signal to a slot that it should shut-down, so you'll find a series of these messages cropping up as traffic falls.

Should I worry about them?

Not very much. Some of them are to be expected; if there are a very large number of them, though, it may be worth you altering some of your server settings - see this previous article for a description of how the slots are opened and closed.

Can I eliminate the from my logs?

Yes - add something like:
SetEnvIf Remote_Addr "xx\.xxx\.xx\.xx" dontlog
to your log file, and update your logging directive to use that setting:
CustomLog /var/log/apache2/access_log combined env=!dontlog

There's more detail of how this configuration change works at this off site resource, but bear in mind that you'll be fixing a symptom rather than curing an issue if you simply stop logging huge quantities of these messages.

The IP address given will be your server's own IP address. If it's someone else's, then THAT would be a concern!
(written 2009-03-02)

 
Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articles
A601 - Web Application Deployment - Apache httpd - an overview
  [4434] Public training courses - upcoming dates - (2015-02-21)
  [4064] Apache httpd - a robust, open source web server - (2013-04-16)
  [2186] An FAQ on the Apache httpd and Apache Tomcat web servers, and on using them together - (2009-05-17)
  [2077] Why put Apache httpd in front of Apache Tomcat - (2009-03-12)
  [2054] Tuning httpd / the supermarket checkout comparison - (2009-02-26)
  [2038] Sticky Sessions with mod_jk (httpd to Tomcat) - (2009-02-12)
  [2016] Apache httpd and Apache Tomcat miscellany - (2009-01-30)
  [1897] Keeping on an even keel - (2008-11-21)
  [1593] Keep the client experience easy - single server contact point - (2008-03-27)
  [1265] Apache, Tomcat, Jakarta, httpd, web server - what are they? - (2007-07-13)
  [924] The LAMP Cookbook - Linux, Apache, MySQL, PHP / Perl - (2006-11-13)
  [659] Web Application Components - (2006-03-28)
  [576] Why run two different web servers - (2006-01-25)


Back to
Virtual hosting and mod_proxy forwarding of different domains (httpd)
Previous and next
or
Horse's mouth home
Forward to
East of Melksham Countryside
Some other Articles
Perl - lists do so much more than arrays
Melksham Industrial
Static mirroring through HTTrack, wget and others
East of Melksham Countryside
Internal Dummy Connections on Apache httpd
Virtual hosting and mod_proxy forwarding of different domains (httpd)
Tomcat 6 - Annotated Sample Configuration Files
Database connection Pooling, SSL, and command line deployment - httpd and Tomcat
Sharing the load between servers - httpd and Tomcat
Invoker and cgi servlets on Tomcat 6
4759 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96 at 50 posts per page


This is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price.

Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2019: 404 The Spa • Melksham, Wiltshire • United Kingdom • SN12 6QL
PH: 01225 708225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/mouth/2063_Int ... httpd.html • PAGE BUILT: Sat May 27 16:49:10 2017 • BUILD SYSTEM: WomanWithCat