Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 69219 invoked from network); 28 Sep 2010 14:02:30 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 Sep 2010 14:02:30 -0000 Received: (qmail 94079 invoked by uid 500); 28 Sep 2010 14:02:27 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 93795 invoked by uid 500); 28 Sep 2010 14:02:24 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 93787 invoked by uid 99); 28 Sep 2010 14:02:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Sep 2010 14:02:23 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of snmp.apache@gmail.com designates 209.85.216.45 as permitted sender) Received: from [209.85.216.45] (HELO mail-qw0-f45.google.com) (209.85.216.45) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Sep 2010 14:02:16 +0000 Received: by qwk4 with SMTP id 4so3676957qwk.18 for ; Tue, 28 Sep 2010 07:01:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=WWrVEEC/AUOMhejZgfvhFXwnBRHHSFVuATJQVlc6TQw=; b=Uo9bFHBJnk55gt+c4VWs4zN8GRBSnVGx+yabWZlSkp5h12isWA5uvgpBtJ2TE1XtCI 1RKGtQmkObxiQf5UhsMebIO3KV7yxY74SdapMVnCyI0vESqQe0EBregNZextpcB3ar3P w+ggp8lYJ96Duve6FwGHhMuX6KGZgdrwyf9QQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=bNcUrGOdLTFYV1N2jXlGEyauJld3cnwnxIQKDUKz2mqvMWSsv/9jY9jL1pIfbKhUK7 Osvr5I+P9VMESUYlzjby/F+iaOLSxaG9Qli/Rm9Pr9w20MZrZcXRgfJul5umxrJHeLKT paXH6V2ydZLT/bynjObuoFSU0KbbzKP2uSAr4= MIME-Version: 1.0 Received: by 10.224.29.10 with SMTP id o10mr6893355qac.244.1285682514642; Tue, 28 Sep 2010 07:01:54 -0700 (PDT) Received: by 10.229.85.10 with HTTP; Tue, 28 Sep 2010 07:01:54 -0700 (PDT) In-Reply-To: References: Date: Tue, 28 Sep 2010 10:01:54 -0400 Message-ID: From: Brad Lira To: users@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] child recycling i am setting some variable in scoreboard that are global to all processes, so i wouldn't want recycling of one child process to reset those counters. I did more testing and it seems that it doesn't but wanted to get a second opinion. thanks for you response. On Mon, Sep 27, 2010 at 5:31 PM, Eric Covener wrote: > On Mon, Sep 27, 2010 at 5:09 PM, Brad Lira wrote: >> hello, >> >> when the MaxRequestsPerChild has reached, and the child is killed, >> does the is_graceful variable set in worker.c? > > It doesn't appear so > >> If so, how can differentiate between ./apachectl graceful =A0and child r= ecycling. > > I think you can just set a cleanup on pconf and you'll see it run in the = parent. > >> I want to reset some counters if the entire apache was restarted, but >> not if the child is recycled. > > You could just clear them in post_config if they live in the parent > process. =A0Otherwise, you're getting new children anyway. > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project= . > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > =A0 " =A0 from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org