<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>Den 17.01.2014 16:14, Gautier Begin skrev:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignored --><!-- meta ignored --><span style="font-family: sans-serif; font-size: small;">Could it comes from how the xymonproxy program handles the MACHINE variable ?</span> <br /><br /><span style="font-family: sans-serif; font-size: small;">I say that because when the process becomes nuts, he makes only 'gettimer' action. Then I have a look in the source file and found this line (line 452) that could correspond:</span> <br /><br /><span style="font-family: sans-serif; font-size: small;"><em>if (proxyname && ((now = gettimer()) >= (laststatus+300))) {</em></span></blockquote>
<p><span style="font-family: sans-serif; font-size: small;">[snip]<em><br /></em></span></p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%"><span>Last Sunday, I wanted to start a xymonproxy (vers 4.3.12) on a Solaris 10.5 with 900 targets . I had a performance issue:</span><span style="font-size: medium;"> </span><br />
<p><span style="font-size: small;"> - The xymonproxy process used 100% of only one CPU (no multithread seen).</span><span style="font-size: medium;"> </span><span style="font-size: small;"><br /> - On the main XYMON server, data from this proxy (I have one other on Ubuntu with 50 targets working fine) came with difficulties (delays and lacks).</span><span style="font-size: medium;"> </span></p>
</blockquote>
<p>I suspect some kind of error happened with the network socket handling. Could you add this patch and try to reproduce the problem? It doesn't change the behaviour, but it does add some error-reporting in case the core select() call fails.</p>
<p> </p>
<p>Regards,<br />Henrik</p>
<p> </p>
<div> </div>
</body></html>