Michael, I tested your patch against Ubuntu 12.10's 3.5.0-26-generic
kernel, applied after `apt-get source`. Your patch does apply and build
cleanly (offset 1 line compared to the 3.9 sources).

However, it unfortunately does not fix the issue. sysctl still cannot be
used to raise the message queue limit above 1024. Given this,
ipc_ns->mq_queues_max is still initialized to DFLT_QUEUESMAX (256) and
ultimately limited by HARD_QUEUESMAX (1024), even if that's not being
tested for directly in mqueue_create().

I've attached a simpler, one-line patch that I've confirmed does fully
solve the problem for us; it just raises the HARD_QUEUESMAX constant
from 1K to 1M. I believe this would be the least intrusive change to
make, just restoring a sufficient amount of the capacity that the kernel
used to provide back in the pre-3.5 days of an INT_MAX limit.

** Patch added: "Raise the HARD_QUEUESMAX limit from 1K to 1M"
   
https://bugs.launchpad.net/ubuntu/+source/manpages/+bug/1155695/+attachment/3583197/+files/hard_queuesmax_1m.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1155695

Title:
  mq_overview(7) contains outdated, inaccurate fs.mqueue.queues_max
  limit description

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/manpages/+bug/1155695/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to