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.




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