making PANIC_REBOOT_WAIT_TIME a tunable

Mark Felder feld at FreeBSD.org
Wed Dec 4 13:42:25 UTC 2013



On Mon, Dec 2, 2013, at 2:26, Colin Percival wrote:
> Hi all,
> 
> It seems that PANIC_REBOOT_WAIT_TIME has been a compile-time setting
> forever;
> and I can't see any reason for this, but I assume there was one... at
> some
> point in the distant past.
> 
> The attached patch makes it a loader tunable and sysctl.  My reason for
> wanting
> this is to make EC2 images reboot faster after a panic (not that it
> happens
> very often, of course) -- there's no point waiting for a key press at the
> console because the EC2 console is output-only.
> 
> Any objections?
> 

I tend to cheat this problem by using watchdog on my hardware servers.
This sounds quite convenient as I can't use watchdog in VMs...


More information about the freebsd-current mailing list