[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: slapd-bdb cachesize
> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Igor Brezac
> On Wed, 12 Mar 2003, Howard Chu wrote:
> > As I mentioned before, if you suspect a memory leak, then you should get
hold
> > of a malloc debugging tool and try to verify whether a leak actually
exists
> > or not. If you're running on Linux, my hack of FunctionCheck (version
1.5.1)
> > is pretty useful for this purpose. It's what I use to track these issues.
> > http://highlandsun.com/hyc/fncchk151.tgz
> Well, I use Solaris so this will not work for me. I located CSRIMALLOC
> and I will try to rebuild openldap. Do you have any other debugger
> recommendations?
I've removed the dependency on glibc so it now works on Solaris too. The
malloc tracing now uses dlsym() to intercept the normal malloc, so it should
work on any platform that has SVR4-style dlopen/dlsym. The pthread support is
not portable though, and it assumes the dynamic linker is ELF-based.
http://highlandsun.com/hyc/fncchk152.tgz
> > You can use it too. Please do.
> >
> > -- Howard Chu
> > Chief Architect, Symas Corp. Director, Highland Sun
> > http://www.symas.com http://highlandsun.com/hyc
> > Symas: Premier OpenSource Development and Support
> >