I'm using Oracle MessageQ on RedHat 6.2 as we are migrating from OpenVMS to Linux. Seemed to work pretty good until now we have discovered the following:
When our programs calls pams_cancel_timer we get a returnstatus PAMS__RESRCFAIL, but only if there is at least one message on the primary queue of the process. When the queue is empty, the call return success.
In a different thread I read that this has something to do with memory allocation going wrong, but can somebody tell me which parameter I should increase to avoid the occurence of this problem?
An update for this problem:
We executed exactly the same program with exactly the same DMQ-group configuration on Ubuntu with the same MessageQ version. Then we don't get the PAMS__RESRCFAIL returnstatus upon pams_cancel_timer. We draw the conclusion that something in RedHat must be bothering us. Can somebody tell what that can be?
We tried to flavours of RHEL: 5.5 i386 and 6.3 x86_64 and both have the same problem.