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

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



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