directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DIRSERVER-1620) Close Idle Connections after a certain timeframe has passed too prevent "Too many open files" error
Date Tue, 21 Jun 2011 12:07:47 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-1620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Lecharny updated DIRSERVER-1620:
-----------------------------------------

    Fix Version/s: 2.0.0-M1

> Close Idle Connections after a certain timeframe has passed too prevent "Too many open
files" error
> ---------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1620
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1620
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: 1.5.7
>         Environment: Unix
>            Reporter: Steve
>             Fix For: 2.0.0-M1
>
>
> Regarding the following post 
> http://mail-archives.apache.org/mod_mbox/directory-users/201102.mbox/%3c4D668DED.6020707@gmail.com%3e
> ApacheDS keeps connections open (im not certain its just idle connections, there might
be another issue). After a while the number of open connections will exceed the OS default
setting (Too many open files).
> The default is mostly 1024 and can be increased - but it should not be necessary when
you have less clients/users than that.
> I have a user base with 500 outlook clients - after a while the Too many open files error
occurs. Using netstat i filtered the LDAP connections and saw that they increased per client
IP each day (not all) - some had up to 5-10 connections per IP, in total there where however
only 100 client IPs.
> I suggest that ApacheDS automatically cleans up idle or open connections after a while
(timer task maybe?), it should also be aware of the current amount of open connections - in
case a threshold is reached it should start cleaning up connections sooner.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message