mq_open & msg_max

Ulrich Drepper drepper at redhat.com
Tue Dec 7 01:12:21 UTC 2004


-----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-----




More information about the fedora-list mailing list