Gentoo Archives: gentoo-server

From: Jeroen Geilman <jeroen@××××××.nl>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] Refreshing vhosts without restarting apache
Date: Wed, 17 Aug 2005 11:16:16
Message-Id: 43031C34.8000105@adaptr.nl
In Reply to: Re: [gentoo-server] Refreshing vhosts without restarting apache by Michael Crute
1 Top-posting corrected.
2
3 > On 8/17/05, *A. Khattri* <ajai@××××.net <mailto:ajai@××××.net>> wrote:
4 >
5 > On Tue, 16 Aug 2005, Ian P. Christian wrote:
6 >
7 > > On Tuesday 16 August 2005 13:01, Darko Luketic wrote:
8 > > > and imho thats not really the way it should be, apache should
9 > be restarted
10 > > > once a day not potentially every 15 minutes.
11 > >
12 > > I don't see why it should be restarted at all. If you're not
13 > binding to any
14 > > new ports, a reload should be fine rather then a restart.
15 >
16 > Just curious: would "apachectl graceful" load new vhosts added
17 > since the
18 > last restart?
19 >
20 >
21 > --
22 >
23 > --
24 > gentoo-server@g.o <mailto:gentoo-server@g.o> mailing
25 > list
26 >
27 > Michael Crute wrote:
28 >
29 > The gaceful command will actually cause apache to restart but only
30 > after all pending transfers complete. I believe that this is the
31 > default behavior of /etc/init.d/apache2 restart the command you are
32 > looking for is reload.
33 >
34 No, that's definitely NOT what he is after - since you are adding new
35 vhosts these will never be involved in any ongoing transfers.
36 Instead, reload will break off all current transfers - not a good idea
37 on a heavily loaded server.
38 Graceful is fine.
39
40 --
41 gentoo-server@g.o mailing list

Replies

Subject Author
Re: [gentoo-server] Refreshing vhosts without restarting apache Christian Bricart <christian@×××××××.de>
Re: [gentoo-server] Refreshing vhosts without restarting apache Phillip Berry <phillipberry@×××××××××××××××.com>