https://issues.apache.org/bugzilla/show_bug.cgi?id=46942

           Summary: error log messages:
                    apr_global_mutex_lock(rewrite_log_lock) failed
           Product: Apache httpd-2
           Version: 2.2.11
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: mod_rewrite
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Description of problem:

On httpd graceful restart httpd error log show up this:
[Tue Mar 31 12:50:42 2009] [error] [client 127.1.2.3] (43)Identifier removed:
apr_global_mutex_lock(rewrite_log_lock) failed
[Tue Mar 31 12:50:42 2009] [error] [client 127.1.2.3] (43)Identifier removed:
apr_global_mutex_unlock(rewrite_log_lock) failed


Version-Release number of selected component (if applicable):

Same Error show up in 2.2.11 upstream apache httpd release


Steps to Reproduce:

0. Build test apache: ./configure --prefix=/tmp/httpd-2.2.11
--enable-mods-shared=most --enable-ssl --enable-proxy
1. Create directory /tmp/foo
2. Add (this) minimal server config foo-httpd.conf:
   --%<--
     ServerRoot "/tmp/foo"
     DocumentRoot "/tmp/foo"
     PidFile /tmp/foo/httpd.pid
     LoadModule dir_module /tmp/httpd-2.2.11/modules/mod_dir.so
     LoadModule rewrite_module /tmp/httpd-2.2.11/modules/mod_rewrite.so
     User nobody
     Group nobody
     ErrorLog  foo-error_log
     RewriteLog foo-rewrite.log

     RewriteLogLevel 1

     Listen 127.1.2.3:8765
     <VirtualHost 127.1.2.3:8765>
         ServerName foo.bar
         RewriteEngine On
         RewriteOptions Inherit
     </VirtualHost>
   --%<--
3. Start server: /tmp/httpd-2.2.11/bin/httpd -f /tmp/foo/foo-httpd.conf -k
start
4. Do graceful restart: /tmp/httpd-2.2.11/bin/httpd -f /tmp/foo/foo-httpd.conf
-k graceful
5. Find the apr_global_mutex_lock errors in /tmp/foo/foo-error_log

Additional info:
  The error messages vanish if 
    the RewriteLogLevel is set to 0
  or 
    the RewriteOptions Inherit ist _not_ set

Kind Regards,
Roland

-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to