LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-02-2007, 06:17 AM   #1
ittec
LQ Newbie
 
Registered: Nov 2007
Posts: 15

Rep: Reputation: 0
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"

Last edited by ittec; 11-02-2007 at 07:10 AM.
 
  


Reply

Tags
connection, fedora, internal


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache tuning question: prefork.c vs worker.c BrianK Linux - Networking 10 02-09-2012 02:42 PM
Apache ... internal dummy connection lothario Linux - Software 3 08-04-2011 09:40 AM
how can i tell if apache 2 is prefork or worker? sneakyimp Linux - Software 4 09-15-2007 03:15 PM
MY apache use my dummy cert micro_xii Linux - Newbie 2 11-12-2006 09:00 AM
what if I use worker and prefork on apache? gottin Linux - Software 1 10-15-2004 04:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration