Rabbitmq memory leak when enable SSL

68 views
Skip to first unread message

金甲虫

unread,
Aug 9, 2022, 11:58:14 PM8/9/22
to rabbitmq-users
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?

pengyh

unread,
Aug 10, 2022, 12:04:17 AM8/10/22
to rabbitm...@googlegroups.com
the version you were using is too old to get supports.
please upgrade them asap.

regards.

金甲虫

unread,
Aug 11, 2022, 10:28:47 PM8/11/22
to rabbitmq-users
Upgrade is Time-consuming  for our service now, we hope to fix it quickly. Could your team help to find a workaround? RabbitMQ is our core  system, very important.

Michal Kuratczyk

unread,
Aug 16, 2022, 12:41:25 PM8/16/22
to rabbitm...@googlegroups.com
Hi,

If RabbitMQ is an important part of your system, don't run a 3-year old unsupported version of it...

Lots of things have changed since then. We are not publishing even 3.8 patch releases anymore.
As you suggested, this is likely not even a RabbitMQ issue - SSL is implemented by Erlang/OpenSSL. But you are running an unsupported Erlang version as well...

I cannot suggest anything else other than proper software maintenance hygiene.

Best,

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/6c053acd-3627-4b19-bc26-4e0297a70ba1n%40googlegroups.com.


--
Michał
RabbitMQ team
Reply all
Reply to author
Forward
0 new messages