Re: mq_open & msg_max

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

James Wilkinson wrote:

>>I have an application that uses poxis message queue. I've been modifying
>>the kernel file ipc/mqueue.c so msg_max is 40 (default is 10).
>>I still need it to be 40. Some Unix can modify these kinds of limit (like
>>solaris's /etc/system files). Is there a way to do thing in linux/FC3?
> 
> 
> At a quick glance, it looks as though if this could be set anywhere, it
> would be by one of the files in /proc/sys/kernel.

It's in /proc/sys/fs/mqueue/.  The parameter for the number of messages
in a queue is /proc/sys/fs/mqueue/msg_max.

- --
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)

iD8DBQFBtQN12ijCOnn/RHQRAm7aAJ0QagTI5zchAi2sgBuzEDD9CoWxeQCfT4Ge
jgECmDB88ewhAaIxgMnSSmg=
=R5zZ
-----END PGP SIGNATURE-----


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux