Runaway messaging threads due to not closing QueueSession
Issue
- JBoss crashes with the following in the fatal error log:
# Native memory allocation (mmap) failed to map 12288 bytes for committing reserved memory.
...
# Out of Memory Error (os_linux.cpp:2798), pid=21099, tid=0x00007fb41fbbf700
-
The fatal error log shows thousands of messaging threads.
-
Messaging threads are created and are never reused.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- Sonic Resource Adapter
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.