lkml.org 
[lkml]   [2000]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.071 / U:0.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site