Normally pageSize should be significantly smaller than maxSize

Solution Verified - Updated -

Issue

  • We are using below address settings for address :
<address-setting match="test.#">
            <dead-letter-address>test.DLQ</dead-letter-address>
            <expiry-address>test.ExpiryQueue</expiry-address>
            <redelivery-delay>0</redelivery-delay>
            <max-size-bytes>1MB</max-size-bytes>
            <page-size-bytes>100KB</page-size-bytes>
</address-setting>                                                                                                   
<address-setting match="test.foo.#">
            <dead-letter-address>test.DLQ</dead-letter-address>                                                      
</address-setting>                                                                                                   
<address-setting match="test.foo.bar">
            <dead-letter-address>test.foo.DLQ</dead-letter-address>
</address-setting>

Here the page-size-bytes is smaller than the max-size-bytes. However still the address is failing to deploy

2021-01-07 16:13:31,954 WARN  [org.apache.activemq.artemis.core.server] AMQ222275: Failed to deploy queue test.foo.bar: java.lang.IllegalStateException: pageSize for address test.foo.bar >= maxSize. Normally pageSize should be significantly smaller than maxSize, ms: 1048576 ps 10485760 

Environment

  • Red Hat AMQ
    • 7.7.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In