Feb
24
2008

[Apache] No space left on device: mod_rewrite

最近 Apache 經常無故死掉,查看 log 檔卻只看見:

[Sun Feb 24 16:48:46 2008] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
Configuration Failed

但當時主機各方面都很正常,絕無可能不夠 space/memory,解決方法就是 reboot = =

後來 google 一下,找到一個 work around,原理是刪除 Semaphores Array:

  1. # ipcs -s | grep apache | awk '{ print $2 }' | xargs ipcrm sem
Written by Chris Lam in: Linux / Unix |

No Comments »

RSS feed for comments on this post. TrackBack URL

Leave a comment

You must be logged in to post a comment.

Powered by WordPress | Aeros Theme | TheBuckmaker.com WordPress Themes