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

Bug#443475: nscd assertion (crash) on debian etch



Package: nscd
Version: 2.3.6.ds1-13etch2
X-Debbugs-CC: fink-core-private@lists.sourceforge.net

NSCD crashes after only a short amount of usage on my production web
server.  I turned the "debug-level" up to 100 (I have no idea what is a
good number, the man page for nscd.conf does not document it) but I get
no useful debug messages about why it is aborting, it just silently exits.

I tried running "nscd -d" under strace, and I got this output, which
indicates an assertion trying to clean up it's cache:

---(snip!)---
epoll_wait(10, 9085: Reloading "0" in password cache!
9085: Reloading "0.debian.pool.ntp.org" in hosts cache!
9085: Reloading "120" in password cache!
9085: Reloading "1" in password cache!
9085: Reloading "110" in password cache!
9085: Reloading "1001" in password cache!
9085: Reloading "38" in password cache!
9085: Reloading "111" in password cache!
9085: Reloading "112" in password cache!
9085: Reloading "104" in password cache!
9085: Reloading "debbugs" in password cache!
9085: Reloading "105" in password cache!
9085: Reloading "106" in password cache!
9085: Reloading "pogma" in password cache!
9085: Reloading "115" in password cache!
9085: Reloading "107" in password cache!
9085: Reloading "33" in password cache!
9085: Reloading "116" in password cache!
9085: Reloading "108" in password cache!
9085: Reloading "13" in password cache!
9085: Reloading "9" in password cache!
9085: Reloading "drm" in password cache!
9085: remove GETPWBYUID entry "101"
9085: remove GETPWBYNAME entry "sshd"
9085: remove GETPWBYNAME entry "nobody"
9085: remove GETPWBYUID entry "65534"
9085: freed 352 bytes in passwd cache
9085: add new entry "0.debian.pool.ntp.org" of type GETAI for hosts to
cache (first)
9085: Reloading "0.debian.pool.ntp.org" in hosts cache!
9085: add new entry "0.debian.pool.ntp.org" of type GETAI for hosts to
cache (first)
9085: Reloading "0.debian.pool.ntp.org" in hosts cache!
9085: add new entry "0.debian.pool.ntp.org" of type GETAI for hosts to
cache (first)
9085: Reloading "0.debian.pool.ntp.org" in hosts cache!
9085: add new entry "0.debian.pool.ntp.org" of type GETAI for hosts to
cache (first)
9085: Reloading "0.debian.pool.ntp.org" in hosts cache!
9085: add new entry "0.debian.pool.ntp.org" of type GETAI for hosts to
cache (first)
9085: Reloading "0.debian.pool.ntp.org" in hosts cache!
9085: add new entry "0.debian.pool.ntp.org" of type GETAI for hosts to
cache (first)
nscd: cache.c:335: prune_cache: Assertion `dh->usable' failed.
bfe025b0, 100, 29988)    = -1 EINTR (Interrupted system call)
+++ killed by SIGABRT +++
Process 9085 detached
---(snip!)---

If I change the "persistent <entry> yes" to "no", it appears to run
fine, so it appears there's a problem with the handling of the on-disk
cache.




Reply to: