Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Bugs
[Bug 46942] error log messages: apr_global_mutex_lock(rewrite_log_lock) failed
 

Index | Next | Previous | View Flat


bugzilla at apache

Jun 10, 2009, 1:07 PM


Views: 312
Permalink
[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 <poirier[at]pobox.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Priority|P2 |P3




--- Comment #1 from Dan Poirier <poirier[at]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[at]httpd.apache.org
For additional commands, e-mail: bugs-help[at]httpd.apache.org

Subject User Time
[Bug 46942] error log messages: apr_global_mutex_lock(rewrite_log_lock) failed bugzilla at apache Jun 10, 2009, 1:07 PM
    [Bug 46942] error log messages: apr_global_mutex_lock(rewrite_log_lock) failed bugzilla at apache Jun 11, 2009, 1:01 AM
    [Bug 46942] error log messages: apr_global_mutex_lock(rewrite_log_lock) failed bugzilla at apache Jun 11, 2009, 4:36 AM
    [Bug 46942] error log messages: apr_global_mutex_lock(rewrite_log_lock) failed bugzilla at apache Jun 11, 2009, 5:20 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.