How to terminate a lot of jails correctly

Erik Stian Tefre erik at tefre.com
Mon Sep 20 09:52:13 UTC 2010


> 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


More information about the freebsd-stable mailing list