[comp.unix.questions] IPC

SIMSN%NUSDISCS.BITNET@cunyvm.cuny.edu (11/09/89)

 There's a group of users on our system (AT&T 3B4000/15) thats
 running some communication process and they came across this:

 msgget err: No space left on device


 Can anyone help me out on this?

 Thanks.


> Sim Ser Ngarn (Jnet%"SIMSN@NUSDISCS")
> National University of Singapore
> Department of Information Systems and Computer Science

mitzel@girtab.usc.edu (Danny Mitzel) (11/10/89)

In article <21406@adm.BRL.MIL> SIMSN%NUSDISCS.BITNET@cunyvm.cuny.edu writes:
>>
>> There's a group of users on our system (AT&T 3B4000/15) thats
>> running some communication process and they came across this:
>>
>> msgget err: No space left on device
>>
>>
>> Can anyone help me out on this?
>>
>> Thanks.
i assume you are using system V IPC (shared memory, message queues,
semaphores).  the error you received is caused by an attempt to
allocate a new message queue (msgget(key, msgflg & IPC_CREAT)) which
would cause the system imposed limit on number of message queues to
be exceeded.

on the system i am familiar with (sun os 4.x with system V extensions)
the limit defaults to 50.  however in this system it is a tuneable
parameter in the kernel config file, you can try raising the limit
by setting MSGMNI to a higher value.