From owner-freebsd-bugs@FreeBSD.ORG Sun Feb 18 11:20:07 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4489F16A402 for ; Sun, 18 Feb 2007 11:20:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 1A38313C471 for ; Sun, 18 Feb 2007 11:20:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l1IBK6A7016936 for ; Sun, 18 Feb 2007 11:20:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l1IBK6ap016935; Sun, 18 Feb 2007 11:20:06 GMT (envelope-from gnats) Resent-Date: Sun, 18 Feb 2007 11:20:06 GMT Resent-Message-Id: <200702181120.l1IBK6ap016935@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Radim Kolar SF.NET" Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8888216A406 for ; Sun, 18 Feb 2007 11:10:19 +0000 (UTC) (envelope-from hsn@sendmail.cz) Received: from smtp-out3.iol.cz (smtp-out3.iol.cz [194.228.2.91]) by mx1.freebsd.org (Postfix) with ESMTP id 1FA9713C4A5 for ; Sun, 18 Feb 2007 11:10:18 +0000 (UTC) (envelope-from hsn@sendmail.cz) Received: from antivir5.iol.cz (unknown [192.168.30.212]) by smtp-out3.iol.cz (Postfix) with ESMTP id 9B42A649AE for ; Sun, 18 Feb 2007 12:10:15 +0100 (CET) Received: from localhost (antivir5.iol.cz [127.0.0.1]) by antivir5.iol.cz (Postfix) with ESMTP id 85D4166C006 for ; Sun, 18 Feb 2007 12:10:15 +0100 (CET) Received: from antivir5.iol.cz ([127.0.0.1]) by localhost (antivir5.iol.cz [127.0.0.1]) (amavisd-new, port 10224) with LMTP id 4U2RCa82vN14 for ; Sun, 18 Feb 2007 12:10:15 +0100 (CET) Received: from smtp-out3.iol.cz (mta-out3 [192.168.30.28]) by antivir5.iol.cz (Postfix) with ESMTP id 69C8E66C005 for ; Sun, 18 Feb 2007 12:10:15 +0100 (CET) Received: from sanatana.dharma (234.114.broadband5.iol.cz [88.100.114.234]) by smtp-out3.iol.cz (Postfix) with ESMTP id 39D1457E4E for ; Sun, 18 Feb 2007 12:10:13 +0100 (CET) Received: from hsn-sf@localhost by sanatana.dharma (Exim 4.63_0 FreeBSD) id 1HIjvm-000G7v-K5 ; Sun, 18 Feb 2007 12:10:10 +0100 Message-Id: Date: Sun, 18 Feb 2007 12:10:10 +0100 From: "Radim Kolar SF.NET" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: hsn-sf@sd.iol.cz Subject: conf/109272: increase default rc shutdown timeout X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Radim Kolar SF.NET" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Feb 2007 11:20:07 -0000 >Number: 109272 >Category: conf >Synopsis: increase default rc shutdown timeout >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Feb 18 11:20:05 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Radim Kolar >Release: FreeBSD 6.2-RELEASE i386 >Organization: >Environment: System: FreeBSD sanatana.dharma 6.2-RELEASE FreeBSD 6.2-RELEASE #1: Sun Jan 14 11:36:17 CET 2007 root@sanatana.dharma:/usr/obj/usr/src/sys/UP i386 >Description: default rcshutdown timeout, 30 seconds is too small. many users runs squid cache and squid cache in default configuration uses 30 second timeout itself before shuting down + time needed to write new store log. Also pgsql database on busy sites needs about 20 seconds to shutdown and fsync datafiles. While busy pgsql are not very common, squid cache is. Default timeout should be increased to meet these demands. Adding 30 more seconds to shutdown timer will no do any harm since programs jammed in shutdown stage are rare and waiting 30 more seconds per jammed shutdown is surviveable. linux distributions are using 60-180 seconds timeout, so FreeBSD 30 second is too small compared to rest of unixes. >How-To-Repeat: run squid in default configuration and on shutdown you will get following error message. rc.shutdown: 30 second watchdog timeout expired. Shutdown terminated. >Fix: change /etc/defaults/rc.conf to rcshutdown_timeout="60" >Release-Note: >Audit-Trail: >Unformatted: