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

Re: slapd does not answer in time

--On Friday, February 22, 2008 10:37 AM +0100 Hans Moser <hans.moser@ofd-sth.niedersachsen.de> wrote:

Pierangelo Masarati schrieb:

There is no connection number limit (except for OS limits on number of
file descriptors and so); bu 65 replicas re-syncing simultaneously, with
operations that may require hours, will eat up all threads if configured
as the default.  If you need to have so many replicas, you might
consider unloading the master from bulk search load, dedicating it to
centralizing writes, and configure it with lots of threads, so that it
can simultaneously deal with syncs and writes (e.g. 8 threads plus the
number of consumers, to be conservative).
Thanks, I increased the number of "threads".
Should I increase "concurrency" too?

Personally, I think this was bad advice, as I've seen there be serious problems in the past with a high number of threads (tons of contention). As recently discussed, there hasn't been any proven benefit from going beyond 16 threads with OpenLDAP.



Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
Zimbra ::  the leader in open source messaging and collaboration