Ticket #489 (new defect)
OpenSAF Message Queue Open fails with no resource error
| Reported by: | manish srivastava <manish.srivastava@…> | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | PL 2.0.2 |
| Component: | MQSv | Version: | 2.0.0 |
| Keywords: | Cc: | ||
| patch waiting for maintainer: | no |
Description
I am using OpenSAF message queue service. Many a times, I have seen the error while opening/creating a message queue. The error is SA_AIS_ERR_NO_RESOURCES. This happens when the no free queue is available in OS.
A workaround solution is to increase the number of OS queues to a larger number in /etc/sysctl.conf file. But this is just delaying the problem.
The basic issue is that OpenSAF controller is not able to free the OS queues even when the queues are successfully closed. We do frequent failovers where the message queue close api is not called. In such case, the cleanup should be done by the OpenSAF framework.
My queues are non persistent and with a retention timer of zero.
There is no log except that the queue opens fails with error 18(SA_AIS_ERR_NO_RESOURCES)
