<font size=2 face="sans-serif">Hello,</font>
<br>
<br><font size=2 face="sans-serif">Could it comes from how the xymonproxy
program handles the MACHINE variable ?</font>
<br>
<br><font size=2 face="sans-serif">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:</font>
<br>
<br><font size=2 face="sans-serif"><i>if (proxyname && ((now =
gettimer()) >= (laststatus+300))) {</i></font>
<br>
<br>
<br><font size=2 face="sans-serif">proxyname comes from $MACHINE</font>
<br>
<br><font size=2 face="sans-serif">Cordialement, Regards,Mit freundlichen
Grüßen,<br>
<br>
Gautier BEGIN<br>
<br>
<br>
CSC Computer Sciences SAS • Registered Office: Immeuble Le Balzac, 10
Place des Vosges, 92072 Paris La Défense Cedex, France • Registered in
France: RCS Nanterre B 315 268 664</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:      
 </font><font size=1 face="sans-serif">Gautier Begin/LUX/CSC@CSC</font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:      
 </font><font size=1 face="sans-serif">xymon@xymon.com</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:      
 </font><font size=1 face="sans-serif">01/17/2014 02:42 PM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:    
   </font><font size=1 face="sans-serif">Re: [Xymon]
xymonproxy perf issue</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Sent by:    
   </font><font size=1 face="sans-serif">"Xymon"
<xymon-bounces@xymon.com></font>
<br>
<hr noshade>
<br>
<br>
<br><font size=2 face="sans-serif">Henrik,</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
I managed to reproduce the issue:</font><font size=3> </font><font size=2 face="sans-serif"><br>
- I start the XYMON as a proxy server => Non pbl</font><font size=3>
</font><font size=2 face="sans-serif"><br>
- Stop the XYMON                
                    =>
 Process remains alive (xymonlaunch)</font><font size=3> </font><font size=2 face="sans-serif"><br>
- Kill the xymonlaunch</font><font size=3> </font><font size=2 face="sans-serif"><br>
- Start the XYMON as aproxy server   => The pbl occurs again </font><font size=3><br>
</font><font size=2 face="sans-serif"><br>
Could some files in the ./tmp of XYMON influence this ?</font><font size=3>
</font><font size=2 face="sans-serif"><br>
 </font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
Cordialement, Regards,Mit freundlichen Grüßen,<br>
<br>
Gautier BEGIN</font><font size=3><br>
<br>
<br>
<br>
</font><font size=1 color=#5f5f5f face="sans-serif"><br>
From:        </font><font size=1 face="sans-serif">henrik@hswn.dk</font><font size=3>
</font><font size=1 color=#5f5f5f face="sans-serif"><br>
To:        </font><font size=1 face="sans-serif"><xymon@xymon.com></font><font size=3>
</font><font size=1 color=#5f5f5f face="sans-serif"><br>
Date:        </font><font size=1 face="sans-serif">01/14/2014
03:00 PM</font><font size=3> </font><font size=1 color=#5f5f5f face="sans-serif"><br>
Subject:        </font><font size=1 face="sans-serif">Re:
[Xymon] xymonproxy perf issue</font><font size=3> </font><font size=1 color=#5f5f5f face="sans-serif"><br>
Sent by:        </font><font size=1 face="sans-serif">"Xymon"
<xymon-bounces@xymon.com></font><font size=3> <br>
</font>
<hr noshade><font size=3><br>
<br>
<br>
Den 14.01.2014 14:23, Gautier Begin skrev: </font>
<p><font size=2>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:</font><font size=3>
</font><font size=2><br>
- The xymonproxy process used 100% of only one CPU (no multithread seen).</font><font size=3>
</font><font size=2><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).</font><font size=3>
</font><font size=2><br>
<br>
I tried to used the -lqueue option for the proxy with no success.</font><font size=3>
</font><font size=2><br>
Nothing special seen in any logs.</font><font size=3> </font><font size=2><br>
The UNIX admin said me that the xymonproxy was just making 'time()' command
all the time.</font><font size=3> </font>
<p><font size=3>I've had the proxy handling about 5000 hosts simultaneously.
On Linux, though. </font>
<p><font size=3>I have not heard of such behaviour before, and I am sure
there must be others running the proxy on Solaris in a similar setup. If
you can make it happen again, please do a "kill -USR2" on the
xymonproxy process to toggle debugging on/off. </font>
<p><font size=3>None of the Xymon tools are multithreaded - so far I have
stuck to the traditional Unix way of doing things. </font>
<p><font size=3>  </font>
<p><font size=3>Regards, </font>
<p><font size=3>Henrik </font>
<p><font size=3>  </font>
<p><font size=3> </font><tt><font size=2>_______________________________________________<br>
Xymon mailing list<br>
Xymon@xymon.com</font></tt><font size=3 color=blue><u><br>
</u></font><a href=http://lists.xymon.com/mailman/listinfo/xymon><tt><font size=2 color=blue><u>http://lists.xymon.com/mailman/listinfo/xymon</u></font></tt></a><tt><font size=2>_______________________________________________<br>
Xymon mailing list<br>
Xymon@xymon.com<br>
</font></tt><a href=http://lists.xymon.com/mailman/listinfo/xymon><tt><font size=2>http://lists.xymon.com/mailman/listinfo/xymon</font></tt></a><tt><font size=2><br>
</font></tt>
<p>