ittec |
11-02-2007 05:17 AM |
Internal dummy connection - Apache 2.2.2 / Prefork
Hi all,
congratulations by this great forum. There are a lot of available info.
I have a problem of performance in Linux Server. I don't know why but this linux server have a seriously problem of stability. Then i was reviewing httpd logs when i found a lot of this kind of entries:
Code:
::1 - - [21/Oct/2007:12:31:18 +0100] "GET / HTTP/1.0" 403 3931 "-" "Apache/2.2.2 (Fedora) (internal dummy connection)"
I found in some webs information about optimal setup to avoid this. These webs explain the normal setup to a normal-busy server.
Code:
StartServers 16
MinSpareServers 8
MaxSpareServers 64
MaxClients 256
MaxRequestsPerChild 4000
And these ones are the actually setup of MPM-prefork
Code:
<IfModule prefork.c>
StartServers 8
MinSpareServers 50
MaxSpareServers 20
ServerLimit 1024
MaxClients 1024
MaxRequestsPerChild 4000
</IfModule>
Here i found the work and prefork concept. I don't know what these mean. The only i sure know is that my apache is in prefork mode(httpd -V). So i understand that the interesting files to my httpd.conf setup are those start after
Code:
##Server-Pool Size Regulation (MPM specific)
##
# prefork MPM
Its very strange because this server don't have a large amount of traffic. Only have a some WordPress blogs, one or two SMF forums and little more. So is for my a great problem because i can't explain the inestability of system.
I will continue finding information about this issue. Any help will be very helpul. Thanks :)
PD: output of httpd -V
Code:
Server version: Apache/2.2.2
Server built: Jun 26 2007 10:22:20
Server's Module Magic Number: 20051115:2
Server loaded: APR 1.2.2, APR-Util 1.2.7
Compiled using: APR 1.2.2, APR-Util 1.2.7
Architecture: 32-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/etc/httpd"
-D SUEXEC_BIN="/usr/sbin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
|