httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sharath reddy" <reddy....@gmail.com>
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.

Thanks,
Sharath



On 11/10/06, Joshua Slive <joshua@slive.ca> wrote:
>
> On 11/9/06, sharath reddy <reddy.web@gmail.com> 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: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