On Wed, Mar 04, 2009 at 12:32:53PM -0800, Quanah Gibson-Mount wrote:
--On Wednesday, March 04, 2009 3:30 PM -0500 John Morrissey jwm@horde.net wrote:
On Wed, Mar 04, 2009 at 12:13:49PM -0800, Quanah Gibson-Mount wrote:
Interseting. I've seen this sort of CPU usage issue with OpenLDAP 2.3/BDB4.2.52 on Ubuntu 8. Do you know how BDB 4.7 was built? I.e., specifically, did it have the:
--enable-posixmutexes --with-mutex=POSIX/pthreads
options enabled?
It's the Debian packaging for BDB 4.7 (only available in sid, but it's a simple rebuild to backport to lenny). They do *not* appear to pass any mutex-related options to ./configure.
Yeah, that's a major problem in using Debian's builds of BDB. You want those options sent to configure when using BDB on Linux NPTL systems.
FWIW, I've filed http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520926 against the Debian BDB 4.7 packaging.
john