[Date Prev][Date Next]
SER: select() -> poll() (ITS#2957)
Full_Name: Bevan Bennett
OS: Fedora Core 1
Submission from: (NULL) (22.214.171.124)
--software enhancement request--
As noted in Incoming/2813 and elsewhere, openldap 2.1.22/25 with a standard
glibc will hang under moderate-heavy load when select() becomes unable to access
more file descriptors.
The usual offered suggestions are to either recompile glibc on the effected
systems or to switch openldap from select() to poll(). The latter would seem to
be a better solution towards making openldap generally enterprise-capable, and
involves messing with far fewer dependencies than modifying glibc does.
Would someone more familiar with the nuances and dangers of select/poll like to
offer this alteration, or a brief explanation of why it doesn't seem to be being
(I checked 2.1.26 and 2.2.5, and they all have the same select() calls as