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

Re: Too many open connections? (ITS#2001)

At 04:27 AM 2002-08-01, muenkel@tch.de wrote:
>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
>state CLOSE_WAIT.
>Is this behaviour of ldap a bug (server or client)? 

This is not indicative of a bug in OpenLDAP Software
(slapd(8) or ldap(3)).  Whether or not this is a bug
in the client you are using is beyond the scope of
the OpenLDAP Issue Tracking System.  I suggest you
take questions regarding the client, apparently
a PAM LDAP module, to the pamldap@padl.com list.

This issue will be closed.

>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,