https://issues.apache.org/bugzilla/show_bug.cgi?id=47233
Summary: Prefork Mpm-- Max clients setting is not taking taking
effect
Product: Apache httpd-2
Version: 2.2.3
Platform: Other
OS/Version: Linux
Status: NEW
Severity: blocker
Priority: P1
Component: prefork
AssignedTo: [email protected]
ReportedBy: [email protected]
We have installed Apache 2.2.3 from source on Z Linux(RHEL 5.3).
We have choosen prefork mpm, while compiling apache.
./configure –prefix=/usr/local/apache –enable-ssl –with-mpm=prefork
–with-expat=builtin
We are running HTTP stress test on this machine. Our test sends HTTP get
request to apache server. While the test is running we have seen some messages
keeps coming in error_log.
We observe some connections timeout messages in the error_log after running
the test for some time.
*****************************************************************
[Thu May 21 06:31:11 2009] [info] server seems busy, (you may need to increase
StartServers, or Min/MaxSpareServers), spawning 16 children, there are 11 idle,
and 846 total children
[Thu May 21 06:31:49 2009] [info] server seems busy, (you may need to increase
StartServers, or Min/MaxSpareServers), spawning 8 children, there are 0 idle,
and 881 total children
[Thu May 21 06:31:50 2009] [info] server seems busy, (you may need to increase
StartServers, or Min/MaxSpareServers), spawning 16 children, there are 13 idle,
and 889 total children
[Thu May 21 06:32:10 2009] [info] server seems busy, (you may need to increase
StartServers, or Min/MaxSpareServers), spawning 8 children, there are 7 idle,
and 902 total children
[Thu May 21 06:32:11 2009] [info] server seems busy, (you may need to increase
StartServers, or Min/MaxSpareServers), spawning 16 children, there are 12 idle,
and 910 total children
[Thu May 21 06:32:56 2009] [info] server seems busy, (you may need to increase
StartServers, or Min/MaxSpareServers), spawning 8 children, there are 5 idle,
and 929 total children
[Thu May 21 06:33:01 2009] [debug] mpm_common.c(629): (70007)The timeout
specified has expired: connect to listener on [::]:80
[Thu May 21 06:33:07 2009] [debug] mpm_common.c(629): (70007)The timeout
specified has expired: connect to listener on [::]:80
**********************************************************************
After this timeout message all our get transactions started failing.When i
increase the timeout,
And it is also showing messages like increase Min/MaxSpareSevers, even we
increased that figure this message keeps coming.
This is prefork mpm file values(httpd-mpm.conf)
*******************************************************
# prefork MPM
# StartServers: number of server processes to start
# MinSpareServers: minimum number of server processes which are kept spare
# MaxSpareServers: maximum number of server processes which are kept spare
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process serves
#ListenBacklog 1000
<IfModule mpm_prefork_module>
StartServers 20
MinSpareServers 15
MaxSpareServers 15
ServerLimit 2048
MaxClients 2048
MaxRequestsPerChild 0
******************************************************
This is default conf file values (httpd-default.conf)
*******************************
Timeout 30
KeepAlive on
MaxKeepAliveRequests 0
KeepAliveTimeout 4
*********************************************
We doubt the server is not creating new connections after some time, it is
breaking in between. Please help us to fix this issue.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]