<div dir="ltr"><div><div><div><div>Hi,<br></div>I've done some tests with stunnel v5.33b2 and I can confirm that this version fixes the memory leak I reported (and after the session cache is filled with entries, stunnel does not allocate more memory for next sessions).<br><br></div><div>One more question: do you have any recommendation for session cache size? On my systems I have set this to 30000. I have 32 GB of RAM so the memory is not the problem. My concerns are about time spent to search for entries in cache if I grow session cache size over 100000 entries.<br></div><div><br></div>Thank you for your response.<br><br></div>Best Regards,<br></div>Adrian Irimescu<br><div><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 16, 2016 at 10:45 PM, Michał Trojnara <span dir="ltr"><<a href="mailto:Michal.Trojnara@stunnel.org" target="_blank">Michal.Trojnara@stunnel.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 16.05.2016 09:42, Adrian Irimescu wrote:<br>
> Instead of this the stunnel allocates about 28K for any new session<br>
> which does not have a stored session in cache and does not free this<br>
> anymore.<br>
<br>
</span>Please try:<br>
<a href="https://www.stunnel.org/downloads/beta/stunnel-5.33b2.tar.gz" rel="noreferrer" target="_blank">https://www.stunnel.org/downloads/beta/stunnel-5.33b2.tar.gz</a><br>
In my tests this fixes the memory leak you reported.<br>
<br>
Best regards,<br>
Mike<br>
<br>
<br>_______________________________________________<br>
stunnel-users mailing list<br>
<a href="mailto:stunnel-users@stunnel.org">stunnel-users@stunnel.org</a><br>
<a href="https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users" rel="noreferrer" target="_blank">https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users</a><br>
<br></blockquote></div><br></div></div></div></div></div></div></div>