Re: SysV IPC msg queue limits

From: Manfred Spraul (manfreds@colorfullife.com)
Date: Tue Jan 18 2000 - 04:52:07 EST


Tani Hosokawa wrote:
>
> I'm trying to increase the limits for SysV message queues (specifically,
> MSGMNB, MSGMNI, and MSGQNUM). I can increase the first two with no problem.
>
> When I try to increase MSGMNB, it fails.

You cannot increase MSGMNB > 65535.

> I can't even write a single
> message without getting EAGAIN. I assume this is because of the msqid_ds
> structure:

Do you set it to a multiple of 64k? Then the kernel treats this value as
zero.

> Has anyone else attempted to increase MSGMNB to, say, 256k?
>

The current development kernel supports messages and message queues up
to INT_MAX, but you might run out of memory if you use such messages ;)

--
	Manfred

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:17 EST