public inbox for gentoo-server@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Christian Bricart" <christian@bricart.de>
To: gentoo-server@lists.gentoo.org
Subject: Re: [gentoo-server] Refreshing vhosts without restarting apache
Date: Wed, 17 Aug 2005 14:00:52 +0200 (CEST)	[thread overview]
Message-ID: <50761.80.87.162.74.1124280052.squirrel@aachalon.de> (raw)
In-Reply-To: <43031C34.8000105@adaptr.nl>

> 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
>>
>> 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.
>>
> 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.

what about just calling:

 # killall -HUP apache2

this will cause the httpd to reload it's config, not?

Christian

-- 
gentoo-server@gentoo.org mailing list



  reply	other threads:[~2005-08-17 12:03 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 [this message]
2005-08-17 12:04         ` Phillip Berry
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=50761.80.87.162.74.1124280052.squirrel@aachalon.de \
    --to=christian@bricart.de \
    --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