[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#315547: marked as done (nscd doesn't close connections to LDAP server)



Your message dated Wed, 25 Apr 2007 23:43:53 +0200
with message-id <20070425214352.GA21338@.madism.org>
and subject line Bug#315547: nscd doesn't close connections to LDAP server
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: nscd
Version: 2.3.2.ds1-22

Hello,

We have installed 3 servers on Debian GNU/Linux 3.0r2 Woody. We use both LDAP and Unix to manage users' accounts with using name service switch with LDAP and nscd. Every thing was working fine until we did an apt-get upgrade with all the packages of the latest stable release of Debian (3.1).

Since that time, nscd keeps making connections to the OpenLDAP Server without never closing them. A netstat -nap shows many increasing connections to LDAP from the host running nscd. When the number of open files reach the open files limit (1024), the Debian servers refuse any new connections with the error "Too many open files".

When we restart nscd, all this connections are killed and the servers accept again new connections.

Our configurations files are:

$cat /etc/nsswitch.conf
passwd:         files ldap
group:          files ldap
shadow:         files ldap

hosts:          files dns
networks:       files

protocols:      files
services:       files
ethers:         files
rpc:            files

netgroup:       files


$cat /etc/nscd.conf
       logfile                 /var/log/nscd.log
#       threads                 6
#       server-user             nobody
#       stat-user               somebody
       debug-level             256

       enable-cache            passwd          yes
       positive-time-to-live   passwd          600
       negative-time-to-live   passwd          20
       suggested-size          passwd          211
       check-files             passwd          yes

       enable-cache            group           yes
       positive-time-to-live   group           3600
       negative-time-to-live   group           60
       suggested-size          group           211
       check-files             group           yes

#       enable-cache            hosts           no
#       positive-time-to-live   hosts           3600
#       negative-time-to-live   hosts           20
#       suggested-size          hosts           211
#       check-files             hosts           yes


Any ideas or clues for this problem ?

Thanks a lot!

Hélène



--- End Message ---
--- Begin Message ---
On Thu, Jun 23, 2005 at 02:34:15PM +0200, Hélène Coussy wrote:
> Package: nscd
> Version: 2.3.2.ds1-22
> 
> Hello,
> 
> We have installed 3 servers on Debian GNU/Linux 3.0r2 Woody. We use both 
> LDAP and Unix to manage users' accounts with using name service switch 
> with LDAP and nscd. Every thing was working fine until we did an apt-get 
> upgrade with all the packages of the latest stable release of Debian 
> (3.1).

  This was likely a bug in libnss-ldap that has been fixed inbetween
(see e.g. http://bugs.debian.org/401758).

  hence, closing
-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org

Attachment: pgpLXnumswwuU.pgp
Description: PGP signature


--- End Message ---

Reply to: