qpid broker fails to start on store recovery: with error "posix_memalign(): (Cannot allocate memory)"
Issue
Having a broker with >32000 (on RHEL6) or >64000 (on RHEL7) durable queues does either:
- fail to start due to critical error "posix_memalign(): alignment=4096 size=1048576 errno=12 (Cannot allocate memory)
"
- or fail to create a new durable queue with error "create() failed: jexception 0x0103 pmgr::initialize() threw JERR__AIO: AIO error. (io_queue_init() failed: errno=11 (Resource temporarily unavailable))
".
Environment
- Red Hat Enterprise Linux 6 or 7
- Red Hat Satellite 6 or Red Hat Enterprise MRG Messaging 3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.