Arnab, You may wish to try launching httpd with the -X (debug mode) argument. That will limit it to a single process.
Matt ----- Original Message ----- From: "Joshua Slive" <[EMAIL PROTECTED]> To: users@httpd.apache.org Sent: Monday, June 4, 2007 12:46:38 PM (GMT-0600) America/Chicago Subject: Re: [EMAIL PROTECTED] Apache Launching one more unwanted daemon On 6/4/07, Arnab Ganguly <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- 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: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]