Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 26408 invoked from network); 31 May 2005 22:49:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 May 2005 22:49:51 -0000 Received: (qmail 30011 invoked by uid 500); 31 May 2005 22:49:45 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 29990 invoked by uid 500); 31 May 2005 22:49:44 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 29977 invoked by uid 99); 31 May 2005 22:49:44 -0000 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,FROM_ENDS_IN_NUMS,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of drees76@gmail.com designates 64.233.184.202 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.202) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 31 May 2005 15:49:43 -0700 Received: by wproxy.gmail.com with SMTP id 71so3122601wri for ; Tue, 31 May 2005 15:49:40 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=S0xTCHkSBWFZVhkni3E+gAgmVlPAotA7xUd1gxe1m0rcMqyIBapFWhaj5pBnNgDgEbz44w+zsAIoX+wtx0xas1rfGr9LNXI0qnGo2cJ2lpQt7Y+30udofV75LO7+f7pZVWzK4glVMq2bCgNEGtbXlFm45GZdkl4OVG0+WLitNzw= Received: by 10.54.107.4 with SMTP id f4mr3225419wrc; Tue, 31 May 2005 15:49:40 -0700 (PDT) Received: by 10.54.37.53 with HTTP; Tue, 31 May 2005 15:49:40 -0700 (PDT) Message-ID: <72dbd315050531154964cf3016@mail.gmail.com> Date: Tue, 31 May 2005 15:49:40 -0700 From: David Rees Reply-To: David Rees To: Tomcat Developers List Subject: Re: Graceful restart on Windows [was Re: Adding working dynamically with mod_jk status?] In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 5/31/05, dhay@lexmark.com wrote: >=20 > After some more digging, it *appears* that "apache -k restart" WILL do a > graceful restart of Apache2 on Windoze. >=20 > Can anyone confirm this please? And are there any "gotcha's" to watch ou= t > for? Can someone explain exactly how this works? eg if I am in the midd= le > of a "chunk" (or series) of work with a web browser and one of the > tomcats, will it restart in the middle of that? On Unix, it will let any running threads/processes finish processing any existing requests before killing them. Replacment threads/processes will be started up to take all new requests from that point on. Best to test it to make sure, I have not tested it personally on Windows or any other threaded Apache MPM. -Dave --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org