How to solve msgget error: Missing space on device?

I am writing an IPC application using message queues. When using the msgget () function to get the message queue, I get this error.

The requested operations do not require much space on the device and there should be free space as well.

Any ideas. Thank you in advance

+2


source to share


1 answer


ENOSPC

from msgget

indicates that the system-wide maximum number of message queues has been reached.



You might be able to tweak this limit - for example on Linux you can tweak /proc/sys/kernel/msgmni

.

+3


source







All Articles