Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Sep 2010 14:07:36 +0400
From:      S.N.Grigoriev <serguey-grigoriev@yandex.ru>
To:        Erik Stian Tefre <erik@tefre.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: How to terminate a lot of jails correctly
Message-ID:  <14311284977257@web78.yandex.ru>
In-Reply-To: <4C972B3E.2050108@tefre.com>
References:  <4C7D01F7.4010003@zirakzigil.org> <265911284972128@web78.yandex.ru> <4C972B3E.2050108@tefre.com>

next in thread | previous in thread | raw e-mail | index | archive | help


20.09.10, 13:37, "Erik Stian Tefre" <erik@tefre.com>:

> > I use a server (FreeBSD 8.1R amd64) with two dozens of jails configured.
>  > I've found out that only a few of them are terminated normally (via
>  > /etc/rc.shutdown) during the system shutdown. FreeBSD reports that
>  > 20sec interval has elapsed and simply kills all the jails that are not yet
>  > terminated. I would like to know in what way can I fix it using the system
>  > tools only (not ezjail, Qjail etc).
>  
>  Increasing rcshutdown_timeout in /etc/rc.conf may help. The default
>  value is set to 30 seconds in /etc/defaults/rc.conf.
>  

Erik,

thank you for your tip. The only drawback of that approche  is absence of
ability to calculate a timeout. Try and error only.

-- 
Regards,
S.Grigoriev.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14311284977257>