[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Max connections to slapd and getdtablesize()?
On 17 May, Jan-Piet Mens wrote:
> FD_SETSIZE remains at 1024
>
> The above code forces the `dtblsize' down to 1024. Is this correct?
Yes. This is because slapd uses select() which uses a bit-mapped
structure to indicated which fds are ready. You can increase FD_SETSIZE
and recompile glibc & openldap, or convert openldap to use poll().
--
Doug Nazar
Dragon Computer Consultants Inc.
Tel: (416) 708-1578 Fax: (416) 708-8081