Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 41317 invoked from network); 5 Feb 2007 21:04:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Feb 2007 21:04:40 -0000 Received: (qmail 40480 invoked by uid 500); 5 Feb 2007 21:04:42 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 40427 invoked by uid 500); 5 Feb 2007 21:04:42 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 40416 invoked by uid 99); 5 Feb 2007 21:04:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Feb 2007 13:04:42 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of devkrish.webengine@gmail.com designates 64.233.184.230 as permitted sender) Received: from [64.233.184.230] (HELO wr-out-0506.google.com) (64.233.184.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Feb 2007 13:04:32 -0800 Received: by wr-out-0506.google.com with SMTP id 37so1358904wra for ; Mon, 05 Feb 2007 13:04:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=kXNyrJDpdsOHn9GEpfkC1N5pBlia2BqdMUTs47Tb/+SXZTI8f//04P0A/qL5SsQNLr7EWcfzQOZNrkz+s3qr/82PQOkEF617i3zHprqcaCDxKarfdPkMlJUjbIkXvn61YC5EL1zYvjz7VWOJnVF3ZDqKU8nW4wIkzinVfSy2ZbU= Received: by 10.78.179.12 with SMTP id b12mr1288815huf.1170709418634; Mon, 05 Feb 2007 13:03:38 -0800 (PST) Received: by 10.67.16.20 with HTTP; Mon, 5 Feb 2007 13:03:38 -0800 (PST) Message-ID: Date: Mon, 5 Feb 2007 13:03:38 -0800 From: "Devi Krishna" To: dev@httpd.apache.org Subject: Re: Regarding graceful restart In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_55589_12901429.1170709418666" References: X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_55589_12901429.1170709418666 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Sander Thanks for the quick response ! However, I am surprised that when it returns from accept, why would accept return a valid socket id and not -1 ? Thanks & Regards Devi On 2/5/07, Sander Temme wrote: > > > On Feb 5, 2007, at 12:44 PM, Devi Krishna wrote: > > > Wondering if this is a known issue, and if there is any solution > > for it. > > Not having written the code, I think the Pipe Of Death (POD) is a > mechanism for the server to draw the attention of workers that are > sitting in accept(). Receiving a request causes them to return from > accept() and become aware of the restart or shutdown signal. > > S. > > -- > sctemme@apache.org http://www.temme.net/sander/ > PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40 1529 24AF > > > > > ------=_Part_55589_12901429.1170709418666 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Sander

 Thanks for the quick response !  However, I am surprised that when it returns from accept, why would accept return a valid socket id and not -1 ?

Thanks & Regards
Devi

On 2/5/07, Sander Temme <sctemme@apache.org> wrote:

On Feb 5, 2007, at 12:44 PM, Devi Krishna wrote:

> Wondering if this is a known issue, and if there is any solution
> for it.

Not having written the code, I think the Pipe Of Death (POD) is a
mechanism for the server to draw the attention of workers that are
sitting in accept().  Receiving a request causes them to return from
accept() and become aware of the restart or shutdown signal.

S.

--
sctemme@apache.org            http://www.temme.net/sander/
PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF





------=_Part_55589_12901429.1170709418666--