directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Sindberg (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FC-166) Long wait for first login
Date Wed, 13 Apr 2016 19:23:25 GMT

    [ https://issues.apache.org/jira/browse/FC-166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15239892#comment-15239892
] 

Jan Sindberg commented on FC-166:
---------------------------------

Done, I think :-)

> Long wait for first login
> -------------------------
>
>                 Key: FC-166
>                 URL: https://issues.apache.org/jira/browse/FC-166
>             Project: FORTRESS
>          Issue Type: Improvement
>    Affects Versions: 1.0.0-RC41
>            Reporter: Jan Sindberg
>            Priority: Minor
>
> *Problem*
> The first in the day to log into fortress-commander or FM will experience a waiting time
up to five minutes
> *Cause*
> LDAP connections are created in a pool. After a certain idle time they are closed from
the server (ApacheDS) unnoticed by the client (the connections in the pool). When a stale
connection is tried used, it has a 30 second wait until it is determined that it is stale.
The pool then tries the next connection until all connections has been tried. New connections
are only initiated when all connections in the pool have been tried and timed out.
> *Solution*
> The pools are initiated in 
> org.apache.directory.fortress.core.ldap.ApacheDsDataProvider
> We can take a look at which configuration options there are for connections and pools.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message