[Date Prev][Date Next] [Chronological] [Thread] [Top]

Too many open connections? (ITS#2001)

Full_Name: Dr. Heiko Münkel
Version: 2.0.23
OS: Linux 2.4.18/SuSE 8.0
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (


I'm using Openldap in a Linux cluster together with pam for the login process.
On the ldap server lsof reports 2555 open ldap connections to the client host
named foo. At nearly the same time lsof reports on the client foo 85 ldap
connections, most of them with the state ESTABLISHED and only a few with the

Is this behaviour of ldap a bug (server or client)? 

It seems, that the mean number of ldap connections is growing over the time.
I've had already the problem, that ldap clients couldn't connect to the server
because of "to many open files" on the server (over 35000 connections in a small
cluster with 15 linux hosts and less than 100 potential users).

Another bad behaviour, that I've seen was, that some client connections with the
state CLOSE_WAIT were never closed (at least for 2 hours).

Thanks for your help,