Messages in this thread | | | Date | Tue, 18 Jan 2000 10:52:07 +0100 | From | Manfred Spraul <> | Subject | Re: SysV IPC msg queue limits |
| |
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/
| |