Rabbitmq version 3.7.17
Erlang version 22.0.7
SSL enabled
The total memory of VM is 64G
We use a rabbitmq cluster, the memory usage increases over time. We don't have any messages in memory, but the memory is still high and reaches high watermark.
We have thousands of queues and connections.
I use erlang shell attach to rabbitmq node. I find ets uses 20gb of memory.
This table use most of the memory.
id name type size mem owner
----------------------------------------------------------------------------
#Ref<0.1379214371.3766353922.247801> server_ssl_otp_session_cache ordered_set 66504882 2460680784 ssl_manager
It seems like erlang ssl memory leak.
How can I avoid this?