httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] Apache Launching one more unwanted daemon
Date Mon, 04 Jun 2007 17:46:38 GMT
On 6/4/07, Arnab Ganguly <aganguly01@gmail.com> wrote:
> Hi All,
> I am using apache2.2 with MPM model as Worker in Solaris 5.9 .I have the
> following configuration.
>
> StartServers 1
> ServerLimit 1
> MaxClient 128
> MaxSpareThreads 128
> MinSpareThreads 1
> ThreadsPerChild 128
> MaxRequestPerChild 0
>
> My requirement is to handle all the request by single process and want this
> process to be active through out.Issue I get is that after Apache runs for
> a longer time, one new process is launched apart from the active process
> which was handling all the request.
>
> I am not sure as why this new process is getting launched although I kept
> ServerLimit and StartServers both as 1.Is the MaxRequestPerChild 0 is
> creating the problem, as due to overload one more process is getting
> launched or any particular module is responsible for the above?What to do to
> prevent this?
> I am not worried about the mod_cgid daemon.This process remains there from
> the begining.I am worried about the extra daemon ie is getting launched.Like
> altogether there are 3 daemon process.1 for mod_cgi and 2 for the core
> apache although I have kept StartServers and ServerLimit both 1.Hope this is
> more clear.

When I asked for more details, I was talking about your "my
requirement is like that" response. Worker is not really designed to
operate as a single process, so telling us WHY you have the
requirement might allow someone to suggest another way of achieving
the same thing.

And again: have you used mod_status to track what the different
processes are doing?

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message