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