From hsn@sendmail.cz  Sun Feb 18 11:10:19 2007
Return-Path: <hsn@sendmail.cz>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 8888216A406
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>;
	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 <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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: <E1HIjvm-000G7v-K5@sanatana.dharma>
Date: Sun, 18 Feb 2007 12:10:10 +0100
From: Radim Kolar SF.NET <hsn@sendmail.cz>
Reply-To: Radim Kolar SF.NET <hsn@sendmail.cz>
To: FreeBSD-gnats-submit@freebsd.org
Cc: hsn-sf@sd.iol.cz
Subject: increase default rc shutdown timeout
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         109272
>Category:       conf
>Synopsis:       [request] increase default rc shutdown timeout
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dougb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 18 11:20:05 GMT 2007
>Closed-Date:    Mon Feb 20 10:17:13 UTC 2012
>Last-Modified:  Mon Feb 20 10:20:17 UTC 2012
>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 shutting 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:

From: Niclas Zeising <niclas.zeising@gmail.com>
To: bug-followup@FreeBSD.org, hsn@sendmail.cz, freebsd-rc@freebsd.org
Cc:  
Subject: Re: conf/109272: [request] increase default rc shutdown timeout
Date: Tue, 17 May 2011 16:44:59 +0200

 Does any of you rc people have any objections? If not, this can be changed.
 Regards!
 -- 
 Niclas
Responsible-Changed-From-To: freebsd-bugs->freebsd-rc 
Responsible-Changed-By: eadler 
Responsible-Changed-When: Tue May 17 15:15:11 UTC 2011 
Responsible-Changed-Why:  
This belongs to you 

http://www.freebsd.org/cgi/query-pr.cgi?pr=109272 
State-Changed-From-To: open->patched 
State-Changed-By: dougb 
State-Changed-When: Fri Feb 17 07:55:54 UTC 2012 
State-Changed-Why:  

I bumped it to 90 in r231862. 


Responsible-Changed-From-To: freebsd-rc->dougb 
Responsible-Changed-By: dougb 
Responsible-Changed-When: Fri Feb 17 07:55:54 UTC 2012 
Responsible-Changed-Why:  

I'll MFC this one 

http://www.freebsd.org/cgi/query-pr.cgi?pr=109272 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: conf/109272: commit references a PR
Date: Fri, 17 Feb 2012 07:59:47 +0000 (UTC)

 Author: dougb
 Date: Fri Feb 17 07:59:37 2012
 New Revision: 231862
 URL: http://svn.freebsd.org/changeset/base/231862
 
 Log:
   Increase the default shutdown timer to 90 seconds. This will allow
   certain systems that take a long time to shut down, without adversely
   affecting things that shut down quickly. It's also 30 seconds less than
   the default hard limit of 120 seconds in kern.init_shutdown_timeout.
   
   PR:		conf/109272
   Submitted by:	Radim Kolar SF.NET <hsn@sendmail.cz>
 
 Modified:
   head/etc/defaults/rc.conf
 
 Modified: head/etc/defaults/rc.conf
 ==============================================================================
 --- head/etc/defaults/rc.conf	Fri Feb 17 06:58:40 2012	(r231861)
 +++ head/etc/defaults/rc.conf	Fri Feb 17 07:59:37 2012	(r231862)
 @@ -24,7 +24,7 @@
  rc_debug="NO"		# Set to YES to enable debugging output from rc.d
  rc_info="NO"		# Enables display of informational messages at boot.
  rc_startmsgs="YES" 	# Show "Starting foo:" messages at boot
 -rcshutdown_timeout="30" # Seconds to wait before terminating rc.shutdown
 +rcshutdown_timeout="90" # Seconds to wait before terminating rc.shutdown
  early_late_divider="FILESYSTEMS"	# Script that separates early/late
  			# stages of the boot process.  Make sure you know
  			# the ramifications if you change this.
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: dougb 
State-Changed-When: Mon Feb 20 10:16:48 UTC 2012 
State-Changed-Why:  

The change has been MFC'ed 

