httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brad Lira <snmp.apa...@gmail.com>
Subject Re: [users@httpd] child recycling
Date Tue, 28 Sep 2010 14:01:54 GMT
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 <covener@gmail.com> wrote:
> On Mon, Sep 27, 2010 at 5:09 PM, Brad Lira <snmp.apache@gmail.com> 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  and child recycling.
>
> 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.  Otherwise, you're getting new children anyway.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> 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
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> 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


Mime
View raw message