[erlang-questions] Erlang OTP 18 memory leak / SSL

Sereysethy TOUCH touch.sereysethy@REDACTED
Sat Sep 19 18:34:18 CEST 2015


I just recently updated Erlang to latest version OTP 18 on Ubuntu server.
It uses cowboy (websocket), ranch, ssl, erlydtl & rabbitmq. It used to work
fine in OTP 17. The program is correctly compiled but during the execution
the memory kept increasing. I need to restart the process every one or two
hours to free some memory.

I have read a post here [
which discussed about the ssl_session_cache ETS table which can become very

The process beam.smp can go up to more than 5G during a few hours of

I am not yet sure what is the root cause of this issue.

Does anyone know how to fix this? Or where should I look at?

Thanks, Sethy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150919/cca70407/attachment.htm>

More information about the erlang-questions mailing list