[erlang-questions] Memory leak in SSL

Max Treskin zerthurd@REDACTED
Tue Aug 8 15:54:49 CEST 2017


Thank you Dmitry! It works


On 8 August 2017 at 12:25:12, Dmitry Kolesnikov (dmkolesnikov@REDACTED) wrote:

Hello, 

Have you tried to disable reuse of ssl sessions? 
{ssl_options, [{reuse_sessions, false}]} 

And reduce the session time 
-ssl session_lifetime 120 

Best Regards, 
Dmitry 

> On 8 Aug 2017, at 11.59, Max Treskin <zerthurd@REDACTED> wrote: 
> 
> Hello, 
> 
> I have two different HTTPS-servers (different purposes, code, etc) built on top of cowboy/ranch, and both have memory leaks. 
> ETS table server_ssl_otp_session_cache has millions of records just after hours of work and consumes gigabytes of RAM. 
> What should I do to eliminate this? Is it bug or intended behaviour? 
> 
> Thanks 
> 
> 
> _______________________________________________ 
> erlang-questions mailing list 
> erlang-questions@REDACTED 
> http://erlang.org/mailman/listinfo/erlang-questions 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170808/90bc801e/attachment.htm>


More information about the erlang-questions mailing list