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

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

Bob Smith wrote:

> No sooner had I configured <slapd.conf> as described below and then 
> tested it exactly as before, did it crash again.  This time I ran
> thread apply all bt full
> but apparently there was only one thread running.  As before, I put 
> all this onto my web site at
> http://www.sudleyplace.com/backtrace.html
> Any suggestions you can make as to different values for these 
> parameters or other parameters, please let me know.  Also, I'd be 
> willing to try a less memory-hungry backend if you think that'll help.
> On 3/30/2005 4:53 PM, Bob Smith wrote:
>> Thanks -- I'll look at the parameters.  I share the box running slapd 
>> with others, so I don't have much control over how much memory I get 
>> to use.
>> I'll try running with
>> cachesize 100
>> idlcachesize 0
>> searchstack 4
searchstack cannot be less than 8; if you set it to 4, it's going to be 
set to 8 anyway (and issue a warning).  However, when searchstack is set 
to 8 (instead of 16, the default), the amount of memory you're 
malloc'ing in that call (size=8388608, resulting from searchstach * 
sizeof(ID) * (2<<17)) should halve.  Are you sure you set the parameters 
as indicated above?


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