httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 46942] error log messages: apr_global_mutex_lock(rewrite_log_lock) failed
Date Wed, 10 Jun 2009 20:07:19 GMT

Dan Poirier <> changed:

           What    |Removed                     |Added
           Priority|P2                          |P3

--- Comment #1 from Dan Poirier <>  2009-06-10 13:07:17 PST ---
I think I've figured out what's going on (with some help from Greg Ames).  Not
sure yet how to fix it.

The global mutex used by mod_rewrite to serialize writing to the rewrite log is
created in post_config().  So when the parent starts its graceful restart and
cleans up the old configuration, it's going to clean up - destroy - that global
mutex.  Children still finishing up requests now have a reference to a mutex
that no longer exists, hence attempts to lock the mutex fail.

I think the worst effect of this is the possibility that a few rewritelog
messages get intermingled in the log, which isn't too important.  Still, it
would be nice to figure out a way to make this work right.  Maybe somebody who
knows how modules work better than I knows how to do this.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message