Should we swap fnctl and flock?

Or block file: for 'default' since it would choose multiple fcntls?

https://bugzilla.mozilla.org/show_bug.cgi?id=62457#c5


#if APR_HAS_FCNTL_SERIALIZE
   else if (!strcasecmp(meth, "fcntl") || !strcasecmp(meth, "file")) {
       *mutexmech = APR_LOCK_FCNTL;
   }
#endif
#if APR_HAS_FLOCK_SERIALIZE
   else if (!strcasecmp(meth, "flock") || !strcasecmp(meth, "file")) {
       *mutexmech = APR_LOCK_FLOCK;
   }
#endif






---------- Forwarded message ---------
From: <bugzi...@apache.org>
Date: Thu, Jun 14, 2018 at 11:47 AM
Subject: [Bug 60296] RMM list corruption in ldap module results in server hang
To: <b...@httpd.apache.org>


https://bz.apache.org/bugzilla/show_bug.cgi?id=60296

Dan Streetman <ddstr...@ieee.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #18 from Dan Streetman <ddstr...@ieee.org> ---
To follow up with results of testing non-file locking: yep, the end user we
were working with initially had this in their config, as Rafael said:

Mutex file:${APACHE_LOCK_DIR} default

and we asked them to update it to not use file for ldap, by changing to:

Mutex file:${APACHE_LOCK_DIR} default
Mutex sem ldap-cache


After that change (done about 1 month ago) they restarted and have not seen the
problem happen again.  I don't have any answer to why exactly they set the
default to file locking.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



-- 
Eric Covener
cove...@gmail.com

Reply via email to