Apache disk full error, with lots of free disk space
by daven on May.12, 2008, under Uncategorized
Occasionally when attempting to start or restart Apache 2.2.X you may get an error like “No space left on device: Couldn’t create accept lock” in the error logs. No a quick df shows that you have plenty of space left on all filesystems so what now…
Apache uses semaphores to control its sub processes and sometimes those semaphore’s don’t get closed properly and the error you are getting actually means Help! and can’t get anymore semaphore’s.
Now to see if this is actually the case you can check the following command:
ipcs -s | grep
If you see a lot of entries, espically if Apache does not start, then this is probably your issue. Fortunately, there is an easy way to resolve the issue, just run the command below to kill all semaphores owned by
ipcs -s | grep
You do run everything as unique users don’t you? Other wise any other running applications or apache instances owned