Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 8216 invoked by uid 500); 8 Aug 2001 21:33:55 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 8190 invoked from network); 8 Aug 2001 21:33:54 -0000 Sender: gregames@Mail.MeepZor.Com Message-ID: <3B71AF5D.95982D4D@remulak.net> Date: Wed, 08 Aug 2001 17:30:05 -0400 From: Greg Ames X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19-10mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: new-httpd@apache.org, David Wartell Subject: Re: possible to change virtualhost and serverwide configuration without restarting? References: <014801c11f89$37e527f0$940905d8@actionwebs.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Status: O X-Status: X-Keywords: X-UID: 274 David Wartell wrote: > > Is it possible in Apache 2.0 to change Apache configuration without restarting? > I am particularly interested in making a change that can't be done from a .htaccess file like adding a virtual host or changing the > maxclients or ThreadsPerChild. That's what we call a "graceful restart". The idea is that any http requests that are currently being served continue to be served, but other idle server threads/processes are shut down. Apache then re-reads & parses the config file, and starts up new processes and threads which use the new config information You invoke it via "apachectl graceful" or just send SIGWINCH to the parent pid. The official doc is here - http://httpd.apache.org/docs-2.0/stopping.html Greg