Hi,
This system has 32 GB of RAM additionally OS is RHEL 5. And this system is 16 core. I see new threads are created as the load increases and I have re-checked my system and thread count is now 28. So I think at most 32 threads is fine for me
Regards.
On Sun, Feb 20, 2011 at 5:03 AM, Quanah Gibson-Mount quanah@zimbra.com wrote:
--On Saturday, February 19, 2011 6:32 PM -0800 Howard Chu hyc@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
openldap-technical@openldap.org