Sunday, 18 September 2011

No space left on device: Couldn't create accept lock

If you see any error like this in your apache then you can do the following procedure to fix the issue.

for semid in `ipcs -s | grep apachec | cut -f2 -d" "`; do ipcrm -s $semid; done

ipcs -l

vi /et/sysctl.conf

kernel.msgmni = 1024

kernel.sem = 250 256000 32 1024

sysctl -p

No comments: