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

Re: (ITS#9159) mdb_put failed: MDB_MAP_FULL: Environment mapsize limit reached(-30792)





--On Friday, January 31, 2020 12:09 PM +0530 Vijay Kumar <pasumarthivijaykumar@gmail.com> wrote:





I could see some stats from mdb-stat tool as mentioned below,


mdb_stat.exe -rne "C:\openldap\mdb\data.mdb"
Environment Info
  Map address: 0000000000000000
  Map size: 268435456   (we have set the value
as ‭104,857,600,000,000‬ in mdb.c and back_mdb.h files, but it has
taken only 256 MB, not sure why?)


You should be making NO CHANGES to the source code *AT ALL*. The *ONLY* thing you should be doing is setting a maxsize parameter correctly in the slapd configuration. PERIOD. I don't know how to be any clearer than this.

Regards,
Quanah


--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>