Re: [users@httpd] apachectl and multiple daemons

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks to everyone who responded to my inquiry. I
indeed wanted process isolation. The server I am
currently building out needs to support several
development groups; all which require their own
webserver instance.

Initially I was wanting to go with IP based virtual
hosting, but this would not allow me to shutdown one
of the instances without affecting the others.
Additionally, a poorly written application in one of
the instances could negatively affect performance
and/or stability of the others as well. So, for this
particular environment I thought it'd be best to run
multiple daemons. (each instance using a unique IP
address).

Anyway, after reading the various replies, I decided
to make some minor modifications to "apachectl" to
support multiple daemons (instances). Now, when
running "apachectl stop|start|restart|graceful" it
will apply to all instances (useful as a /etc/init.d
startup script). However, if I want to
start/stop/restart a particular instance, I can do a
"apachectl start|stop|restart|graceful instance-name"
instead.

So, all is well right now :-)

Thanks again for all your replies!

Cheers,

   Richard



--- "William A. Rowe, Jr." <wrowe@xxxxxxxxxxxxx>
wrote:

> Nick Kew wrote:
> > On Wednesday 22 February 2006 21:23, Richard de
> Vries wrote:
> > 
> >>I have the need to run multiple daemons off of the
> >>same apache base install.
> > 
> > Erm, why?
> 
> Why not?
> 
> >>Each daemon will have it's 
> >>own configuration file of course, but since they
> are
> >>all configured pretty much the same (same modules
> etc)
> >>I don't see a need to have several apache
> installs.
> > 
> > Sounds like you want to read up on virtual hosts.
> 
> No, it sounds like he desires to have process
> isolation for different
> contexts; which is fine.  Many of the end users I
> support professionally
> use this same approach.  Different scoreboards, pid
> files, and logs and
> listeners and you should be golden.
> 
> Bill
> 
>
---------------------------------------------------------------------
> 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@xxxxxxxxxxxxxxxx
>    "   from the digest:
> users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail:
> users-help@xxxxxxxxxxxxxxxx
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux