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.
Related posts:
- What Is Semaphores Linux ? A semaphore is a type of Interprocess communication resource used...
- awk linux with example – Useful Famous Oneliners 1. Delete leading whitespace (spaces and tabs) from the beginning...
- Semaphore error (semget) – Apache crash The issue causes mainly due to not enough disk space...
- Use this script to reduce apache high load This script can be used to minimise the load on...
- Cannot restart Apache : Segmentation fault : Apache Down Apache goes down and wont come up if we try...
