From owner-freebsd-stable@FreeBSD.ORG Wed Sep 22 09:55:07 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 655451065675 for ; Wed, 22 Sep 2010 09:55:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [IPv6:2001:4068:10::3]) by mx1.freebsd.org (Postfix) with ESMTP id EAAD88FC1A for ; Wed, 22 Sep 2010 09:55:06 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id F13F941C7A4; Wed, 22 Sep 2010 11:55:05 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([192.168.74.103]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id wveCk0OIZ3Xg; Wed, 22 Sep 2010 11:55:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id 82F7E41C7B5; Wed, 22 Sep 2010 11:55:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 4DD2C4448FA; Wed, 22 Sep 2010 09:53:22 +0000 (UTC) Date: Wed, 22 Sep 2010 09:53:22 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: "S.N.Grigoriev" In-Reply-To: <14311284977257@web78.yandex.ru> Message-ID: <20100922095218.F31898@maildrop.int.zabbadoz.net> References: <4C7D01F7.4010003@zirakzigil.org> <265911284972128@web78.yandex.ru> <4C972B3E.2050108@tefre.com> <14311284977257@web78.yandex.ru> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: How to terminate a lot of jails correctly X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Sep 2010 09:55:07 -0000 On Mon, 20 Sep 2010, S.N.Grigoriev wrote: > thank you for your tip. The only drawback of that approche is absence of > ability to calculate a timeout. Try and error only. Well, you could do a try-run just shutiing down all your jails by time sh /etc/rc.d/jail stop measuring the time it takes and maybe add a bit for extra safety? /bz -- Bjoern A. Zeeb Welcome a new stage of life.