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

Re: syncrepl replication taking too long(not sync)


I forget to mention that even if I stop the second mirror is stopped 
again the first mirror cpu still being consumed. I was expecting that 
after the search from the second mirror is stopped the cpu consumption 
would be finished.

Not sure if with dncache unlimited, even all other caches equal to 0, if 
the memory will be enough. Looks like memory needs to be enough to 
handle all dncache for DBs in system.



Quanah Gibson-Mount wrote:
> --On Tuesday, August 18, 2009 2:13 PM -0700 Rodrigo Costa 
> <rlvcosta@yahoo.com> wrote:
>> Quanah,
>> The issue is that if I do not limit dncache the slapd crashes since
>> after sometime it cannot allocate more system memory(malloc). Only
>> dncache in two DBs can consume all memory possible to allocate.
> See below.  You obviously need to better tune other things.
>>> Limit your memory consumption in other ways if you need
>>> to (Smaller BDB cache, smaller entry cache, smaller idlcache).
>>> Limiting the dncachesize is pretty much suicidal in any large db.
> --Quanah
> -- 
> Quanah Gibson-Mount
> Principal Software Engineer
> Zimbra, Inc
> --------------------
> Zimbra ::  the leader in open source messaging and collaboration