AmazonMQ Dead connection not clean up

0

Hi there,

I have an amazonMQ with the broker connection limit of 100. Normally, I use open connection and it only use 37 connection.

But in the meantime, I see there are an increment in the connection, I though that because my pods are down, so the system connect with the new pods. Unfortunately, the dead connection is still there although the doc for amazonmq, there is a note: Check your client-side logs for further details. The broker will clean up inactive TCP connections after 600000 ms, and free up the connection socket.

Here is the screenshot of Cloudwatch for my ActiveMQ connection https://i.ibb.co/MMzg8sB/Image-from-i-OS.jpg

Here is my policy entry configuration:

<policyEntry gcInactiveDestinations="true" inactiveTimoutBeforeGC="60000" topic="&gt;">
  <!--
  The constantPendingMessageLimitStrategy is used to prevent
  slow topic consumers to block producers and affect other consumers
  by limiting the number of messages that are retained

  For more information, see: http://activemq.apache.org/slow-consumer-handling.html
  -->
  <pendingMessageLimitStrategy>
    <constantPendingMessageLimitStrategy limit="1000"/>
  </pendingMessageLimitStrategy>
</policyEntry>
Kuncoro
已提問 2 年前檢視次數 117 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南