POSIX Message Queues
Rick Stevens
rstevens at vitalstream.com
Thu Nov 17 23:53:49 UTC 2005
On Thu, 2005-11-17 at 16:40 -0700, Shay, Daniel wrote:
> We have been running a FC4/PPC64 machine where we have run into the
> following issues with POSIX message queues.
>
> -An application fails to close/unlink queues, allowing the machine the
> reach the /proc/sys/fs/mqueue/queues_max limit. I don't know how to
> cleanup message queues let open after process dies. Note: ipcs doesn't
> seem to work with POSIX message queues.
It should. "ipcrm -Q" or "ipcrm -q" should do it.
> -The default /proc/sys/fs/mqueue/msg_max is set to 10, we would like to
> have this set to 100 when the machine is rebooted
Edit /etc/sysctl.conf and add the lines:
# Increase message queue
fs.mqueue.msg_max = 100
> I've noticed POSIX message queues are relatively new to the Linux 2.6
> kernel, is the support just not finished?
I think it's done. I could be wrong.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- Tempt not the dragons of fate, since thou art crunchy and taste -
- good with ketchup. -
----------------------------------------------------------------------
More information about the users
mailing list