http://www.freebsd.org/cgi/query-pr.cgi?pr=109272 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: conf/109272: commit references a PR
Date: Mon, 20 Feb 2012 10:13:21 +0000 (UTC)

 Author: dougb
 Date: Mon Feb 20 10:13:09 2012
 New Revision: 231933
 URL: http://svn.freebsd.org/changeset/base/231933
 
 Log:
   MFC r231862:
   Increase the default shutdown timer to 90 seconds. This will allow
   certain systems that take a long time to shut down, without adversely
   affecting things that shut down quickly. It's also 30 seconds less than
   the default hard limit of 120 seconds in kern.init_shutdown_timeout.
   
   PR:		conf/109272
   Submitted by:	Radim Kolar SF.NET <hsn@sendmail.cz>
 
 Modified:
   stable/9/etc/defaults/rc.conf
 Directory Properties:
   stable/9/etc/   (props changed)
 
 Modified: stable/9/etc/defaults/rc.conf
 ==============================================================================
 --- stable/9/etc/defaults/rc.conf	Mon Feb 20 09:56:14 2012	(r231932)
 +++ stable/9/etc/defaults/rc.conf	Mon Feb 20 10:13:09 2012	(r231933)
 @@ -24,7 +24,7 @@
  rc_debug="NO"		# Set to YES to enable debugging output from rc.d
  rc_info="NO"		# Enables display of informational messages at boot.
  rc_startmsgs="YES" 	# Show "Starting foo:" messages at boot
 -rcshutdown_timeout="30" # Seconds to wait before terminating rc.shutdown
 +rcshutdown_timeout="90" # Seconds to wait before terminating rc.shutdown
  early_late_divider="FILESYSTEMS"	# Script that separates early/late
  			# stages of the boot process.  Make sure you know
  			# the ramifications if you change this.
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: conf/109272: commit references a PR
Date: Mon, 20 Feb 2012 10:14:36 +0000 (UTC)

 Author: dougb
 Date: Mon Feb 20 10:14:22 2012
 New Revision: 231934
 URL: http://svn.freebsd.org/changeset/base/231934
 
 Log:
   MFC r231862:
   Increase the default shutdown timer to 90 seconds. This will allow
   certain systems that take a long time to shut down, without adversely
   affecting things that shut down quickly. It's also 30 seconds less than
   the default hard limit of 120 seconds in kern.init_shutdown_timeout.
   
   PR:		conf/109272
   Submitted by:	Radim Kolar SF.NET <hsn@sendmail.cz>
   
   Approved by:	re (kib)
 
 Modified:
   stable/8/etc/defaults/rc.conf
 Directory Properties:
   stable/8/etc/   (props changed)
 
 Modified: stable/8/etc/defaults/rc.conf
 ==============================================================================
 --- stable/8/etc/defaults/rc.conf	Mon Feb 20 10:13:09 2012	(r231933)
 +++ stable/8/etc/defaults/rc.conf	Mon Feb 20 10:14:22 2012	(r231934)
 @@ -24,7 +24,7 @@
  rc_debug="NO"		# Set to YES to enable debugging output from rc.d
  rc_info="NO"		# Enables display of informational messages at boot.
  rc_startmsgs="YES" 	# Show "Starting foo:" messages at boot
 -rcshutdown_timeout="30" # Seconds to wait before terminating rc.shutdown
 +rcshutdown_timeout="90" # Seconds to wait before terminating rc.shutdown
  early_late_divider="FILESYSTEMS"	# Script that separates early/late
  			# stages of the boot process.  Make sure you know
  			# the ramifications if you change this.
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: conf/109272: commit references a PR
Date: Mon, 20 Feb 2012 10:15:36 +0000 (UTC)

 Author: dougb
 Date: Mon Feb 20 10:15:20 2012
 New Revision: 231935
 URL: http://svn.freebsd.org/changeset/base/231935
 
 Log:
   MFC r231862:
   Increase the default shutdown timer to 90 seconds. This will allow
   certain systems that take a long time to shut down, without adversely
   affecting things that shut down quickly. It's also 30 seconds less than
   the default hard limit of 120 seconds in kern.init_shutdown_timeout.
   
   PR:		conf/109272
   Submitted by:	Radim Kolar SF.NET <hsn@sendmail.cz>
 
 Modified:
   stable/7/etc/defaults/rc.conf
 Directory Properties:
   stable/7/etc/   (props changed)
 
 Modified: stable/7/etc/defaults/rc.conf
 ==============================================================================
 --- stable/7/etc/defaults/rc.conf	Mon Feb 20 10:14:22 2012	(r231934)
 +++ stable/7/etc/defaults/rc.conf	Mon Feb 20 10:15:20 2012	(r231935)
 @@ -23,7 +23,7 @@
  
  rc_debug="NO"		# Set to YES to enable debugging output from rc.d
  rc_info="NO"		# Enables display of informational messages at boot.
 -rcshutdown_timeout="30" # Seconds to wait before terminating rc.shutdown
 +rcshutdown_timeout="90" # Seconds to wait before terminating rc.shutdown
  early_late_divider="FILESYSTEMS"	# Script that separates early/late
  			# stages of the boot process.  Make sure you know
  			# the ramifications if you change this.
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
>Unformatted:
