<div dir="ltr"><div><div><div><div><div><div>Hi,<br><br></div>In February, Gautier reported this issue with xymonproxy on Solaris :-<br><br><a href="http://lists.xymon.com/pipermail/xymon/2014-February/039160.html">http://lists.xymon.com/pipermail/xymon/2014-February/039160.html</a><br>
<br></div>I have come this week to update an installation of 4.2.3 on Solaris 9 and have encountered the exact same issue as Gautier, but this time on the latest 4.3.17 code :-<br><br>2014-05-04 13:05:36 xymonproxy version 4.3.17 starting<br>
2014-05-04 13:20:41 Listening on <a href="http://0.0.0.0:1984">0.0.0.0:1984</a><br>2014-05-04 13:20:41 Sending to Xymon server(s) xx.xx.xx.xx:1984<br>2014-05-04 13:20:41 select() failed: Invalid argument<br>2014-05-04 13:20:41 select() failed: Invalid argument<br>
2014-05-04 13:20:41 select() failed: Invalid argument<br>2014-05-04 13:20:41 select() failed: Invalid argument<br>2014-05-04 13:20:41 select() failed: Invalid argument<br>2014-05-04 13:20:41 select() failed: Invalid argument<br>
2014-05-04 13:20:41 Too many select failures, aborting<br>2014-05-04 13:20:46 xymonproxy version 4.3.17 starting<br><br></div>I do not suffer the connections in TIME_WAIT, just the constant restarting of the proxy every 15 minutes.  Here is the truss as it gasps when falling over :-<br>
<br>poll(0xFFBFF208, 1, 1000)                       = 0<br>time()                                          = 1399206937<br>poll(0xFFBFF208, 1, 1000)                       = 0<br>time()                                          = 1399206938<br>
poll(0xFFBFF208, 1, 1000)                       = 0<br>time()                                          = 1399206939<br>poll(0xFFBFF208, 1, 1000)                       = 0<br>time()                                          = 1399206940<br>
poll(0xFFBFF208, 1, 1000)                       = 0<br>time()                                          = 1399206941<br>poll(0xFFBFF208, 1, 1000)                       = 0<br>time()                                          = 1399206942<br>
poll(0xFFBFF208, 1, 1000)                       = 1<br>accept(3, 0x0003AC60, 0xFFBFF310, 1)            = 4<br>fcntl(4, F_SETFL, 0x00000080)                   = 0<br>time()                                          = 1399206942<br>
poll(0xFFBFF200, 2, 1000)                       = 1<br>read(4, " s t a t u s + 4 5   c s".., 8185)     = 140<br>time()                                          = 1399206942<br>poll(0xFFBFF200, 2, 1000)                       = 1<br>
read(4, 0x00038CE2, 8045)                       = 0<br>time()                                          = 1399206942<br>shutdown(4, 2, 1)                               = 0<br>close(4)                                        = 0<br>
poll(0xFFBFF208, 1, 1000)                       = 1<br>accept(3, 0x0003ACD0, 0xFFBFF310, 1)            = 4<br>fcntl(4, F_SETFL, 0x00000080)                   = 0<br>time()                                          = 1399206942<br>
time()                                          = 1399206942<br>write(2, " 2 0 1 4 - 0 5 - 0 4   1".., 19)      = 19<br>write(2, "  ", 1)                               = 1<br>write(2, " s e l e c t ( )   f a i".., 34)      = 34<br>
time()                                          = 1399206942<br>time()                                          = 1399206942<br>write(2, " 2 0 1 4 - 0 5 - 0 4   1".., 19)      = 19<br>write(2, "  ", 1)                               = 1<br>
write(2, " s e l e c t ( )   f a i".., 34)      = 34<br>time()                                          = 1399206942<br>time()                                          = 1399206942<br>write(2, " 2 0 1 4 - 0 5 - 0 4   1".., 19)      = 19<br>
write(2, "  ", 1)                               = 1<br>write(2, " s e l e c t ( )   f a i".., 34)      = 34<br>time()                                          = 1399206942<br>time()                                          = 1399206942<br>
write(2, " 2 0 1 4 - 0 5 - 0 4   1".., 19)      = 19<br>write(2, "  ", 1)                               = 1<br>write(2, " s e l e c t ( )   f a i".., 34)      = 34<br>time()                                          = 1399206942<br>
time()                                          = 1399206942<br>write(2, " 2 0 1 4 - 0 5 - 0 4   1".., 19)      = 19<br>write(2, "  ", 1)                               = 1<br>write(2, " s e l e c t ( )   f a i".., 34)      = 34<br>
time()                                          = 1399206942<br>time()                                          = 1399206942<br>write(2, " 2 0 1 4 - 0 5 - 0 4   1".., 19)      = 19<br>write(2, "  ", 1)                               = 1<br>
write(2, " s e l e c t ( )   f a i".., 34)      = 34<br>time()                                          = 1399206942<br>write(2, " 2 0 1 4 - 0 5 - 0 4   1".., 19)      = 19<br>write(2, "  ", 1)                               = 1<br>
write(2, " T o o   m a n y   s e l".., 35)      = 35<br>_exit(1)<br><br></div>So, question to Gautier, are you using Solaris 9 and have you managed to resolve this?<br><br></div>Another question to the rest of the list, this is actually the only proxy I have on Solaris, all the otehrs are on Redhat, is anyone else using xymonproxy on Solaris and if so, what version?  For the time being, I am running the old bbproxy until I get this fixed, the rest of 4.3.17 seems to be working OK.<br>
<br></div><div>Thanks for any feedback.<br></div><div>-- <br></div><div>Andy<br></div><div><br></div><div><div><br></div></div></div>