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

Re: (ITS#3609) ch_malloc of 8388608 bytes failed


I suggest you keep posting to the ITS, so we can keep track of the 
evolution of your problem.

At a first glance, you're running out of memory; slapd with back-bdb can 
be very demanding and, based on the number of threads and on the sizing 
of various caching parameters, you may need either to put more ram in 
your server, or reduce some settings.  We'll need to dig a bit further 
in the configuration parameters, and do some tunings by trial and 
error.  I suggest you try playing with some of the fancy parameters 
described in slapd-bdb(5), like cachesize, idlcachesize, searchstack and so.


Bob Smith wrote:

> Many thanks for taking the time to look at this.  I've uploaded the 
> back trace to http://www.sudleyplace.com/backtrace.html.  I hope this 
> is helpful.
> This time, the crash was almost trivial to reproduce:
> On remote server:
> gdb slapd
> run -d 1 -h ldap://qualitas.com:3389
> On local machine:
> In Mozilla Thunderbird 1.0.2
>   select Write
>   enter address of "jim"
>   wait for a moment for the "-d 1" output to subside
>   continue typing with " brown"
> Crash.
> Later, I will recompile with BDB 4.2.52 as you suggest.

    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497