[Voyage-linux] Watchdog configuration
Robert Rawlins
(spam-protected)
Wed Aug 27 20:41:14 HKT 2008
Morning guys,
I've been reassessing my watchdog configuration this morning to tighten it
up a little bit and ensure we have it covering all our bases.
In the past we have seen the occasional scenario of memory being eaten up by
a broken application, I'd ideally like to have Watchdog keep an eye on
available memory on the system and if we reach a minimal fee memory limit
then the system will be reset.
After looking through the Watchdog.conf manpage it gives the following
description:
min-memory = <minpage>
Set the minimal amount of virtual memory that has to stay free. Note that
this is in pages. Default value is 0 pages which means this test is
disabled. The page size is taken from the system include files.
My question with regards to this is, how does a 'page' refer to MB of free
memory? How many pages make up 1 MB? For instance, if I wanted to reboot the
system when we had only 20MB of available memory, what would my <minpage>
setting be? This is a horribly naive question I know but it's not something
I've worked with before. J
Next up, temperature. Say I'm running an ALIX 3C2, do I have access to a
temperature device in order for watchdog to keep an eye and make sure it
doesn't get too high? If so, what's the path for the device and will it work
out the box with watchdog?
Many thanks guys, I look forward to any advice you can offer.
Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20080827/445e21c0/attachment-0001.html>
More information about the Voyage-linux
mailing list