Regarding the following post
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.