Your message dated Sun, 25 Mar 2007 12:02:04 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#401758: fixed in libnss-ldap 251-7.5
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: libnss-ldap
Version: 251-7
Severity: important
libnss-ldap seems to be leaking connections to the LDAP server on several of
our machines that run testing. After a few hours/days, nscd(8) will have
several hundred open file descriptors for sockets where lsof(8) "can't
identify protocol" (the output is below).
According to netstat(8), the machines only have a handful of connections
open to the LDAP server, so I suspect the leaked descriptors are LDAP
connections that were closed (probably timed out by the LDAP server, which
has an idle connection timeout) and not reaped by libnss-ldap or nscd.
Eventually, nscd hits its per-process file descriptor limit and can't look
users up. AFAICT, this causes all name service queries to fail.
We have several dozen machines running sarge which don't exhibit this
behavior (nscd has perhaps a dozen file descriptors open, and this number
never increases). This problem occurs both on machines upgraded from sarge
to testing and fresh testing installs.
This seems somewhat similar to #315547, but that reporter is running sarge
(his problem began to exhibit itself after a woody -> sarge upgrade) whereas
ours is with etch.
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
nscd 3343 root cwd DIR 8,2 1024 2 /
nscd 3343 root rtd DIR 8,2 1024 2 /
nscd 3343 root txt REG 8,5 87836 264682 /usr/sbin/nscd
nscd 3343 root mem REG 0,0 0 [heap] (stat: No such
file or directory)
nscd 3343 root mem REG 8,5 872544 289323 /usr/lib/libdb-4.2.so
nscd 3343 root mem REG 8,2 17840 104570
/lib/tls/libnss_dns-2.3.6.so
nscd 3343 root mem REG 8,5 78500 289158 /usr/lib/libz.so.1.2.3
nscd 3343 root mem REG 8,5 14504 549768
/usr/lib/libkrb5support.so.0.0
nscd 3343 root mem REG 8,2 5820 104430 /lib/libcom_err.so.2.1
nscd 3343 root mem REG 8,5 151252 289355
/usr/lib/libk5crypto.so.3.0
nscd 3343 root mem REG 8,5 508328 289441
/usr/lib/libkrb5.so.3.2
nscd 3343 root mem REG 8,5 11556 289115
/usr/lib/libgpg-error.so.0.3.0
nscd 3343 root mem REG 8,5 327776 289265
/usr/lib/libgcrypt.so.11.2.2
nscd 3343 root mem REG 8,5 73456 289162
/usr/lib/libtasn1.so.3.0.6
nscd 3343 root mem REG 8,5 445816 289192
/usr/lib/libgnutls.so.13.0.9
nscd 3343 root mem REG 8,5 82060 289325
/usr/lib/libsasl2.so.2.0.19
nscd 3343 root mem REG 8,2 21868 104564
/lib/tls/libcrypt-2.3.6.so
nscd 3343 root mem REG 8,2 67364 104576
/lib/tls/libresolv-2.3.6.so
nscd 3343 root mem REG 8,5 111676 289305
/usr/lib/libgssapi_krb5.so.2.2
nscd 3343 root mem REG 8,5 47128 289430
/usr/lib/liblber.so.2.0.130
nscd 3343 root mem REG 8,5 217872 289432
/usr/lib/libldap_r.so.2.0.130
nscd 3343 root mem REG 8,2 76216 104464
/lib/libnss_ldap-2.3.6.so
nscd 3343 root mem REG 8,2 38372 104571
/lib/tls/libnss_files-2.3.6.so
nscd 3343 root mem REG 8,2 34320 104573
/lib/tls/libnss_nis-2.3.6.so
nscd 3343 root mem REG 8,2 30428 104569
/lib/tls/libnss_compat-2.3.6.so
nscd 3343 root mem REG 8,5 17896 346574
/usr/lib/sasl2/libsasldb.so.2.0.19
nscd 3343 root mem REG 8,8 244020 2342917 /var/db/nscd/hosts
nscd 3343 root mem REG 8,8 217016 2342916 /var/db/nscd/group
nscd 3343 root mem REG 8,8 217016 2342915 /var/db/nscd/passwd
nscd 3343 root mem REG 8,2 1241580 104562 /lib/tls/libc-2.3.6.so
nscd 3343 root mem REG 8,2 76548 104568
/lib/tls/libnsl-2.3.6.so
nscd 3343 root mem REG 8,2 85010 104559
/lib/tls/libpthread-2.3.6.so
nscd 3343 root mem REG 8,2 26516 104577
/lib/tls/librt-2.3.6.so
nscd 3343 root mem REG 8,2 9592 104565
/lib/tls/libdl-2.3.6.so
nscd 3343 root mem REG 8,2 88164 104468 /lib/ld-2.3.6.so
nscd 3343 root 0u CHR 1,3 1344 /dev/null
nscd 3343 root 1u CHR 1,3 1344 /dev/null
nscd 3343 root 2u CHR 1,3 1344 /dev/null
nscd 3343 root 3u REG 8,8 217016 2342915 /var/db/nscd/passwd
nscd 3343 root 4r REG 8,8 217016 2342915 /var/db/nscd/passwd
nscd 3343 root 5u REG 8,8 217016 2342916 /var/db/nscd/group
nscd 3343 root 6r REG 8,8 217016 2342916 /var/db/nscd/group
nscd 3343 root 7u REG 8,8 244020 2342917 /var/db/nscd/hosts
nscd 3343 root 8r REG 8,8 244020 2342917 /var/db/nscd/hosts
nscd 3343 root 9u unix 0xf6f24880 8430 /var/run/nscd/socket
nscd 3343 root 10r 0000 0,10 0 8432 eventpoll
nscd 3343 root 11u sock 0,5 421490 can't identify
protocol
nscd 3343 root 12u sock 0,5 9952 can't identify
protocol
nscd 3343 root 13u sock 0,5 46697 can't identify
protocol
nscd 3343 root 14u sock 0,5 82186 can't identify
protocol
nscd 3343 root 15u sock 0,5 113378 can't identify
protocol
nscd 3343 root 16u sock 0,5 151085 can't identify
protocol
nscd 3343 root 17u sock 0,5 187138 can't identify
protocol
[snip]
nscd 3343 root 590u sock 0,5 10462156 can't identify
protocol
nscd 3343 root 591u sock 0,5 10487376 can't identify
protocol
nscd 3343 root 592u sock 0,5 10559978 can't identify
protocol
nscd 3343 root 593u sock 0,5 10574638 can't identify
protocol
nscd 3343 root 594u sock 0,5 10599296 can't identify
protocol
nscd 3343 root 595u sock 0,5 10622278 can't identify
protocol
nscd 3343 root 596u sock 0,5 10764311 can't identify
protocol
nscd 3343 root 597u sock 0,5 10664079 can't identify
protocol
nscd 3343 root 598u sock 0,5 10690861 can't identify
protocol
nscd 3343 root 599u sock 0,5 10719112 can't identify
protocol
nscd 3343 root 600u sock 0,5 10743831 can't identify
protocol
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-10-xeon
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages libnss-ldap depends on:
ii debconf [debconf-2.0] 1.5.8 Debian configuration management sy
ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries
ii libkrb53 1.4.4-4 MIT Kerberos runtime libraries
ii libldap2 2.1.30-13+b1 OpenLDAP libraries
Versions of packages libnss-ldap recommends:
ii libpam-ldap 180-1.4 Pluggable Authentication Module al
ii nscd 2.3.6.ds1-8 GNU C Library: Name Service Cache
-- debconf information:
* libnss-ldap/dblogin: true
* libnss-ldap/override: true
* shared/ldapns/base-dn: ou=shells,o=example
* shared/ldapns/ldap-server: 1.2.3.4 5.6.7.8
* libnss-ldap/confperm: false
* libnss-ldap/rootbinddn: cn=nsspluspasswd,o=example
* shared/ldapns/ldap_version: 3
* libnss-ldap/binddn: cn=nss,o=example
* libnss-ldap/nsswitch:
* libnss-ldap/dbrootlogin: true
--- End Message ---
--- Begin Message ---
Source: libnss-ldap
Source-Version: 251-7.5
We believe that the bug you reported is fixed in the latest version of
libnss-ldap, which is due to be installed in the Debian FTP archive:
libnss-ldap_251-7.5.diff.gz
to pool/main/libn/libnss-ldap/libnss-ldap_251-7.5.diff.gz
libnss-ldap_251-7.5.dsc
to pool/main/libn/libnss-ldap/libnss-ldap_251-7.5.dsc
libnss-ldap_251-7.5_i386.deb
to pool/main/libn/libnss-ldap/libnss-ldap_251-7.5_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Steve Langasek <[EMAIL PROTECTED]> (supplier of updated libnss-ldap package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sun, 25 Mar 2007 04:02:15 -0700
Source: libnss-ldap
Binary: libnss-ldap
Architecture: source i386
Version: 251-7.5
Distribution: unstable
Urgency: high
Maintainer: Stephen Frost <[EMAIL PROTECTED]>
Changed-By: Steve Langasek <[EMAIL PROTECTED]>
Description:
libnss-ldap - NSS module for using LDAP as a naming service
Closes: 401758
Changes:
libnss-ldap (251-7.5) unstable; urgency=high
.
* Non-maintainer upload.
* High-urgency upload for RC bugfix.
* Fix a file descriptor leak on server socket shutdown, which can cause a
long-lived process (particularly nscd) to quickly run out of file
descriptors. Thanks to Dean Gaudet <[EMAIL PROTECTED]> for the patch.
Closes: #401758.
Files:
6f5f429662865e4d48a19bfdaa988609 673 net extra libnss-ldap_251-7.5.dsc
20f7a664917faac059f5c6c8124950bf 148528 net extra libnss-ldap_251-7.5.diff.gz
ffdb6dec3621f2270182a53918662f12 104150 net extra libnss-ldap_251-7.5_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGBl8ZKN6ufymYLloRAiDZAJ9xhRFhdzomLaJ+aHHFYheqfcXxHgCfUhEk
TY0VLqM/Nuygy29RMm+TjZo=
=LcIR
-----END PGP SIGNATURE-----
--- End Message ---