If you find the errors in Apache error logs as follows:
No space left on device: Couldn’t create accept lock [or]
No space left on device: mod_rewrite: could not create rewrite_log_lock Configuration Failed
Then, execute the following commands. It’ll fix this issue.
ipcs -s | grep nobody
for i in `ipcs -s | grep nobody | awk ‘{print $2}’`; do ipcrm -s $i; done
The above errors will occur if the Apache user occupies a great number of semaphores.
No comments:
Post a Comment