wiki:WikiStart/Toolchain/PosixMQ

Version 1 (modified by sylvain.joyeux, 9 years ago) (diff)

--

System setup

  • echo 1000 > /proc/sys/fs/mqueue/msg_max
  • echo 1000000 > /proc/sys/fs/mqueue/msgsize_max
  • edit /etc/security/limits.conf and add
    * soft msgqueue unlimited
    * hard msgqueue unlimited
    

you can replace "*" by a username or a @group. See comments at the top of the limits.conf file