Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Showing results for 
Search instead for 
Did you mean: 

Max Size in Msg Snd

Occasional Advisor

Max Size in Msg Snd


We are encountering this error message on
msgsnd () whenever we try to send across a larger message greater than around char[1200].

msgsnd: Resource temporarily unavailable

Are there any kernel params that control the behaviour of msgsnd.

Wld appreciate any advice..


Jeff Schussele
Honored Contributor

Re: Max Size in Msg Snd


See the following kernel parms:

msgmax => Max size in bytes of a msg in a queue
msgmnb => Max size of a single msg queue
msgmni => Max # of msg queues
msgtql => Max # of msgs in the system (all queues)

PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Occasional Advisor

Re: Max Size in Msg Snd

msgmax 32768
msgmnb 32768
msgmni 25,600
msgseg 32767
msgssz 16
msgtql 25,600

Are these params enuf on HpUx11i
My Messages are pretty small around 4K but the strangely the starting portion of the messages are trucancated.

Wld appreciate any help.