[Bug nscd/33241] New: nscd is consuming 100% CPU

chengyechun1 at huawei dot com sourceware-bugzilla@sourceware.org
Fri Aug 1 09:18:32 GMT 2025


https://sourceware.org/bugzilla/show_bug.cgi?id=33241

            Bug ID: 33241
           Summary: nscd is consuming 100% CPU
           Product: glibc
           Version: 2.34
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: nscd
          Assignee: unassigned at sourceware dot org
          Reporter: chengyechun1 at huawei dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

In an environment where nscd has already been started, modifying the sortlist
in /etc/resolv.conf to sortlist 9.82.0.0/16 fe80::/64 might be an incorrect
usage, but it could cause nscd to consume 100% CPU.

/etc/resolv.conf

sortlist 9.82.0.0/16 fe80::/64

top - 17:15:58 up 34 min,  1 user,  load average: 0.69, 0.26, 0.19
Tasks: 130 total,   2 running, 128 sleeping,   0 stopped,   0 zombie
%Cpu(s): 24.8 us,  0.2 sy,  0.0 ni, 73.4 id,  0.0 wa,  0.7 hi,  0.9 si,  0.1 st
MiB Mem :   3392.7 total,    429.4 free,    182.2 used,   2781.1 buff/cache
MiB Swap:   4052.0 total,   4050.7 free,      1.3 used.   2920.2 avail Mem

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
  24085 root      20   0  600480   2660   2412 R  99.0   0.1   0:59.46 nscd

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list