Package: slapd
Version: 2.4.39-1
Severity: wishlist
The LMDB backend is now considered stable, and in 2.4.40 upstream will
start to recommend it over hdb as the default backend. For jessie I'd
like for it to at least be included as an option in the debconf menus.
The default maxsize for back-mdb is 10 MiB, only enough (IMO) for a toy
database. I think we should configure it higher, but I'm not sure how
high. On 32-bit systems there is only so much address space available.
(I believe, but am not certain, that the maxsize is used directly as the
size parameter to mmap(2).)
Zimbra uses 80 GB as the default (a 64-bit system is required), and
ships a cron job that alerts the admin if the database is close to
filling up and can automatically adjust the maxsize.
http://wiki.zimbra.com/wiki/OpenLDAP_Performance_Tuning_8.0#Notes_on_MDB
If you reach the size limit, slapd keeps running and searches still
work, only writing is no longer possible.
I predict, though, that offering mdb as a configuration choice is going
to result in a lot of people asking for dpkg-reconfigure to be able to
change the backend of an existing database (ie. #599585)...
I don't know what the format stability of mdb is like (ie. whether, or
when, a dump/reload is required). I will look into that.
thanks,
Ryan
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org