Runaway messaging threads due to not closing QueueSession

Solution Unverified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content