<div dir="ltr"><div dir="ltr"><div dir="ltr">On Wed, 10 Mar 2021 at 19:02, Carl Melgaard <<a href="mailto:Carl.Melgaard@stab.rm.dk">Carl.Melgaard@stab.rm.dk</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="DA">
<div class="gmail-m_-3666405618632225793WordSection1">
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="color:black;font-family:Verdana,sans-serif;font-size:10pt"> </span><br></p></div><div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="color:black">></span><span lang="EN-US">$ pgrep -lf vmstat<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="color:black">></span><span lang="EN-US">8304 sh -c vmstat 300 2 1>/usr/lib/xymon/client/tmp/xymon_vmstat.<servername>.8252 2>&1; mv /usr/lib/xymon/client/tmp/xymon_vmstat.<servername>.8252 /usr/lib/xymon/client/tmp/xymon_vmstat.<servername><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">></span>8306 vmstat 300 2<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Verdana,sans-serif;color:black">$ps –ef |grep vmstat<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Verdana,sans-serif;color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Verdana,sans-serif;color:black">xymon    14896 14893  0 08:50 ?        00:00:00 vmstat 300 2<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10pt;font-family:Verdana,sans-serif;color:black">xymon    14904 14898  0 08:50 ?        00:00:00 vmstat 300 2<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Verdana,sans-serif;color:black">I noticed these 2 running, and couldnt figure out how both were spawned. Maybe I should “DISABLED” the client-part in clientlaunch.cfg – I see now
 that theres actually a xymonclient-part in tasks.cfg… There we have the 2 instances!</span></p></div></div></div></div></div></div></div></div></div></blockquote><div><br></div><div>Yes, that'd be it. Disable one of those.</div><div><br></div><div>The clientlaunch.cfg file comments say:</div><div><br></div><div><div># Note: On the Xymon *server* itself, this file is normally</div><div>#       NOT used. Instead, both the client- and server-tasks</div><div>#       are controlled by the tasks.cfg file.</div></div><div><br></div><div>On a client, the clientlaunch.cfg file is loaded by /usr/lib/xymon/<b>client</b>/bin/xymonlaunch (note the "client" rather than the "server" in the path). The client instance has "--config=/usr/lib/xymon/client/etc/clientlaunch.cfg" as a parameter, to use the contents of that file. It's not usual for this instance of xymonlaunch to run on a Xymon server.</div><div><br></div><div>Your symptoms suggest that you have a client instance "xymonlaunch --config=...client/etc/clientlaunch.cfg" as well as the server instance. However your "ps -ef|grep xymonlaunch" only shows one. So I'm puzzled how the clientlaunch.cfg file is being processed.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="DA"><div class="gmail-m_-3666405618632225793WordSection1"><div><div><div><div><div><div><div><p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Verdana,sans-serif;color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10pt;font-family:Verdana,sans-serif;color:black">I guess I’ll try that
</span><span lang="EN-US" style="font-size:10pt;font-family:Wingdings;color:black">J</span><span lang="EN-US" style="font-size:10pt;font-family:Verdana,sans-serif;color:black"> Thanks for pointing me right at the answer! Now I just have to figure out,
 why the new server is eating up 10 times more RAM than the old server, with the same amount of hosts monitored.</span></p></div></div></div></div></div></div></div></div></div></blockquote><div><br></div><div>I note that you've moved quite a few OS iterations from CentOS 5 to RHEL 7. The kernel memory management is likely to be a bit different. You might find that the extra RAM usage is simply taken up by kernel buffers and cache, so isn't really "in use" in the traditional sense.</div><div><br></div><div>Cheers</div><div>Jeremy</div><div><br></div></div></div></div>