How To Delete Apache Semaphore
Apache generates semaphores and when it can not generate more, you should get an error like this:
“No space left on device:mod_rewrite: could not create_rewrite: could not create rewrite_log_lockConfiguration Failed”
You should delete semaphores to fix it.
Listing and deleting semaphores :
# ipcs -s grep apache
# ipcs -s grep apache perl -e ‘while () { @a=split(/\s+/); print `ipcrm sem $a[1]`}’
You should be able to start apache fine now.
Categories: General Tags: apache performance, apache semaphore
