Mailinglist Archive: opensuse-bugs (15136 mails)

< Previous Next >
[Bug 328848] New: nscd has too many open files after network outage
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 27 Sep 2007 04:06:35 -0600 (MDT)
  • Message-id: <bug-328848-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=328848

           Summary: nscd has too many open files after network outage
           Product: openSUSE 10.3
           Version: RC 1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Basesystem
        AssignedTo: pbaudis@xxxxxxxxxx
        ReportedBy: mmarek@xxxxxxxxxx
         QAContact: qa@xxxxxxx
                CC: schwab@xxxxxxxxxx
          Found By: ---


Hi,

nscd loops forever on my machine after a network outage and doesn't accept new
connections:

# strace -p 12078
Process 12078 attached - interrupt to quit
accept(11, 0, NULL)                     = -1 EMFILE (Too many open files)
epoll_wait(12, {{EPOLLRDNORM, {u32=11, u64=11}}}, 100, 29988) = 1
accept(11, 0, NULL)                     = -1 EMFILE (Too many open files)
epoll_wait(12, {{EPOLLRDNORM, {u32=11, u64=11}}}, 100, 29988) = 1
accept(11, 0, NULL)                     = -1 EMFILE (Too many open files)
epoll_wait(12, {{EPOLLRDNORM, {u32=11, u64=11}}}, 100, 29988) = 1
accept(11, 0, NULL)                     = -1 EMFILE (Too many open files)
epoll_wait(12, {{EPOLLRDNORM, {u32=11, u64=11}}}, 100, 29988) = 1
accept(11, 0, NULL)                     = -1 EMFILE (Too many open files)
..

Also I'm unable to get a gdb backtrace of nscd :-(

gdb /usr/sbin/nscd 12078
GNU gdb 6.6.50.20070726-cvs
Copyright (C) 2007 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-suse-linux"...
Using host libthread_db library "/lib64/libthread_db.so.1".
Attaching to program: /usr/sbin/nscd, process 12078
linux-nat.c:981: internal-error: linux_nat_attach: Assertion `pid == GET_PID
(inferior_ptid) && WIFSTOPPED (status) && WSTOPSIG (status) == SIGSTOP' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)

I'll keep the nscd process running for now in case you need more info.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >