Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 2009 13:11:38 -0800 (PST)
From:      Peter Steele <psteele@maxiscale.com>
To:        freebsd-questions@freebsd.org
Subject:   What is correct way to enable watchdog?
Message-ID:  <33296720.221235423494723.JavaMail.HALO$@halo>
In-Reply-To: <19230938.201235423210003.JavaMail.HALO$@halo>

next in thread | previous in thread | raw e-mail | index | archive | help
We have our systems configured with the watchdog enabled, with /etc/rc.d/watchdogd defined as 

. /etc/rc.subr 
name="watchdogd" 
rcvar="`set_rcvar`" 
command="/usr/sbin/${name}" 
command_args="-s 10 -t 300" 
pidfile="/var/run/${name}.pid" 
load_rc_config $name 
run_rc_command "$1" 

We assumed this would give us a watchdog timeout of 300 seconds (5 minutes), meaning a system would not reboot unless it is non-responsive for five minutes. However, in a recent stress test we had unexplained spontaneous reboots on two systems, with no logs of any kind to indicate why the systems rebooted. 

Do we have something wrong with how the watchdog should be configured? 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33296720.221235423494723.JavaMail.HALO$>