directory-fortress mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Pike <clp...@psu.edu>
Subject Re: LDAP connection timeout
Date Tue, 05 Apr 2016 13:52:32 GMT
Are we going to add this fix (setTestWhileIdle and setTimeBetweenEvictionRunsMillis) into the
source?


----- Original Message -----
From: "Jan Sindberg" <jan.sindberg@gmail.com>
To: fortress@directory.apache.org
Sent: Friday, February 12, 2016 3:52:17 PM
Subject: Re: LDAP connection timeout

>
>
> Every 30 minutes this will test three (3 is default) idle threads and
> evict them if they fail an attempt of a simple lookup on the rootDSE.
> I have not yet established how long time it takes before a connection is
> stale
> I hope 30 minutes is enough - I suspect that the test will keep the
> connections alive if the time is too short.
>
>
This is enough to mitigate the issue with long waiting time for the first
user in the morning.

// Jan

Mime
View raw message