Submitted by PatTzZ on Tue, 09/27/2016 - 11:49 Pro Licensee
Hi,
We had a serious problem here and we want to avoid getting the same problem again.
We got this:
[Tue Sep 27 12:29:32.104274 2016] [core:emerg] [pid 541] (28)No space left on device: AH00023: Couldn't create the rewrite-map mutex
We fixed the problem by running this:
for i in ipcs -s | awk '/apache/ {print $2}'
; do (ipcrm -s $i); done
What we can do to avoid this problem? We can not afford to make our customers loosing acces to their servers.
Thanks to help.
Status:
Closed (fixed)
Comments
Submitted by andreychek on Tue, 09/27/2016 - 13:06 Comment #1
Howdy -- sorry to hear you had some trouble with Apache starting!
We don't see that issue too often, though it does occur.
There's some thoughts on that, including a few options for handling it, here:
https://major.io/2007/08/24/apache-no-space-left-on-device-couldnt-creat...
You could try what they mentioned, increasing the available semaphors... or you could create a script that runs on occasion via cron that clears out all the existing ones.
Submitted by PatTzZ on Wed, 10/05/2016 - 13:01 Pro Licensee Comment #2