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

Re: LDAP API fails to honor timeouts (ITS#3322)




--On Tuesday, September 07, 2004 1:28 PM -0700 "Kurt D. Zeilenga" 
<Kurt@OpenLDAP.org> wrote:

> The timelimit you specified (via -l) is not a client
> side API timeout.  The timelimit value is sent to
> the server and indicates to the server that a
> timeExceeded error should be returned if the operation
> takes longer than the limit.  If this error occurs,
> the API, as it would any other error, passes it to
> the calling application.
>
> The API does have a (limited) timeout capability, but
> that's not be used here.

Okay, so what should be done in the case where slapd is holding port 389 
open, but is completely unresponsive?  I don't think having clients wait 
forever is really the correct solution. ;)  Especially given its effect on 
slurpd.  I had to kill -9 slurpd because it won't shut down normally in 
this instance.

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html