开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