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…