<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-GB link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal>Morning guys,<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>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.<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>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.<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>After looking through the Watchdog.conf manpage it gives the
following description:<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><span lang=EN style='font-size:9.0pt;font-family:"Verdana","sans-serif";
color:black'>min-memory = <minpage> <o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:138.0pt'><span lang=EN style='font-size:
9.0pt;font-family:"Verdana","sans-serif";color:black'>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. <o:p></o:p></span></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>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. <span
style='font-family:Wingdings'>J</span><o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>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?<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Many thanks guys, I look forward to any advice you can
offer.<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Rob<o:p></o:p></p>

</div>

</body>

</html>