[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Debian Squeeze: Slapd subtree disappears, but ldapsearch finds it | unable to allocate memory for mutex; resize mutex region



--On Thursday, May 02, 2013 12:58 PM -0400 David Blank-Edelman <dnb@ccs.neu.edu> wrote:


On May 2, 2013, at 12:53 PM, Quanah Gibson-Mount <quanah@zimbra.com>
wrote:

The distribution maintainers are quite aware of the objections to the
way in which they build their software.  Their decisions have little to
do with needs of the end users.

Ok, then perhaps guidelines for the rest of us? I know I try to pick up
tips whenever someone says "don't do it like RH, they <blah>" but it
would be really swell if these things were written down someplace in a
single spot.  Can you see any downside to having this documented for the
public?

There is not a whole lot to it.

a) Link to OpenSSL, not gnutls (debian/ubuntu default) or NSS (rhel default)

b) If you are going to use BDB as your underlying database software and are on Linux, make sure to pass the following flags to configure: --enable-posixmutexes --with-mutex=POSIX/pthreads

Post build:

c) Generally, I advise preloading a memory allocator such as tcmalloc from google perf tools. Particularly important for Linux to avoid using the horrid glibc allocator.

--Quanah

--

Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration