[Date Prev][Date Next]
Re: (ITS#3609) ch_malloc of 8388608 bytes failed
I changed the value of <searchstack> from 4 to 8 and re-ran the program with the
same results also uploaded to my website (this time I included <slapd.conf>):
There is only one <slapd.conf> file around, so there should be no confusion.
Many, many thanks for your time and effort.
On 3/30/2005 5:23 PM, Pierangelo Masarati wrote:
> 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
>> 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
Bob Smith - firstname.lastname@example.org - http://www.sudleyplace.com
a.k.a. email@example.com - http://www.qualitas.com