Hi,

How do you configure "GracefulShutdownTimeout"?

2011/5/26 Petr Hracek <[email protected]>

> Dear developers,
>
> My situation is following:
> In my Apache2 running in prefork mode I have following situation.
>
> Whole pages (except loging page) are run over https (port 443) and
> authentication is done over my own module.
> When the most users are looking on the pages (https) then I would like
> to reload configuration of my apache over command
> apache2ctl -k graceful
>
> I suggest that new users will see new configuration and old users will
> have their session till they will not logout.
>
> But unfortunatelly all sessions are closed and as new as old users
> have to login again for other work.
>
> Is there any solution for that like detection for gracefull restart?
> Do you now any idea how to do that?
>
> My apache2 which is delivered by SUSE is pretty old (I know).
> linux:~ # httpd2 -l
> Compiled in modules:
>  core.c
>  prefork.c
>  http_core.c
>  mod_so.c
> linux:~ # httpd2 -V
> Server version: Apache/2.2.3
> Server built:   Apr 14 2010 11:41:47
> Server's Module Magic Number: 20051115:3
> Server loaded:  APR 1.2.2, APR-Util 1.2.2
> Compiled using: APR 1.2.2, APR-Util 1.2.2
> Architecture:   32-bit
> Server MPM:     Prefork
>  threaded:     no
>    forked:     yes (variable process count)
> Server compiled with....
>  -D APACHE_MPM_DIR="server/mpm/prefork"
>  -D APR_HAS_SENDFILE
>  -D APR_HAS_MMAP
>  -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
>  -D APR_USE_SYSVSEM_SERIALIZE
>  -D APR_USE_PTHREAD_SERIALIZE
>  -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
>  -D APR_HAS_OTHER_CHILD
>  -D AP_HAVE_RELIABLE_PIPED_LOGS
>  -D DYNAMIC_MODULE_LIMIT=128
>  -D HTTPD_ROOT="/srv/www"
>  -D SUEXEC_BIN="/usr/sbin/suexec2"
>  -D DEFAULT_PIDLOG="/var/run/httpd2.pid"
>  -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
>  -D DEFAULT_LOCKFILE="/var/run/accept.lock"
>  -D DEFAULT_ERRORLOG="/var/log/apache2/error_log"
>  -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
>  -D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf"
> linux:~ #
>
> Thank you in advance.
> --
> Best Regards / S pozdravem
> Petr Hracek
>

Reply via email to