We are seeing an issue when ActiveMQ Artemis would just stop processing messages with no exception output when high load of messages are sent to a queue.
Thread is going into TIMED_WAITING, and on enabling the ActiveMQ Artemis debug logging following logs are generated:
[DEBUG] 2024-08-16 08:04:21 org.apache.activemq.artemis.core.server.impl.ServerConsumerImpl -> ServerConsumerImpl [id=0, filter=null, binding=LocalQueueBinding [address=dataLoaderEventLoadQueue, queue=QueueImpl[name=dataLoaderEventLoadQueue, postOffice=PostOfficeImpl [server=ActiveMQServerImpl::name=localhost], temp=false]@cdc51ba, filter=null, name=dataLoaderEventLoadQueue, clusterName=dataLoaderEventLoadQueueb22e4460-5561-11ef-82f9-0242ac10002d], closed=false] is busy for the lack of credits. Current credits = 0 Can't receive reference Reference[6466728861]:RELIABLE:CoreMessage[messageID=6466728861, durable=true, userID=534d776f-5ba2-11ef-8405-0242ac10002d, priority=4, timestamp=Fri Aug 16 07:37:01 UTC 2024, expiration=Fri Aug 23 07:37:01 UTC 2024, durable=true, address=dataLoaderEventLoadQueue, size=608, properties=TypedProperties[__AMQ_CID=c2b7ea3e-5a24-11ef-8405-0242ac10002d, _AMQ_ROUTING_TYPE=1, _AMQ_LVQ_NAME=102-255793408260991718]]@515090880
[DEBUG] 2024-08-16 08:04:21 org.apache.activemq.artemis.core.server.impl.QueueImpl -> QueueImpl[name=dataLoaderEventLoadQueue, postOffice=PostOfficeImpl [server=ActiveMQServerImpl::name=localhost],
temp=false]@cdc51ba::All the consumers were busy, giving up now
We have set ConsumerWindowSize
value 0
as we do not buffer messages at client side. If this is not set, then even after pausing the queue messages were being consumed.
We use ActiveMQ Artemis 2.32.0.
shilpi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.