From: Phillip Berry <phillipberry@blisswebhosting.com>
To: gentoo-server@lists.gentoo.org
Subject: Re: [gentoo-server] Refreshing vhosts without restarting apache
Date: Wed, 17 Aug 2005 22:04:22 +1000 [thread overview]
Message-ID: <200508172204.22430.phillipberry@blisswebhosting.com> (raw)
In-Reply-To: <43031C34.8000105@adaptr.nl>
The init file for apache 1.3 has a reload function that is exactly the same as
apachectl graceful aka kill -USR1. So /etc/init.d/apache reload is the same
as apachectl graceful
Phil
On Wednesday 17 August 2005 21:15, Jeroen Geilman wrote:
> No, that's definitely NOT what he is after - since you are adding new
> vhosts these will never be involved in any ongoing transfers.
> Instead, reload will break off all current transfers - not a good idea
> on a heavily loaded server.
> Graceful is fine.
> > Michael Crute wrote:
> >
> > The gaceful command will actually cause apache to restart but only
> > after all pending transfers complete. I believe that this is the
> > default behavior of /etc/init.d/apache2 restart the command you are
> > looking for is reload.
> Top-posting corrected.
>
> > On 8/17/05, *A. Khattri* <ajai@bway.net <mailto:ajai@bway.net>> wrote:
> >
> > On Tue, 16 Aug 2005, Ian P. Christian wrote:
> > > On Tuesday 16 August 2005 13:01, Darko Luketic wrote:
> > > > and imho thats not really the way it should be, apache should
> >
> > be restarted
> >
> > > > once a day not potentially every 15 minutes.
> > >
> > > I don't see why it should be restarted at all. If you're not
> >
> > binding to any
> >
> > > new ports, a reload should be fine rather then a restart.
> >
> > Just curious: would "apachectl graceful" load new vhosts added
> > since the
> > last restart?
> >
> >
> > --
> >
> > --
> > gentoo-server@gentoo.org <mailto:gentoo-server@gentoo.org> mailing
> > list
> >
>
--
gentoo-server@gentoo.org mailing list
next prev parent reply other threads:[~2005-08-17 12:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-16 12:01 [gentoo-server] Refreshing vhosts without restarting apache Darko Luketic
2005-08-16 12:04 ` Ian P. Christian
2005-08-17 4:55 ` A. Khattri
2005-08-17 5:43 ` Michael Crute
2005-08-17 11:15 ` Jeroen Geilman
2005-08-17 12:00 ` Christian Bricart
2005-08-17 12:04 ` Phillip Berry [this message]
2005-08-16 16:19 ` radu herinean
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200508172204.22430.phillipberry@blisswebhosting.com \
--to=phillipberry@blisswebhosting.com \
--cc=gentoo-server@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox