分类
为人民服务

semget: No space left on device N次遇到这个问题

This relates to semaphores on your system (you’ve run out). Run the following to clear them out:
ipcs | grep apache | awk ‘{print $2}’ > sem.txt
for i in cat sem.txt; do { ipcrm -s $i; }; done;

If this becomes a common occurance, then you may need to change your ipcs semaphore limits.
Set the following in your /etc/sysctl.conf:
kernel.msgmni = 1024
kernel.sem = 250 256000 32 1024

and reboot your system to load in those values.

使用BAsh脚本检查
https://help.directadmin.com/item.php?id=572

最近通过搜索访问本文章的关键词:

由棋仙

人生就是一场旅行,不必在乎目的地,在乎的,只是沿途的风景,和看风景的心情.

发表评论

电子邮件地址不会被公开。 必填项已用*标注