https://bugs.openldap.org/show_bug.cgi?id=9190

--- Comment #3 from Quanah Gibson-Mount <[email protected]> ---
As an aside, idletimeout does not appear to be functioning correctly.  On the
dev system, have set a 300 second idletimeout:

idletimeout     300

which is 5 minutes.

a) Connect at 23:24:37, go idle:

Mar 21 23:24:37 ldapdev0 slapd[71056]: conn=1003 fd=23 ACCEPT from
IP=xx.yy.zz.aa:57006 (IP=0.0.0.0:389)


b) have a connection connect after 5 minutes, 10 seconds.  This should force
the cleanup routine to drop the connection, but this is not what I see:

Mar 21 23:29:49 ldapdev0 slapd[71056]: conn=1004 fd=24 ACCEPT from
IP=xx.yy.zz.aa:58508 (IP=0.0.0.0:389)

This is clearly 5 minutes, 12 seconds later -- connection was not dropped, but
it should have been.

c) My test connection, which is supposed to reuse the file descriptor in (a)
does not do this, when it connects at:

Mar 21 23:30:37 ldapdev0 slapd[71056]: conn=1005 fd=24 ACCEPT from
IP=xx.yy.zz.aa:58742 (IP=0.0.0.0:389)


In fact, the connection does not get dropped until:

Mar 21 23:31:52 ldapdev0 slapd[71056]: conn=1003 fd=23 closed (idletimeout)

Nearly 7.5 minutes later.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to