1833461 Members
3170 Online
110052 Solutions
New Discussion

Message Queue exceeded.

 
SOLVED
Go to solution
zsujith
Frequent Advisor

Message Queue exceeded.

Hello,

Want to know what commands are there in HPUX to find out "message queue exceeded" issue.

Regards
"The most wasted day is that in which we have not laughed."
11 REPLIES 11
Dennis Handly
Acclaimed Contributor

Re: Message Queue exceeded.

Have you looked at any of these kernel parms?
msgmax(5) - maximum System V IPC message size in bytes (OBSOLETE)
msgmbs(5) - maximum number of megabytes for all System V IPC message queues
msgmnb(5) - maximum number of bytes on a single System V IPC message queue
msgmni(5) - maximum number of system-wide System V IPC message queues (IDs) allowed
msgseg(5) - number of System V IPC message segments in the system (OBSOLETE)
msgssz(5) - number of bytes in a System V IPC message segment (OBSOLETE)
msgtql(5) - maximum number of System V IPC messages in the system at any time
zsujith
Frequent Advisor

Re: Message Queue exceeded.

Hello,

I get alert as MSGMNI - Metric = > 3072.

From which command to verify.

Thanks & Regards
"The most wasted day is that in which we have not laughed."
Dennis Handly
Acclaimed Contributor

Re: Message Queue exceeded.

>From which command to verify.

For 11.23 and on: kctune msgmni
For 11.11, you'll need to use kmtune.
zsujith
Frequent Advisor

Re: Message Queue exceeded.

Hello,

I dont want to verify the kernel parameter value...but what is the message queue in the system.

Regards
"The most wasted day is that in which we have not laughed."
zsujith
Frequent Advisor

Re: Message Queue exceeded.

Hello,

For example i get the output using ipcs -m -b. But what that output indicates.

Regards
"The most wasted day is that in which we have not laughed."
Dennis Handly
Acclaimed Contributor

Re: Message Queue exceeded.

>I get the output using ipcs -m -b. But what that output indicates.

That gives shared memory segments. You want "ipcs -qa" for message queues. ipcs(1) will describe the columns.

If you are happy with your answers, please read the following:
http://forums.itrc.hp.com/service/forums/helptips.do?#33
zsujith
Frequent Advisor

Re: Message Queue exceeded.

Hello,

Message queues exceeded means we have to take a count of ipcs -qa|wc -l ....Am i right?

Regards
"The most wasted day is that in which we have not laughed."
Rasheed Tamton
Honored Contributor

Re: Message Queue exceeded.

Hello,

If you want more info about the Message Queue Operations, please see the below link:

http://docs.hp.com/en/TKP-90202/ch06s02.html

Regards.
Dennis Handly
Acclaimed Contributor

Re: Message Queue exceeded.

>Message queues exceeded means we have to take a count of ipcs -qa|wc -l

Except for titles, it seems like it.
Dennis Handly
Acclaimed Contributor
Solution

Re: Message Queue exceeded.

>Message queues exceeded means we have to take a count of ipcs -qa|wc -l

On 11.23 you can just use:
kcusage msgmni
zsujith
Frequent Advisor

Re: Message Queue exceeded.

Thank U Dennis
"The most wasted day is that in which we have not laughed."