You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Petr Hracek <ph...@gmail.com> on 2010/10/18 10:25:52 UTC

How to restore HTTP settings/sessions during GRACEFUL restart

Dear apache2 users,

sorry for bother you with this issue but I need help from the apache2
developers.
In my module I am setting some HTTP settings like sessions and HTTP Title etc.

When I am calling sending SIGHUP or restarting apache2 over apache2ctl
then setting are lost.
That's correct behaviour.

But when I am sending SIGUSR1 or apache2ctl -k graceful HTTP settings
and sessions are lost as well
and that's not correct behaviour.
Is there any interface how to catch sessions and HTTP Title during
apache2 graceful
restart so that after restarting apache2 sessions and HTTP Title will
be still existing and working?

Is there any simple module/ example  where is this situation described?

Thank you in advance

-- 
Best Regards / S pozdravem
Petr Hracek

Re: How to restore HTTP settings/sessions during GRACEFUL restart

Posted by Eric Covener <co...@gmail.com>.
On Mon, Oct 18, 2010 at 4:25 AM, Petr Hracek <ph...@gmail.com> wrote:
> Dear apache2 users,
>
> sorry for bother you with this issue but I need help from the apache2
> developers.
> In my module I am setting some HTTP settings like sessions and HTTP Title etc.
>

Please take this to the  modules-dev list.

where/how/with what lifetime?

> When I am calling sending SIGHUP or restarting apache2 over apache2ctl
> then setting are lost.
> That's correct behaviour.
>
> But when I am sending SIGUSR1 or apache2ctl -k graceful HTTP settings
> and sessions are lost as well
> and that's not correct behaviour.

What settings?  What session?  Are they lost in the in the children
that are exiting or in the new children that come up with the new
configuration?

If it's the latter, why do you expect them to still be there?