From owner-freebsd-stable@FreeBSD.ORG Fri Jul 15 10:52:02 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3BE7D16A41C for ; Fri, 15 Jul 2005 10:52:02 +0000 (GMT) (envelope-from M.Santhoff@t-online.de) Received: from mailout11.sul.t-online.com (mailout11.sul.t-online.com [194.25.134.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id C44E943D58 for ; Fri, 15 Jul 2005 10:52:01 +0000 (GMT) (envelope-from M.Santhoff@t-online.de) Received: from fwd19.aul.t-online.de by mailout11.sul.t-online.com with smtp id 1DtNnU-0002E3-01; Fri, 15 Jul 2005 12:52:00 +0200 Received: from localhost.das.netz (Xd7Y4cZdYeTXSGLyWdhEAHWp5g8R88CDiUhjf5JoFEVWt+btisQjwD@[217.251.155.231]) by fwd19.sul.t-online.de with esmtp id 1DtNnD-1ozRxo0; Fri, 15 Jul 2005 12:51:43 +0200 Received: from zaphod.das.netz (zaphod.das.netz [10.0.0.3]) by localhost.das.netz (8.13.1/8.13.1) with ESMTP id j6FAh4Su078044 for ; Fri, 15 Jul 2005 12:43:04 +0200 (CEST) (envelope-from M.Santhoff@t-online.de) From: Marc Santhoff To: freebsd-stable@freebsd.org In-Reply-To: <20050715051542.GA80213@tmn.ru> References: <42D6B117.5080302@plab.ku.dk> <20050714191449.A8A615D07@ptavv.es.net> <20050714191942.GA98637@freebie.xs4all.nl> <6.2.1.2.2.20050714161537.0378c310@mail.rfnj.org> <20050715051542.GA80213@tmn.ru> Content-Type: text/plain Date: Fri, 15 Jul 2005 12:44:17 +0200 Message-Id: <1121424257.295.9.camel@localhost.das.netz> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-ID: Xd7Y4cZdYeTXSGLyWdhEAHWp5g8R88CDiUhjf5JoFEVWt+btisQjwD X-TOI-MSGID: 6e897a9f-0289-4593-b89b-a090702420b7 Subject: reducing shutdown time (was: Re: dangerous situation with shutdown process) 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: Fri, 15 Jul 2005 10:52:02 -0000 Am Freitag, den 15.07.2005, 11:15 +0600 schrieb Sergey N. Voronkov: > On Thu, Jul 14, 2005 at 04:17:06PM -0400, asym wrote: > > At 15:19 7/14/2005, Wilko Bulte wrote: > > >On Thu, Jul 14, 2005 at 12:14:49PM -0700, Kevin Oberman wrote.. > > >> > Date: Thu, 14 Jul 2005 20:38:15 +0200 > > >> > From: Anatoliy Dmytriyev > > >> > Sender: owner-freebsd-stable@freebsd.org [...] > If you can't increase shutdown timeout, decrease softupdates timers. > > # tail -3 /etc/sysctl.conf > kern.metadelay=14 > kern.dirdelay=15 > kern.filedelay=17 > > That was my solution for shutdown wait timeout. Intersting, I didn't know these knobs. Would it be okay to set them to zero on an embedded system with r/o file systems? And are there other variables tunable for reducing shutdown time (on 4-STABLE)? TIA, Marc