CartMetrix - Do you know yours?

« Around Town | Home | MySQL Performance Tuning »

6/1/2005

Apache Dying Weekly

Has anyone had the problem with Apache dying after being up over a week with the following message?

[Wed Jun 01 18:25:01 2005] [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock

There is a moderate amount of discussion on it, but no solutions I found. Memory leaks.

The temporary solution to clear up the semaphores for Apache with a:

ipcs -s | grep nobody | perl -e 'while (<stdin>) { @a=split(/\s+/); print `ipcrm sem $a[1]`}'
ipcs -m | grep nobody | perl -e 'while (</stdin><stdin>) { @a=split(/\s+/); print `ipcrm -m $a[1]`}' </stdin>

works but, it only treats the symptom (dead Apache) not the cause. SIM and cleaning the semaphores daily is the best I have found.

Popularity: 9%

Trackback:

Related Posts

One Response to “Apache Dying Weekly”

  1. damonparker.org said:

    Apache Dying Weekly - FIXED

    Update to Apache Dying Weekly …

Post your opinion

Verification Image

Please type the letters you see in the picture.

Subscribe without commenting


damonparker.org is proudly powered by WordPress
Entries (RSS) and Comments (RSS).

copyright © 2002-2009 damonparker.org. all rights reserved.

Close
E-mail It