You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2009/06/10 22:07:19 UTC
DO NOT REPLY [Bug 46942] error log messages:
apr_global_mutex_lock(rewrite_log_lock) failed
https://issues.apache.org/bugzilla/show_bug.cgi?id=46942
Dan Poirier <po...@pobox.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P2 |P3
--- Comment #1 from Dan Poirier <po...@pobox.com> 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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org