You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Francesco Nigro (Jira)" <ji...@apache.org> on 2021/01/25 16:53:00 UTC

[jira] [Created] (ARTEMIS-3083) Set a default producer-window-size on cluster connection

Francesco Nigro created ARTEMIS-3083:
----------------------------------------

             Summary: Set a default producer-window-size on cluster connection
                 Key: ARTEMIS-3083
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3083
             Project: ActiveMQ Artemis
          Issue Type: Improvement
          Components: Broker
            Reporter: Francesco Nigro
            Assignee: Francesco Nigro


The current producer-window-size configuration for cluster connection is -1 ie unbounded: it means that in case of an intermittent slow network or scarce CPU resource on the receiving cluster node (due to GC activity, OOM or other reasons) both brokers risk to go OOM:
 * the sender one because of the resend cache on the channel of the cluster connection: having unbounded granted credits means that it could grow unbounded while containing the clustered packets awaiting to get response
 * the receiver one because of the Actor abstraction on the cluster connection: because the sender would try to send as much packets it can, regardless the ability of the receiver to consume them



--
This message was sent by Atlassian Jira
(v8.3.4#803005)