[Date Prev][Date Next]
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().
Dragon Computer Consultants Inc.
Tel: (416) 708-1578 Fax: (416) 708-8081