lmdb file size fixed at 8GiB

Denis Cardon dcardon at tranquil.it
Thu Jan 31 11:58:23 UTC 2019


Hi everyone,

I have a client preparing its switch to LMDB backend and in the testing 
environement we have reached the 8GiB hard limit in ldb_mdb.c [1].

It is not very hard to rebuild the RPMS with a 16GiB limit, however I 
had two question in mind :

* would it be possible to provide the size during the DC 
provisioning/join (it would be fixed on a a single DC, but it could be 
increase by joining a new one and removing the old one). And it would 
perhaps help for the bugzilla 13630 [2]

* if I change the mmap_size, is there anything I should be careful about 
if the lmdb file has been initially created with a 8GiB limit?

Cheers,

Denis

[1] 
https://gitlab.com/samba-team/samba/blob/samba-4.9.4/lib/ldb/ldb_mdb/ldb_mdb.c#L681
[2] We could set a smaller size on 32bit system 
https://bugzilla.samba.org/show_bug.cgi?id=13630


-- 
Denis Cardon
Tranquil IT Systems
Les Espaces Jules Verne, bâtiment A
12 avenue Jules Verne
44230 Saint SĂ©bastien sur Loire
tel : +33 (0) 2.40.97.57.55
http://www.tranquil.it

Samba install wiki for Frenchies : https://dev.tranquil.it
WAPT, software deployment made easy : https://wapt.fr



More information about the samba-technical mailing list