public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* msgmnb limits?
@ 2010-02-16 10:59 Troels Arvin
  2010-02-16 12:43 ` Andy Walls
  0 siblings, 1 reply; 2+ messages in thread
From: Troels Arvin @ 2010-02-16 10:59 UTC (permalink / raw)
  To: linux-kernel

Hello,

On a server with lots of RAM (192GB), I ran into an application (DB2) 
which applies the following sysctl changes when it's started, if the 
values haven't already been set to - at least - the stated values:

  - kernel.msgmax = 65535
  - kernel.msgmnb = 65536

However, that doesn't work: Certain operations (LOAD and 
backups/restores) will fail with the following messages, unless 
kernel.msgmnb is increased:

DIA8557C No message was sent using the message queue.
CALLED  : OS, -, msgsnd                           OSERR: EAGAIN (11)
DATA #1 : system V message queue identifier., PD_TYPE_SYSV_QUEUE_ID


I tried setting kernel.msgmnb to 524288, and then things work. This 
value was chosen out of the blue, and I'd like to make a more informed 
choice:

  - Is there a limit to the size of msgmnb?
  - Can I expect the system to start thrashing if msgmnb is
    increased beyond a certain value?
  - Is my understanding correkt: msgmnb should always be at least
    as large as msgmax?

Thanks in advance.

-- 
Regards,
Troels Arvin

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-02-16 12:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-16 10:59 msgmnb limits? Troels Arvin
2010-02-16 12:43 ` Andy Walls

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox