From: Troels Arvin <troels.arvin@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: msgmnb limits?
Date: Tue, 16 Feb 2010 11:59:06 +0100 [thread overview]
Message-ID: <4B7A7A7A.1000805@gmail.com> (raw)
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
next reply other threads:[~2010-02-16 10:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-16 10:59 Troels Arvin [this message]
2010-02-16 12:43 ` msgmnb limits? Andy Walls
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B7A7A7A.1000805@gmail.com \
--to=troels.arvin@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox