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

Re: FD_SETSIZE problems on a high-end server



Increasing the thread parameter past 16 may cause resource
exhaustion and will increase resource contention.  Values from
8-16 are appropriate for most platforms for most deployment
scenarios.   I've added a FAQ answer in this area:
  <http://www.openldap.org/faq/index.cgi?file=1129>http://www.openldap.org/faq/index.cgi?file=1129
Reducing the value may lead to better overall performance.

At 09:55 AM 10/21/2004, Raphaël Ouazana-Sustowski wrote:
>Selon Quanah Gibson-Mount <quanah@stanford.edu>:
>
>> Quoting Raphaël Ouazana-Sustowski <raphael.ouazana@linagora.com>:
>> 
>> > If your connections are all active, you may need to increase max
>> threads
>> > up to about 120.
>> 
>> This is not correct.  There is no direct connection between the
>> number of
>> threads available to the slapd process and the number of connections
>> available.  In fact, increasing the number of threads can have very
>> negative impacts on the directory server.  The threads paramater
>> should be
>> used with caution and a lot of testing to see how your server is
>> impacted.
>
>In fact when I say active I mean not only established connections, but
>working connections, ie connections which load the directory server. In
>this case I think you need at least as much threads as maximum "active"
>connections.
>
>Raphael Ouazana.