Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 324877 - sys-libs/glibc-2.10.1-r1: nscd consumes 100% cpu
Summary: sys-libs/glibc-2.10.1-r1: nscd consumes 100% cpu
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-20 21:15 UTC by Grzegorz {NineX} Krzystek
Modified: 2010-06-25 19:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
strace of nscd (nscd.strace.log,16.88 KB, text/plain)
2010-06-20 21:22 UTC, Grzegorz {NineX} Krzystek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Grzegorz {NineX} Krzystek 2010-06-20 21:15:58 UTC
nscd consumes 100% of cpu on ppc on any request
there is no output from nscd -d

emerge --info
Portage 2.1.8.3 (default/linux/powerpc/ppc64/10.0/32bit-userland, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r7-Xserve-G5 ppc64)
=================================================================
System uname: Linux-2.6.32-gentoo-r7-Xserve-G5-ppc64-PPC970FX,_altivec_supported-with-gentoo-1.12.13
Timestamp of tree: Sat, 19 Jun 2010 16:00:01 +0000
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.5-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.6.3-r1, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="ppc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=970"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -mcpu=970"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/ninex"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl adns altivec bash-completion bcmath berkdb bzip2 calendar cgi cleartype cli cracklib crypt ctype cups curl curlwrappers cxx discard-path dkim dovecot-sasl dri exif expat fam fastcgi flatfile force-cgi-redirect fortran ftp gcc64 gd gdbm gif gmp gnutls gpg gpm guile hash iconv icu idn imap inifile ipv6 jpeg json kpoll lzo masquerade memcache mhash modules mudflap multiuser mysql mysqli ncurses network-cron networking nls nptl nptlonly openmp pam pcntl pcre pdo perl php pop pop3d posix ppc pppd pth python razor readline reflection rrdcgi rrdtool sasl secure-delete session sharedext sieve simplexml slang smime smp smtp soap sockets spamassassin spell spl sqlite ssl subversion suhosin sysfs sysvipc tcpd threads tidy tokenizer tools truetype unicode urandom vda vhosts vim-syntax wddx web webdav xcb xml xmlreader xmlrpc xmlwriter xorg xpm xsl zip zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon savage tdfx trident voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Reproducible: Always

Steps to Reproduce:
1./etc/init.d/nscd start
2. host some.thing.org
3. observe system load
Comment 1 Grzegorz {NineX} Krzystek 2010-06-20 21:22:36 UTC
Created attachment 236097 [details]
strace of nscd
Comment 2 Wormo (RETIRED) gentoo-dev 2010-06-24 19:35:13 UTC
Weird how it seems to be failing repeatedly to create a device node (with NULL pathname???)

mknodat(7, NULL, 0) 

I did a quick nscd strace on my x86 system for comparison, and there was no creating of device nodes going on, successful or otherwise.
Comment 3 SpanKY gentoo-dev 2010-06-25 02:17:55 UTC
nscd is part of glibc; not for base-system

should test glibc-2.11 as we're stabilizing that ... not going to be adding any fixes to glibc-2.10
Comment 4 Grzegorz {NineX} Krzystek 2010-06-25 19:27:17 UTC
works with glibc-2.11.1