semget: No space left on device

Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"

Top Level » Apache Related Information

semget: No space left on deviceLast Modified: Nov 9, 2014, 8:51 pm
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.

If that still doesn't help, then you could try using a cronjob to periodically check, and clear them out as needed.
Related Helpfiles
[emerg] (13)Permission denied: couldn't grab the accept mutex
Automating the removal of apache semaphores with ipcs/ipcrm

2003 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST