You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Howard Gao (Jira)" <ji...@apache.org> on 2024/08/05 08:50:00 UTC
[jira] [Created] (ARTEMIS-4973) pageSizeBytes/pageLimitBytes combination can cause Address full
Howard Gao created ARTEMIS-4973:
-----------------------------------
Summary: pageSizeBytes/pageLimitBytes combination can cause Address full
Key: ARTEMIS-4973
URL: https://issues.apache.org/jira/browse/ARTEMIS-4973
Project: ActiveMQ Artemis
Issue Type: Bug
Components: Broker
Affects Versions: 2.36.0
Reporter: Howard Gao
Assignee: Howard Gao
There is an edge case where adjusting pageSizeBytes can cause "Address is full" errors, even though the address is not full.
Do we need to enforce that pageSizeBytes <= pageLimitBytes?
Reproducer steps:
Step 1: configure pageSizeBytes == pageLimitBytes == 1mb:
$ cat my.broker.properties
addressSettings."FOO".pageSizeBytes=1048576
addressSettings."FOO".pageLimitBytes=1048576
addressSettings."FOO".maxSizeBytes=1048576
addressSettings."FOO".pageFullMessagePolicy=FAIL
addressConfigurations."FOO".routingTypes=MULTICAST
addressConfigurations."FOO".queueConfigs."FOO".name=FOO
addressConfigurations."FOO".queueConfigs."FOO".address=FOO
addressConfigurations."FOO".queueConfigs."FOO".routingType=MULTICAST
Step 2: run broker
bin/artemis run --properties my.broker.properties
Step 3: produce 15 messages
$ bin/artemis producer --user admin --password admin --destination topic://FOO --message-count 15 --message-size 100000 --protocol amqp
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@activemq.apache.org
For additional commands, e-mail: issues-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact