Jan Sindberg created FC-166:
-------------------------------

             Summary: 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)

Reply via email to