From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E5MgG-0008O1-D8 for garchives@archives.gentoo.org; Wed, 17 Aug 2005 12:06:04 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7HC3h4o002679; Wed, 17 Aug 2005 12:03:43 GMT Received: from mail.blisswebhosting.com ([202.174.103.129]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7HC3foD007146 for ; Wed, 17 Aug 2005 12:03:42 GMT Received: by mail.blisswebhosting.com (Postfix, from userid 360) id B62ED13BC1B; Wed, 17 Aug 2005 22:04:29 +1000 (EST) Received: from pc (ppp189-209.static.internode.on.net [150.101.189.209]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.blisswebhosting.com (Postfix) with ESMTP id 577C811D831 for ; Wed, 17 Aug 2005 22:04:23 +1000 (EST) From: Phillip Berry To: gentoo-server@lists.gentoo.org Subject: Re: [gentoo-server] Refreshing vhosts without restarting apache Date: Wed, 17 Aug 2005 22:04:22 +1000 User-Agent: KMail/1.8 References: <20050816140140.52203b98@localhost.localdomain> <558b73fb05081622439eeebab@mail.gmail.com> <43031C34.8000105@adaptr.nl> In-Reply-To: <43031C34.8000105@adaptr.nl> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-server@gentoo.org Reply-to: gentoo-server@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508172204.22430.phillipberry@blisswebhosting.com> X-Spam-Checker-Version: SpamAssassin 3.0.2-gr1 (2004-11-16) on prod.blisswebhosting.com X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2-gr1 X-Archives-Salt: 3299b7e4-88a4-4ef8-acfa-f240cb6d35fc X-Archives-Hash: 2fc4e79912d005a9f66b1236f65ddd9b 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* > 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 mailing > > list > > > -- gentoo-server@gentoo.org mailing list