[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: why are the watchdog drivers blacklisted?



On Mon, 08 Feb 2010, Henrique de Moraes Holschuh wrote:
> On Tue, 09 Feb 2010, Darren Salt wrote:
> > I demand that Guillem Jover may or may not have written...
> > > On Mon, 2010-02-08 at 20:15:30 +0100, Michael Meskes wrote:
> > >> Please keep in mind the OOM killer will only influence watchdog if it
> > >> happens to kill it. If you happen to run out of memory though, you can
> > >> tell watchdog to test if enough free mem is available.
> > 
> > > The OOM killer can be disabled for precious processes by writting the
> > > string "-17" to ???/proc/<pid>/oom_adj???.
> > 
> > That sounds to me like a good thing to do by default.
> 
> And while at it, change wd_keepalive and watchdog to default to pat at 1Hz
> instead of 0.1Hz.  That will reduce a _lot_ the changes of spurious
> reboots.

For the record, the watchdog daemon seems not to be able to deal with 1Hz
cleanly (must have something to do with these zombies it likes to keep
around for 1s) in my test boxes.  It can do 0.5Hz just fine though.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh


Reply to: