osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fwd: [Bug 60296] RMM list corruption in ldap module results in server hang


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: <bugzilla@xxxxxxxxxx>
Date: Thu, Jun 14, 2018 at 11:47 AM
Subject: [Bug 60296] RMM list corruption in ldap module results in server hang
To: <bugs@xxxxxxxxxxxxxxxx>


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

Dan Streetman <ddstreet@xxxxxxxx> changed:

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

--- Comment #18 from Dan Streetman <ddstreet@xxxxxxxx> ---
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-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx



-- 
Eric Covener
covener@xxxxxxxxx