KB Article #73060

"No space left on device" error encountered when trying to control Gateway

Problem

-- When trying to start or stop Gateway the following error can be observed, either in command line or in a trace file (SYS.out, SUP.out):



-- 2011/10/19 10:11:23 - ERROR from SmwQueueOpen
  2011/10/19 10:11:23   msgget failure: (28) No space left on device


Resolution

* The error is generally encountered when the Operating System cannot open additional IPC message queues (due to configuration limits).



To solve this:



1. Determine the number of messages queues already opened:
ipcs -a (or ipcs -q)



2. Determine the number of IPC message queues needed by Gateway.
Typically Gateway needs 7 message queues when using only one protocol but the need may increase while activating additional protocols and/or dynamic processes.



3. Increase the number of IPC message queues (msgmni)
For exemple:
echo  100 > /proc/sys/kernel/msgmni



4. Restart Gateway