<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal>Hey Guys,<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>We have the following problem:<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Bbwin is sending traffic to 2 monitoring servers and is
encrypted via stunnel. If one of the monitoring servers goes down, the number
of ports being used by bbwin client increases to the point where the box is
unusable – no more ports available on the windows box being monitored. If
we kill the bbwin process, the problem goes away temporarily – after a
short period of time, the problem returns. The problem continues even after the
failed hobbit server recovers, and only clears up when we kill the bbwin
process.<o:p></o:p></p>

<p class=MsoNormal style='margin-left:.25in'><o:p> </o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>* Windows version Server 2003<br>
* bbwin versions 0.11, 0.12<br>
* stunnel version 4.25<br>
* hobbit server version 4.2.2<o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal>Output of the stunnel log shows the following error:<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><span style='font-size:9.0pt'>2009.12.16 06:56:19
LOG7[2336:2460]: New thread created<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt'>2009.12.16 06:56:19
LOG7[2336:4016]: hobbit_ssl started<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt'>2009.12.16 06:56:19
LOG7[2336:4016]: FD 356 in non-blocking mode<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt'>2009.12.16 06:56:19
LOG7[2336:4016]: TCP_NODELAY option set on local socket<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt'>2009.12.16 06:56:19
LOG5[2336:4016]: hobbit_ssl accepted connection from 127.0.0.1:1725<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt'>2009.12.16 06:56:19
LOG7[2336:4016]: FD 396 in non-blocking mode<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt'>2009.12.16 06:56:19
LOG6[2336:4016]: connect_blocking: connecting 10.132.55.24:1982<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt'>2009.12.16 06:56:19
LOG3[2336:4016]: connect_blocking: connect 10.132.55.24:1982: No buffer space
available (WSAENOBUFS) (10055)<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt'>2009.12.16 06:56:19 LOG5[2336:4016]:
Connection reset: 0 bytes sent to SSL, 0 bytes sent to socket<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:9.0pt'>2009.12.16 06:56:19
LOG7[2336:4016]: hobbit_ssl finished (0 left)<o:p></o:p></span></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Can something be added to my stunnel.conf to prevent this
from happening? Any help would be greatly appreciated. Thanks.<o:p></o:p></p>

</div>

</body>

</html>