--On Saturday, February 19, 2011 6:32 PM -0800 Howard Chu <hyc(a)symas.com>
wrote:
Omer Faruk SEN wrote:
> Hi ,
>
> I have and ldap server (openldap-2.4.23 ) in slapd.conf I set
>
> concurrency 8192
> threads 256
Keep in mind that each thread uses a thread stack of 4MB on 32 bit
systems, 8MB on 64 bit systems. So you're looking at 1-2GB of RAM
dedicated to the threads with a setting like this. Make sure you don't
configure more threads than you have RAM for...
I would add that your threads setting is likely a rather insane value
unless you have 256*4 cores (1024 core box). You generally don't need to
set the threads value higher than 8 or 16.
--Quanah
--
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration