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
_______________________________________________ Voyage-linux mailing list [email protected] http://list.voyage.hk/mailman/listinfo/voyage-linux
