Unable to create durable queues in tmpfs by moving the qpid store to /dev/shm

Solution Verified - Updated -

Issue

  • When the store is moved to a tmpfs file system under /dev/shm, durable queue creation fails with :
2012-03-21 01:17:50 error Unexpected exception: Queue test2: create() failed: jexception 0x0400 fcntl::clean_file() threw JERR_FCNTL_OPENWR: Unable to open file for write. (open() failed: errno=22 (Invalid argument)) (MessageStoreImpl.cpp:533)
2012-03-21 01:17:50 error Connection 127.0.0.1:5672-127.0.0.1:46925 closed by error: Queue test2: create() failed: jexception 0x0400 fcntl::clean_file() threw JERR_FCNTL_OPENWR: Unable to open file for write. (open() failed: errno=22 (Invalid argument)) (MessageStoreImpl.cpp:533)(501)
2012-03-21 01:20:17 notice Journal "test2": Created

Environment

  • MRG - M

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