Re: [Vserver] Problem with shutdown

From: Enrico Scholz <enrico.scholz_at_sigma-chemnitz.de>
Date: Wed 07 Dec 2005 - 08:58:27 GMT
Message-ID: <ly4q5luvv0.fsf@ensc-pc.intern.sigma-chemnitz.de>

roche@upfrontsystems.co.za (Roché Compaan) writes:

> Squid takes longer than most processes to stop, and this seems be a
> problem when stopping a vserver:
> ...
> Stopping proxy server: (waiting.............../usr/sbin/vserver: line
> 85: 20939 Killed "${NICE_CMD[@]}" ${USE_VNAMESPACE:
> +$_VNAMESPACE --enter "$S_CONTEXT" -- } $_VCONTEXT $SILENT_OPT --migrate
> --chroot --xid "$S_CONTEXT" -- "${INITCMD_STOP[@]}"
>
> Is the stop script experiencing a timeout and if so, is there a
> setting one can change to let it wait until squid has stopped
> completely?

E.g.

# echo 60 > /etc/vservers/www-cache/apps/vshelper/sync-timeout

increases the timeout from 30 to 60 seconds.

Enrico

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver

Received on Wed Dec 7 08:59:00 2005
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 07 Dec 2005 - 08:59:08 GMT by hypermail 2.1.8