Ok, i am just testing it, i will follow those recommendations, but this is what i did as work around:

So i have updated the olcDbMaxSize to below value and now i am able to do ldapadd, but i was in the impression that once u set the maxsize at the time of ldap initialization you can't update that, right? 


echo "dn: olcDatabase={1}mdb,cn=config
changetype: modify
replace: olcDbMaxSize
olcDbMaxSize: 21474836480" |ldapmodify -x -D "cn=config" -H ldap://localhost:10389 -w

So the above operation will resize the db?

Thanks,
Ram

On Tue, Oct 3, 2017 at 4:01 PM, Quanah Gibson-Mount <quanah@symas.com> wrote:
--On Tuesday, October 03, 2017 4:53 PM -0700 rammohan ganapavarapu <rammohanganap@gmail.com> wrote:


Ok, this is what i see in ldap logs, this could be because of
maxsize? olcDbMaxSize: 102400


mdb_idl_insert_keys: c_put id failed: MDB_MAP_FULL: Environment mapsize
limit reached (-30792)

Yes.  Again, as I said before, you need to set a *large* maxsize.  Like the one I recommended previously.


--Quanah

--

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