<div dir="ltr"><div dir="ltr"><div dir="ltr">On Wed, 10 Mar 2021 at 23:53, 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_5398701363803114369WordSection1">
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="color:black">></span><span lang="EN-US">Your symptoms suggest that you have a client instance "xymonlaunch --config=...client/etc/clientlaunch.cfg" as well as the server instance.
</span>However your "ps -ef|grep xymonlaunch" only shows one. So I'm puzzled how the clientlaunch.cfg file is being processed.<br></p></div><div><div><p class="MsoNormal"><u></u></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 think it runs from a service, as xymon-client is a seperate package.</span></p></div></div></div></div></div></div></blockquote><div><br></div><div>Hmm, the Terabithia package postinstall script (from output of `rpm -q --scripts xymon-client` shows:</div><div><br></div></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div class="gmail_quote"><div><div><font face="monospace"># This is a hack, but we don't want to double-bounce xymonlaunch,</font></div></div></div></div><div><div class="gmail_quote"><div><div><font face="monospace"># so let the server package handle it if both are installed...</font></div></div></div></div><div><div class="gmail_quote"><div><div><font face="monospace">if [ ! -e "/etc/xymon/xymonserver.cfg" ] ; then</font></div></div></div></div><div><div class="gmail_quote"><div><div><font face="monospace"><br></font></div></div></div></div><div><div class="gmail_quote"><div><div><font face="monospace"># add unit file or init script; restart if already running</font></div></div></div></div><div><div class="gmail_quote"><div><div><font face="monospace"><br></font></div></div></div></div><div><div class="gmail_quote"><div><div><font face="monospace">if [ $1 -eq 1 ] ; then</font></div></div></div></div><div><div class="gmail_quote"><div><div><font face="monospace">        # Initial installation</font></div></div></div></div><div><div class="gmail_quote"><div><div><font face="monospace">        systemctl preset xymonlaunch.service >/dev/null 2>&1 || :</font></div></div></div></div><div><div class="gmail_quote"><div><div><font face="monospace">fi</font></div></div></div></div><div><div class="gmail_quote"><div><div><font face="monospace"><br></font></div></div></div></div><div><div class="gmail_quote"><div><div><font face="monospace">fi</font></div></div></div></div></blockquote><div dir="ltr"><div class="gmail_quote"><div><br></div><div>This tells me that the client package first checks for the server being installed (by checking the existence of /ec/xymon/xymonserver.cfg) and if not, it creates its own service, otherwise it assumes the server package will do the needful. However, this would probably not work if you installed the client package before the server package, and possibly cause both services to be installed. Either way, you should be able to rectify the situation with the appropriate "systemctl" command.</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_5398701363803114369WordSection1"><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>
</div><blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm"><div><div><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">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><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><span lang="EN-US" style="color:black">></span><span lang="EN-US">I note that you've moved quite a few OS iterations from CentOS 5 to RHEL 7.
</span>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.<u></u><u></u></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">Is there any way to verify that this is indeed the case?</span></p></div></div></div></blockquote><div><br></div><div>Memory management and monitoring is something I don't know much about - I know just enough to know how little I know.</div><div><br></div><div>The "real" memory usage graph is seemingly a good indication of actual RAM utilisation because it excludes buffers/caches. If you're concerned about Xymon using too much RAM, to the point where it could affect your server's performance or stability, then I'd recommend opening a new thread to discuss it.</div><div><br></div><div>Cheers</div><div>Jeremy</div><div><br></div></div></div></div>