--0-65098359-1232716543=:26208 Content-Type: text/plain; charset=us-ascii
Howard,
I had the monitor enabled. But I could not see nothing related to cache in its output.
I executed the command :
ldapsearch -LLL -x -b "cn=monitor" -H ldap://10.142.15.42:389 > monitor_2.txt
It is supposed to be all information provided by monitor, as I know.
Please see file attached with information.
I still not sure what or which cache is consuming all memory. I do not understand why we place cache size definitions to slapd and it doesn't respect them.
Regards,
Rodrigo.
--- On Thu, 1/22/09, Howard Chu hyc@symas.com wrote:
From: Howard Chu hyc@symas.com Subject: Re: (ITS#5860) slapd memeory leak under openldap 2.4 To: rlvcosta@yahoo.com Cc: openldap-its@openldap.org Date: Thursday, January 22, 2009, 8:36 PM rlvcosta@yahoo.com wrote:
Quanah,
I just used tcmalloc but I still with the same
behavior. slapd doesn't
have limit for the cache and then it cannot run large
databases.
As a side comment, we have already documented that about 1 million entries is the practical limit for slapd on a 32 bit machine. Since 64 bit machines are so common today, making slapd perform well on a 32 bit machine is no longer a priority.
Also, by design, tcmalloc doesn't release freed memory back to the OS, since it will most likely be needed again. It's normal for the slapd process size to never shrink.
One thing you can check is to add a "database monitor" to your slapd configuration; one of the entries under cn=monitor will report the number of items in the back-bdb cache. Please provide this information here.
-- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/
--0-65098359-1232716543=:26208 Content-Type: text/plain; name="monitor_2.txt" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="monitor_2.txt"
ZG46IGNuPU1vbml0b3INCm9iamVjdENsYXNzOiBtb25pdG9yU2VydmVyDQpj bjogTW9uaXRvcg0KZGVzY3JpcHRpb246IFRoaXMgc3VidHJlZSBjb250YWlu cyBtb25pdG9yaW5nL21hbmFnaW5nIG9iamVjdHMuDQpkZXNjcmlwdGlvbjog VGhpcyBvYmplY3QgY29udGFpbnMgaW5mb3JtYXRpb24gYWJvdXQgdGhpcyBz ZXJ2ZXIuDQpkZXNjcmlwdGlvbj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3M6IG1vbml0b3JlZE9iamVjdA0KY246IFVwdGltZQ0KDQpkbjog Y249VExTLGNuPU1vbml0b3INCm9iamVjdENsYXNzOiBtb25pdG9yQ29udGFp bmVyDQpjbjogVExTDQpkZXNjcmlwdGlvbjogVGhpcyBzdWJzeXN0ZW0gY29u dGFpbnMgaW5mb3JtYXRpb24gYWJvdXQgVExTLg0KDQpkbjogY249V2FpdGVy cyxjbj1Nb25pdG9yDQpvYmplY3RDbGFzczogbW9uaXRvckNvbnRhaW5lcg0K Y246IFdhaXRlcnMNCmRlc2NyaXB0aW9uOiBUaGlzIHN1YnN5c3RlbSBjb250 YWlucyBpbmZvcm1hdGlvbiBhYm91dCByZWFkL3dyaXRlIHdhaXRlcnMuDQoN CmRuOiBjbj1SZWFkLGNuPVdhaXRlcnMsY249TW9uaXRvcg0Kb2JqZWN0Q2xh c3M6IG1vbml0b3JDb3VudGVyT2JqZWN0DQpjbjogUmVhZA0KDQpkbjogY249 V3JpdGUsY249V2FpdGVycyxjbj1Nb25pdG9yDQpvYmplY3RDbGFzczogbW9u aXRvckNvdW50ZXJPYmplY3QNCmNuOiBXcml0ZQ0KDQo=
--0-65098359-1232716543=:26208--