You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/08/24 10:37:00 UTC
[jira] [Work logged] (ARTEMIS-3943) Changing Address Settings defaults like Paging Flow Control to avoid OME on default configuration on broker
[ https://issues.apache.org/jira/browse/ARTEMIS-3943?focusedWorklogId=803190&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-803190 ]
ASF GitHub Bot logged work on ARTEMIS-3943:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 24/Aug/22 10:36
Start Date: 24/Aug/22 10:36
Worklog Time Spent: 10m
Work Description: gtully commented on code in PR #4185:
URL: https://github.com/apache/activemq-artemis/pull/4185#discussion_r953633059
##########
artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/broker.xml:
##########
@@ -144,10 +144,14 @@ ${cluster-security.settings}${cluster.settings}${replicated.settings}${shared-st
<!
Issue Time Tracking
-------------------
Worklog Id: (was: 803190)
Remaining Estimate: 0h
Time Spent: 10m
> Changing Address Settings defaults like Paging Flow Control to avoid OME on default configuration on broker
> -----------------------------------------------------------------------------------------------------------
>
> Key: ARTEMIS-3943
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3943
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 2.24.0
> Reporter: Anton Roskvist
> Assignee: Clebert Suconic
> Priority: Major
> Fix For: 2.25.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Starting with version 2.24.0 of the broker, a single client can cause the broker to OOM and terminate if an address is paging and holds enough messages to collectively fill the broker heap.
> To reproduce:
> {code:java}
> $ apache-artemis-2.24.0/bin/artemis create broker
> $ broker/bin/artemis-service start
> $ broker/bin/artemis producer \
> --destination TEST \
> --text-size 100000 \
> --message-count 100000{code}
> Optional:
> Tweak "message-count" + "text-size" above together with the "-Xmx"-property in artemis.profile to be able to trigger it faster
> Kill broker with:
> {code:java}
> $ broker/bin/artemis consumer \
> --destination TEST \
> --message-count 1 \
> --url "(tcp://localhost:61616)?consumerWindowSize=-1" \
> --sleep 60000{code}
> Not saying this is demonstrating proper usage of the client, but this was the easiest way I could think of to reproduce the problem.
> Running the same procedure against an older version of the broker results in no such issue
--
This message was sent by Atlassian Jira
(v8.20.10#820010)