httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arnab Ganguly" <>
Subject Re: [users@httpd] Query on StartServers and ListenBackLog
Date Sun, 29 Apr 2007 05:53:51 GMT
Hi ,
Thanks for the reply, I forgot to mention I am using MPM model Worker and I
guess MinSpareServers/MaxSpareServer is used for prefork.Is there any way I
can stop the dynamic creation of new process.Also how can I simulate with
lesser number of requests?


On 4/28/07, Joshua Slive <> wrote:
> On 4/28/07, Arnab Ganguly <> wrote:
> > Hi All,
> > I have some queries on the StartServers param.As it says "The
> StartServers
> > directive sets the number of child server processes created on startup.
> As
> > the number of processes is dynamically controlled depending on the load,
> > there is usually little reason to adjust this parameter" from the Apache
> > page.I wanted to know suppose I make the StartServers as 1.During the
> > startup time only one active child process gets created.But after
> running it
> > for a day or two a new daemon process gets launched apart from the other
> > existing one.It would be nice if you can tell me as what point due to
> the
> > load does Apache spawns another daemon?The value of ServerLimit I kept
> is
> > one but still the behavior is same.
> StartServers really only has any effect within the first few seconds
> of the server's life. After that, the number of processes is
> determined by the number of client requests along with
> MinSpareServers/MaxSpareServers/MaxClients/ServerLimit. It is,
> however, very normal to have one or two extra processes above
> MaxClients/ServerLimit. This would be the parent/control process and
> possible a CGI daemon process depending on the CGI module used.
> >
> > One more question I have is about the ListenBackLog.Is the request is
> always
> > read from this queue or the queue comes into the picture only when the
> Idle
> > thread count is zero?Suppose the ListenBackLog is full what would happen
> to
> > the request received by Apache?
> A normal server will immediately pick up any connectoin off the listen
> queue, so it will typically be empty. If it becomes full (because
> MaxClients/ServerLimit is not high enough), then apache will never see
> the requests. They will be rejected by the OS at the TCP/IP level
> (connection refused, I believe).
> >
> > If Idle thread count is zero do still this ListenBackLog gets filled for
> the
> > requests are coming and the request are read from this queue
> only.Looking
> > forward for response.
> Something like that, yes.
> Joshua.
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:> for more info.
> To unsubscribe, e-mail:
>    "   from the digest:
> For additional commands, e-mail:

View raw message