|If you've enabled the server-status tool in apache, you may see many entries that look like this:|
37-0 - 0/0/9 . 0.00 24325 0 0.0 0.00 0.18 18.104.22.168 localhost NULL
After the client loads his first page, knowing that the client will likely click a link, the browser will connect to your server before the client has clicked anything. For these cases, no request has yet been made... it's just an empty, idle connection without any communication over it yet (until a click happens).
Since the "Host" header has not yet been sent, Apache won't know which VirtualHost to send the request to, so it defaults to the very first VirtualHost on that IP, which in this case, is in /etc/httpd/conf/httpd-vhosts.conf, as it uses a ServerName of "localhost", since nothing specific seems approriate. (it could also be in the /etc/httpd/conf/ips.conf for a shared IP)
|How to track which site is using the apache processes and causing load|
© 2003 JBMC Software, Suite 173 3-11 Bellerose Drive, St Albert, AB T8N 1P7 Canada. Mon-Fri 9AM-5PM MST