<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Thanks for the reply Michael --<div><br></div><div>Yes it was approx 5000 concurrent connections that caused this issue, and we came to the same conclusion -- just wanted to do a double check to rule out possibilities.</div><div><br></div><div>Will take a look at the latest version in regards to memory management bugs you have mentioned below. </div><div><br></div><div>We are also looking at running 2 copies of stunnel and splitting out traffic across 2 different interfaces to cut that connection total to something manageable.<br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Wed, 1 May 2013 13:25:27 +0200<br>From: Michal.Trojnara@mirt.net<br>To: stunnel-users@stunnel.org<br>Subject: Re: [stunnel-users] 4.53 32-bit on Windows 2k8 R2 64bit<br><br>
<div class="ecxmoz-cite-prefix">On 2013-04-24 02:13, Michael Curran
wrote:<br>
</div>
<blockquote cite="mid:BLU158-W17EBB1E43A379243AD977583B50@phx.gbl">
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div dir="ltr">We are running stunnel and noticed an issue with
what ended up being an issue creating a new thread due to
running out of memory at 2gb - error (8) on create_client
<div><br>
</div>
<div>Are there any known issues with 4.53 around memory usage? </div>
<div><br>
</div>
<div>We only terminate 2 ports against the installation 443 on 2
different interfaces / IP addresses and we ran into this issue
with just under 5000 total connections</div>
</div>
</blockquote>
<br>
What do you mean by "5000 total connections"? 5000 from opened and
closed? 5000 concurrent?<br>
<br>
I'm afraid 5000 concurrent connections may be about as many as
32-bit stunnel can handle on this platform. 64-bit build is on my
TODO list, but it requires my time and money for a new compiler.
This feature is currently not my top priority. Of course, as usual,
a sponsor could change my priorities...<br>
<a class="ecxmoz-txt-link-freetext" href="http://www.stunnel.org/sdf_todo.html" target="_blank">http://www.stunnel.org/sdf_todo.html</a><br>
<br>
Another option to improve the memory management could be LFH:<br>
<a class="ecxmoz-txt-link-freetext" href="http://msdn.microsoft.com/en-us/library/windows/desktop/aa366750%28v=vs.85%29.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/windows/desktop/aa366750%28v=vs.85%29.aspx</a><br>
I will try to enable it in stunnel 5.00.<br>
<br>
Since 4.53 I have fixed memory management bugs in configuration file
reload and protocol negotiations. You may try to upgrade stunnel if
you use any of these features.<br>
<a class="ecxmoz-txt-link-freetext" href="http://www.stunnel.org/sdf_ChangeLog.html" target="_blank">http://www.stunnel.org/sdf_ChangeLog.html</a><br>
<br>
Mike<br>
<br>_______________________________________________
stunnel-users mailing list
stunnel-users@stunnel.org
https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users</div></div> </div></body>
</html>