Hi All,

Sometimes messages are stuck in the Artemis queue. There may be a message in 
the logs (but sometimes it isn't):

AMQ224127
Message dispatch from paging is blocked. Address QUEUE/Queue QUEUE will not 
read any more messages from paging until pending messages are acknowledged. 
There are currently 3260 messages pending (20975378 bytes) with max reads at 
maxPageReadMessages(-1) and maxPageReadBytes(20971520). Either increase reading 
attributes at the address-settings or change your consumers to acknowledge more 
often.

Recently I experimented with paging settings and set these settings:
max-size-bytes: 104857600
page-size-bytes: 10485760

Default maxPageReadBytes is 2*pageSizeBytes.
This server has 6 Gb of address memory (default 50% of 12Gb heap), so I have 
increased max-size-bytes to 524288000 and added max-read-page-bytes set equal 
to max-size-bytes (524288000), but it seems that these settings are not applied 
to the current address which is in the paging mode.
When I check address/queue metrics, for some addresses there is no reason for 
blocking the address. There are no delivering messages (pending 
acknowledgement).
Also there is no way to delete messages from queue, removeAllMessages() returns 
zero, purge() method on the address also does not work.

Is there any way to unblock the address from paging without restart of Artemis? 
Or re-apply new paging settings?

--
Best regards,
Aleksandr

-----------------------------------

This message and any attachment are confidential and may be privileged or 
otherwise protected from disclosure. If you are not the intended recipient any 
use, distribution, copying or disclosure is strictly prohibited. If you have 
received this message in error, please notify the sender immediately either by 
telephone or by e-mail and delete this message and any attachment from your 
system. Correspondence via e-mail is for information purposes only. AO 
Raiffeisenbank neither makes nor accepts legally binding statements by e-mail 
unless otherwise agreed.

-----------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@activemq.apache.org
For additional commands, e-mail: users-h...@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact


Reply via email to