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

RE: deferring operation?



Howard, I'm curious about your last statement.  Why would 16 threads, at
4MB each in 2.1.16, would be too many for a machine with 1GB RAM?  That
only accounts for 48MB.  Even using a BDB cachesize of 300MB and a LDAP
entry cache of, say, 20000, would still leave well over 500MB of system
memory.  If a machine was dedicated to ldap, why would this not be
enough?

Thanks,

Mike


-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org] On Behalf Of Howard Chu
Sent: Friday, April 25, 2003 7:58 AM
To: 'Paul Reilly'
Cc: openldap-software@OpenLDAP.org
Subject: RE: deferring operation?


slapd uses a thread pool. Threads it creates are never reaped, they're
re-used for subsequent operations. The old default was for a maximum of
32
threads, the current versions default to a max of 16. If you haven't
explicitly raised the maximum threads in your slapd.conf, then you've
probably encountered a bug. 16 is probably still too many for your 1GB
RAM. 

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support