1834018 Members
2008 Online
110063 Solutions
New Discussion

Re: Message queues

 
Yvonne Butler
Regular Advisor

Message queues

Hello

We had issues recently on our HP-UX 11.11 system with message queues and our 3rd party application supplier has suggested doubling the parameter related to message queues. Would I be right in thinking the kernel parameter in question would be msgmni? If so, does anyone see a problem in changing its setting from 300 to 600?

Thanks and regards
7 REPLIES 7
TwoProc
Honored Contributor

Re: Message queues

That won't hurt anything to try and see if it eliminates the problem. That number, or msgmax is your problem I would think.
We are the people our parents warned us about --Jimmy Buffett
Pete Randall
Outstanding Contributor

Re: Message queues

Yvonne,

I would suggest reading through SAM's Help on Configurable Kernel Parameters section on message queues. The message queues are allocated from swappable memory, so doubling the number of them is going to have some impact on memory availability. Take that into consideration when deciding. If you're experiencing any memory pressure now, you're going to want to go slowly here.


Pete

Pete
A. Clay Stephenson
Acclaimed Contributor

Re: Message queues

msgmni might be the correct parameter (and 600 is still not considered a large value) but you might need to increase msgtql, msgseg, and/or msgmnb. There are simply not enough data to make that call yet. The ideal way to know is to capture the errno value and the system call and then you will have a very good notion of the exact limit you are hitting. On the other hand, it is quite safe to increase all of these in a shotgun approach.
If it ain't broke, I can fix that.
Yvonne Butler
Regular Advisor

Re: Message queues

Before I amend these parameters will increasing them upset Oracle that also runs on this server?

Thanks
Piergiacomo Perini
Trusted Contributor

Re: Message queues

Hi,
I see no big problem in changing "msgmni" but
pay attention because maybe a rebuild of kernel it's needed (and subsequent reboot) and also (if i don't go wrong) some modification
on other (at least one) kernel parameters.

regards
Piergiacomo Perini
Trusted Contributor

Re: Message queues

hi again,
for Oracle: read documentation (precondition)
about your Oracle rdbms version (there
are always the right range for kernel parameters on HP-UX server).

hth
regards
Yvonne Butler
Regular Advisor

Re: Message queues

Many thanks to everyone for their comments and opinions. I'm going to increase the msgmni parameter and monitor things over the coming weeks. I'll amend others if it becomes apparent that they need changing.

Thanks again!