How to solve "msgget: No space left on device" error?
I am writing an IPC application using message queues. While using msgget() function to get Message Queue I am getting this error.
The requested operations does not require lot of space on the devi开发者_如何学编程ce and there should be space left as well.
Any ideas. Thank you in advance
ENOSPC
from msgget
indicates that the system-wide maximum number of message queues has been reached.
You may be able to configure this limit - eg in Linux you can tweak /proc/sys/kernel/msgmni
.
精彩评论