<font size=2 face="sans-serif">Henrik,</font>
<br>
<br><font size=2 face="sans-serif">I applied the patch on my test machine
that has not pbl => all continues to run well</font>
<br>
<br><font size=2 face="sans-serif">I applied the patch on the machine with
the 100%CPU  issue. I get the same behaviour, the content of the xymonproxy.log
is the following lines looping:</font>
<br><font size=2 face="sans-serif"><i>1166 2014-01-28 18:09:00 state 0:
reading from client</i></font>
<br><font size=2 face="sans-serif"><i>1166 2014-01-28 18:09:00 state 1:
reading from client</i></font>
<br><font size=2 face="sans-serif"><i>1166 2014-01-28 18:09:00 state 2:
request combining</i></font>
<br><font size=2 face="sans-serif"><i>1166 2014-01-28 18:09:00 state 3:
sending to server</i></font>
<br><font size=2 face="sans-serif"><i>1166 2014-01-28 18:09:00 state 4:
reading from client</i></font>
<br><font size=2 face="sans-serif"><i>2014-01-28 18:09:00 select() failed:
Invalid argument</i></font>
<br>
<br>
<br><font size=2 face="sans-serif">Could the issue come from the fact that
le @IP of the machine in the DNS is associated with 2 hostnames (not alias)
?</font>
<br>
<br><font size=2 face="sans-serif">Cordialement, Regards,Mit freundlichen
Grüßen,<br>
<br>
Gautier BEGIN<br>
<br>
System Tools Team Lead<br>
CACEIS and APERAM accounts<br>
CSC Computer Sciences Luxembourg S.A.<br>
12D Impasse Drosbach<br>
L-1882 Luxembourg<br>
<br>
Global Outsourcing Service | p:+352 24 834 276 | m:+352 621 229 172 | gbegin@csc.com
| </font><a href=www.csc.com><font size=2 face="sans-serif">www.csc.com</font></a><font size=2 face="sans-serif"><br>
<br>
<br>
CSC • This is a PRIVATE message. If you are not the intended recipient,
please delete without copying and kindly advise us by e-mail of the mistake
in delivery.  NOTE: Regardless of content, this e-mail shall not operate
to bind CSC to any order or other contract unless pursuant to explicit
written agreement or government initiative expressly permitting the use
of e-mail for such purpose<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">henrik@hswn.dk</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/20/2014 11:42 AM</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=3>Den 17.01.2014 16:14, Gautier Begin skrev:</font>
<p><font size=2>Could it comes from how the xymonproxy program handles
the MACHINE variable ?</font><font size=3> <br>
</font><font size=2><br>
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><font size=3> <br>
</font><font size=2><i><br>
if (proxyname && ((now = gettimer()) >= (laststatus+300))) {</i></font>
<p><font size=2>[snip]</font>
<p><font size=3>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>
<p><font size=2>- 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>
<p><font size=3>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.</font>
<p><font size=3> </font>
<p><font size=3>Regards,<br>
Henrik</font>
<p><font size=3> </font>
<p><font size=3> [attachment "proxyerror.diff" deleted by
Gautier Begin/LUX/CSC] </font><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>