AMQ 7 - large expired messages and AMQ149007: Thread dump being generated as the asynchronous file.open is not responding fast enough
Issue
The following warning is observed in the AMQ Broker logs:
WARN [org.apache.activemq.artemis.core.journal.impl.JournalFilesRepository]
Complete Thread dump AMQ149007: Thread dump being generated as the asynchronous file.open is not responding fast enough.
And threads similar to the following are found in the generated thread dumps (in the log file, after the previous warning):
Thread-##### (ActiveMQ-remoting-threads-ActiveMQServerImpl::name=SERVERNAME)" Id=###### BLOCKED on org.apache.activemq.artemis.core.server.impl.ServerSessionImpl@3a456e7c owned by "Thread-27 (ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$6@7a94b64e)" Id=224
at org.apache.activemq.artemis.core.server.impl.ServerSessionImpl.doClose(ServerSessionImpl.java:398)
- blocked on org.apache.activemq.artemis.core.server.impl.ServerSessionImpl@3a456e7c
...
"Thread-#(ActiveMQ-server-org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl$6@7a94b64e)" Id=155 RUNNABLE (in native)
at java.base@17.0.12/java.io.RandomAccessFile.open0(Native Method)
...
at org.apache.activemq.artemis.core.persistence.impl.journal.LargeServerMessageImpl.copy(LargeServerMessageImpl.java:330)
...
Environment
- Red Hat AMQ Broker
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.