httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sharath reddy" <>
Subject Re: [users@httpd] Apache starting with more child processes thatn startservers directive
Date Fri, 10 Nov 2006 16:29:09 GMT
Hi joshua,

i am just starting one instance only, even then it is showing 3*StartServers
processes and one parent process running. if i starts 3 instances, it is
showing 3*StartServers for every idividual instance.

here is my directory structure....

build: /opt/apache2 --> here is goes all the stuf including ...
bin, build, cgi-bin, conf.example, error, htdocs, icons, include, lib, logs,
Makefile, man, manual, modules

(installation)server root: /opt/web/apache  --> here .....
bin, cgi-bin, conf(httpd1.conf, httpd2.conf, httpd3.conf), docroot, log,
modules, run,  scripts, ssl

i wrote a script which calls the httpd multiple times with one config file
for each port
(script goes like ...... /opt/apache2/bin/apachectl -f
/opt/web/apache/conf/httpd1.conf -k start,
and ..... httpd2.conf -k start..... httpd3.conf -k start) , and it just
seems to be working.


On 11/10/06, Joshua Slive <> wrote:
> On 11/9/06, sharath reddy <> wrote:
> > Hi All,
> >
> > I am using Apache version 2.0.55(with prefork) on Linux with three
> different
> > httpd.conf files running on 3 different ports and i just loading httpd
> > multiple times with one config file for each port.
> >
> > The problem is : when i start the apache, it is starting with 3 times
> more
> > child processes than the StartServers directive. i.e., if i keep
> > StartServers as 5 , it is starting with 15 child processes(servers).
> >
> > what would be the problem for this behaviour?? (even though the apache
> > starts with more serevrs, it is working fne)
> Well, there are still lots of details missing in this question.  If
> you are starting 3 instances of apache, you should expect
> 3*StartServers processes to be running.  The three instances will be
> entirely independent.  If that is not what you are seeing, you need to
> be more specific about your problem.
> 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