internal dummy connection..

ok… i decided to go back to mod_php instead of fastcgi since fastcgi doesn’t seem to work… all that well with apache…

anyway, i went back, now ofcourse i get other errors… after doing ab -n 10000 -c

Complete requests: 10000
Failed requests: 7934
(Connect: 0, Length: 7934, Exceptions: 0)
Write errors: 0
Non-2xx responses: 7934

In /var/log/httpd/access_log:

::1 - - [18/Dec/2008:03:58:58 -0600] "GET / HTTP/1.0" 404 198 "-" "Apache (internal dummy connection)"
::1 - - [18/Dec/2008:03:58:59 -0600] "GET / HTTP/1.0" 404 198 "-" "Apache (internal dummy connection)"
::1 - - [18/Dec/2008:03:59:00 -0600] "GET / HTTP/1.0" 404 198 "-" "Apache (internal dummy connection)"
::1 - - [18/Dec/2008:03:59:01 -0600] "GET / HTTP/1.0" 404 198 "-" "Apache (internal dummy connection)"
::1 - - [18/Dec/2008:03:59:02 -0600] "GET / HTTP/1.0" 404 198 "-" "Apache (internal dummy connection)"
::1 - - [18/Dec/2008:03:59:03 -0600] "GET / HTTP/1.0" 404 198 "-" "Apache (internal dummy connection)"
::1 - - [18/Dec/2008:03:59:04 -0600] "GET / HTTP/1.0" 404 198 "-" "Apache (internal dummy connection)"
::1 - - [18/Dec/2008:03:59:05 -0600] "GET / HTTP/1.0" 404 198 "-" "Apache (internal dummy connection)"
::1 - - [18/Dec/2008:03:59:06 -0600] "GET / HTTP/1.0" 404 198 "-" "Apache (internal dummy connection)"

In error_log:

hu Dec 18 03:59:12 2008] [error] [client ::1] Attempt to serve directory: /var/www/html/
[Thu Dec 18 03:59:13 2008] [error] [client ::1] Attempt to serve directory: /var/www/html/
[Thu Dec 18 03:59:14 2008] [error] [client ::1] Attempt to serve directory: /var/www/html/
[Thu Dec 18 03:59:15 2008] [error] [client ::1] Attempt to serve directory: /var/www/html/
[Thu Dec 18 03:59:16 2008] [error] [client ::1] Attempt to serve directory: /var/www/html/
[Thu Dec 18 03:59:17 2008] [error] [client ::1] Attempt to serve directory: /var/www/html/
[Thu Dec 18 03:59:18 2008] [error] [client ::1] Attempt to serve directory: /var/www/html/
[Thu Dec 18 03:59:19 2008] [error] [client ::1] Attempt to serve directory: /var/www/html/
[Thu Dec 18 03:59:20 2008] [error] [client ::1] Attempt to serve directory: /var/www/html/
[Thu Dec 18 03:59:21 2008] [error] [client ::1] Attempt to serve directory: /var/www/html/

So /var/www/html is my document root… but i was testing a virtual host… so I don’t even know why it tries to go to /var/www/html if my virtual host is in /home/ ? If I just go to the site in the browser, it works fine every time i reload … ?

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

Lets just fix this one issue and be done with it… don’t want to spend more time configuring this…

i’ve discovered that this was due to mysql not having enough connections or something… i changed max_connections to 200 and all is fine now…

However, before I used your httpd binaries this worked fine with the default settings which i believe is 100 max_connections. So is there something different in your binaries? Or? Why would it suddenly change so much (not alot of mysql usage on the server outside of the ab stresstest)

hmm, after a couple of more runs it again shows the same errors. yet i upped max connections to 500 …

So is there something different in your binaries?

No, nothing different. As I’ve mentioned, the only difference in our Apache binary from the one provided by the OS (with the exception of CentOS/RHEL 4, which had a mod_fcgid related bug that led to me using a later version of Apache than the OS provides) is changing suexec_docroot to /home.

If you’re using mod_php, you don’t need our Apache package…since mod_php doesn’t use suexec.

Is there a way to ignore virtualmin ignore “internal dummy connection”
in var/log/httpd/access_log?
I know how to do dontlog setting, but cannot seem to find default setting for log file path
where is it?