[stunnel-users] stunnel v5.32 (and older) strange session cache behavior on memory (de)allocation

Adrian Irimescu adrian.irimescu.iri at gmail.com
Fri May 20 10:24:12 CEST 2016

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

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.

Thank you for your response.

Best Regards,
Adrian Irimescu

On Mon, May 16, 2016 at 10:45 PM, MichaƂ Trojnara <
Michal.Trojnara at stunnel.org> wrote:

> On 16.05.2016 09:42, Adrian Irimescu wrote:
> > Instead of this the stunnel allocates about 28K for any new session
> > which does not have a stored session in cache and does not free this
> > anymore.
> Please try:
> https://www.stunnel.org/downloads/beta/stunnel-5.33b2.tar.gz
> In my tests this fixes the memory leak you reported.
> Best regards,
>         Mike
> _______________________________________________
> stunnel-users mailing list
> stunnel-users at stunnel.org
> https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20160520/83a0e554/attachment.html>

More information about the stunnel-users mailing list