View previous topic :: View next topic |
Author |
Message |
garik n00b

Joined: 12 Apr 2005 Posts: 30 Location: Tajikistan
|
Posted: Fri Jul 06, 2007 5:23 am Post subject: Problem with udev |
|
|
Hi
Sorry for my English!
Why udevd using such more cpu resource??:
top - 09:29:32 up 6 min, 1 user, load average: 6.85, 4.74, 2.15
Tasks: 267 total, 5 running, 262 sleeping, 0 stopped, 0 zombie
Cpu(s): 78.9% us, 19.7% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.9% hi, 0.5% si
Mem: 247672k total, 242980k used, 4692k free, 41428k buffers
Swap: 1004052k total, 56k used, 1003996k free, 28136k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
942 root 21 -4 8356 7240 320 R 70.0 2.9 2:31.23 udevd |
|
Back to top |
|
 |
padoor Advocate


Joined: 30 Dec 2005 Posts: 4185 Location: india
|
Posted: Fri Jul 06, 2007 5:37 am Post subject: |
|
|
localhost ~ # top
top - 11:02:19 up 3:51, 1 user, load average: 0.11, 0.36, 0.47
Tasks: 78 total, 7 running, 70 sleeping, 0 stopped, 1 zombie
Cpu(s): 58.8%us, 5.9%sy, 0.0%ni, 35.3%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%s
t
Mem: 512056k total, 482508k used, 29548k free, 41540k buffers
Swap: 1405648k total, 23044k used, 1382604k free, 199028k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4884 root 16 0 313m 49m 3700 R 28.9 9.8 7:50.49 X
root 16 0 30972 14m 11m S 2.0 2.9 4:45.76 kded
5160 root 15 0 180m 55m 24m S 23.2 11.2 3:50.92 firefox-bin
root 15 0 1560 500 476 S 0.0 0.1 0:00.32 init
5122 root 16 0 28124 13m 10m R 5.8 2.6 0:07.88 konsole
root RT 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
25089 root 15 0 2200 1088 840 R 5.8 0.2 0:00.23 top
root 12 -5 0 0 0 S 0.0 0.0 0:00.02 khelper
1 root 15 0 1560 500 476 S 0.0 0.1 0:00.32 init
top - 11:03:03 up 3:52, 1 user, load average: 0.14, 0.34, 0.46
Tasks: 78 total, 2 running, 75 sleeping, 0 stopped, 1 zombie
Cpu(s): 3.7%us, 0.7%sy, 0.0%ni, 95.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 512056k total, 482932k used, 29124k free, 41624k buffers
Swap: 1405648k total, 23044k used, 1382604k free, 199344k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5083 root 16 0 30972 14m 11m S 2.0 2.9 4:46.69 kded 4884 root 15 0 313m 49m 3700 S 1.7 9.8 7:52.34 X
17553 root 15 0 65044 28m 15m S 0.7 5.7 5:52.43 nspluginviewer 1 root 15 0 1560 500 476 S 0.0 0.1 0:00.32 init
2 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0 3 root RT 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
4 root 10 -5 0 0 0 S 0.0 0.0 0:00.05 events/0 5 root 12 -5 0 0 0 S 0.0 0.0 0:00.02 khelper
6 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kthread 84 root 13 -5 0 0 0 S 0.0 0.0 0:00.20 kblockd/0
85 root 15 -5 0 0 0 S 0.0 0.0 0:00.98 kacpid 196 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 ata/0
197 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 ata_aux 198 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 ksuspend_usbd
201 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 khubd 203 root 10 -5 0 0 0 S 0.0 0.0 0:00.04 kseriod
localhost ~ #
udevd should stop after booting completed.
it should not be running continuously.
check if you have to do etc-update
some config files may be waiting. _________________ reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name) |
|
Back to top |
|
 |
garik n00b

Joined: 12 Apr 2005 Posts: 30 Location: Tajikistan
|
Posted: Fri Jul 06, 2007 6:28 am Post subject: |
|
|
ns gairat # etc-update
Scanning Configuration files...
Exiting: Nothing left to do; exiting.
top - 10:47:56 up 1:24, 1 user, load average: 3.87, 3.28, 3.28
Tasks: 211 total, 5 running, 206 sleeping, 0 stopped, 0 zombie
Cpu(s): 81.5% us, 17.5% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.7% hi, 0.3% si
Mem: 247672k total, 243700k used, 3972k free, 33312k buffers
Swap: 1004052k total, 64036k used, 940016k free, 22124k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
942 root 21 -4 34096 32m 320 R 72.0 13.2 60:25.20 udevd |
|
Back to top |
|
 |
padoor Advocate


Joined: 30 Dec 2005 Posts: 4185 Location: india
|
Posted: Fri Jul 06, 2007 8:36 am Post subject: |
|
|
try to kill udevd and see if cpu load comes down to within 4 %
emerge -DuNav system
it may help.
why udevd continues to run?
try stop udevd should do i think.
once /dev is ready there is a post udevd runs for a littlewhile and stops.
emerge system may help _________________ reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name) |
|
Back to top |
|
 |
garik n00b

Joined: 12 Apr 2005 Posts: 30 Location: Tajikistan
|
Posted: Sat Jul 07, 2007 4:15 am Post subject: |
|
|
thnx! for your replay"padoor"
But I can't do emerge system, because computer in another country if some errors in compilation study I can't fix them.
emerge -pvDu system
These are the packages that would be merged, in order:
Calculating system dependencies... done!
[ebuild U ] sys-libs/zlib-1.2.3-r1 [1.2.3] USE="-build" 415 kB
[ebuild U ] sys-libs/ncurses-5.5-r3 [5.5-r2] USE="doc -bootstrap -build -debug -gpm -minimal -nocxx -trace% -unicode" 0 kB
[ebuild U ] app-shells/bash-3.1_p17 [3.1_p16] USE="nls -afs -bashlogger -vanilla% (-build%)" 3 kB
[ebuild U ] sys-devel/gettext-0.15 [0.14.5] USE="doc nls -emacs -nocxx" 7,892 kB
[ebuild U ] sys-apps/texinfo-4.8-r5 [4.8-r2] USE="nls -build -static" 0 kB
[ebuild U ] sys-apps/groff-1.19.2-r1 [1.19.1-r2] USE="-X" 2,835 kB
[ebuild U ] sys-devel/gnuconfig-20060702 [20060227] 38 kB
[ebuild U ] sys-libs/db-4.2.52_p4-r2 [4.2.52_p2-r1] USE="doc -bootstrap -java -nocxx -tcl% -test% (-tcltk%)" 9 kB
[ebuild U ] dev-libs/openssl-0.9.8d [0.9.7j] USE="sse2%* -bindist -emacs -test -zlib" 3,237 kB
[ebuild U ] app-admin/perl-cleaner-1.04.3 [1.04] 5 kB
[ebuild U ] dev-lang/python-2.4.3-r4 [2.4.3-r1] USE="berkdb doc gdbm ncurses readline ssl -bootstrap -build -ipv6 -nocxx -tk% -ucs2 (-X%) (-tcltk%)" 9 kB
[ebuild U ] app-portage/portage-manpages-20060913 [1.2] 19 kB
[ebuild U ] sys-kernel/linux-headers-2.6.17-r2 [2.6.11-r2] USE="-gcc64%" 41 kB
[ebuild U ] sys-apps/sed-4.1.5 [4.1.4-r1] USE="nls -static (-bootstrap%) (-build%)" 780 kB
[ebuild U ] dev-libs/gmp-4.2.1 [4.1.4-r3] USE="doc -nocxx" 2,659 kB
[ebuild U ] sys-devel/autoconf-wrapper-3.2-r2 [3.2] 0 kB
[ebuild U ] sys-devel/m4-1.4.7 [1.4.4] USE="nls" 499 kB
[ebuild U ] sys-devel/autoconf-2.60 [2.59-r7] USE="-emacs" 1,334 kB
[ebuild N ] perl-core/Test-Simple-0.64 69 kB
[ebuild U ] virtual/perl-Test-Simple-0.64 [0.62] 0 kB
[ebuild U ] sys-apps/help2man-1.36.4 [1.33.1] USE="nls" 83 kB
[ebuild U ] sys-devel/automake-wrapper-2-r1 [1-r1] 0 kB
[ebuild U ] sys-apps/attr-2.4.28-r1 [2.4.24] USE="nls (-debug%)" 104 kB
[ebuild U ] sys-apps/acl-2.2.34 [2.2.32] USE="nls (-debug%)" 141 kB
[ebuild U ] sys-apps/coreutils-6.4 [5.94-r1] USE="acl nls (-selinux) -static (-build%)" 5,216 kB
[ebuild U ] sys-apps/baselayout-1.12.6 [1.11.15-r3] USE="-bootstrap -build -static -unicode" 216 kB
[ebuild U ] app-arch/gzip-1.3.5-r10 [1.3.5-r8] USE="nls -build -pic -static" 323 kB
[ebuild U ] sys-apps/hdparm-6.6 [6.3] 44 kB
[ebuild U ] sys-apps/findutils-4.3.0 [4.1.20-r2] USE="nls -build (-selinux) -static" 1,102 kB
[ebuild U ] sys-devel/make-3.81 [3.80-r4] USE="nls -static (-build%)" 1,124 kB
[ebuild U ] sys-libs/com_err-1.39 [1.38] USE="nls" 3,608 kB
[ebuild U ] sys-libs/ss-1.39 [1.38] USE="nls" 0 kB
[ebuild U ] sys-fs/e2fsprogs-1.39 [1.38-r1] USE="nls -static" 0 kB
[ebuild U ] sys-apps/util-linux-2.12r-r4 [2.12r-r3] USE="crypt nls -old-crypt -perl (-selinux) -static" 165 kB
[ebuild U ] sys-libs/timezone-data-2006p [2006a] USE="nls%*" 336 kB
[ebuild U ] sys-devel/binutils-config-1.9-r3 [1.8-r7] 0 kB
[ebuild U ] sys-devel/gcc-config-1.3.13-r4 [1.3.13-r3] 0 kB
[ebuild U ] sys-devel/bison-2.2 [2.1] USE="nls -static" 1,052 kB
[ebuild NS ] sys-devel/gcc-4.1.1-r1 USE="doc nls (-altivec) -bootstrap -build -fortran -gcj -gtk (-hardened) -ip28 -ip32r10k -mudflap (-multilib) -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla" 38,320 kB
[ebuild U ] sys-libs/glibc-2.4-r4 [2.3.6-r4] USE="nls -build -glibc-compat20 -glibc-omitfp -hardened (-multilib) -nptl -nptlonly -profile (-selinux) (-erandom%)" 15,711 kB
[ebuild U ] app-arch/tar-1.16-r2 [1.15.1-r1] USE="nls -static (-build%) (-bzip2%)" 1,743 kB
[ebuild U ] sys-apps/man-1.6d [1.6-r1] USE="nls" 263 kB
[ebuild U ] sys-apps/busybox-1.2.2.1 [1.1.3] USE="-debug -make-symlinks -netboot -savedconfig -static (-floppyboot%)" 1,380 kB
[ebuild U ] media-libs/libpng-1.2.13 [1.2.12] USE="doc" 607 kB
[ebuild U ] dev-db/mysql-5.0.26-r1 [4.1.20] USE="berkdb ssl -big-tables -cluster -debug -embedded -extraengine -latin1 -max-idx-128% -minimal -perl (-selinux) -srvdir -static (-raid%)" 25,380 kB
[ebuild N ] virtual/mysql-5.0 0 kB
[ebuild N ] net-libs/libwww-5.4.0-r7 USE="mysql ssl" 1,117 kB
[ebuild N ] dev-util/dialog-1.0.20050206 USE="-unicode" 0 kB
[ebuild N ] app-text/tetex-3.0_p1-r3 USE="doc -X -Xaw3d -lesstif -motif -neXt -tk" 102,656 kB
[ebuild U ] app-crypt/mit-krb5-1.4.3-r3 [1.4.3-r1] USE="doc -ipv6 -krb4 -static -tcl% (-berkdb%*) (-tcltk%) (-tetex%)" 0 kB
[ebuild U ] sys-libs/cracklib-2.8.9-r1 [2.8.9] USE="nls -python" 0 kB
[ebuild U ] sys-apps/shadow-4.0.18.1 [4.0.15-r2] USE="nls pam -cracklib% -nousuid (-selinux) -skey" 1,480 kB
[ebuild U ] net-misc/openssh-4.4_p1-r6 [4.3_p2-r1] USE="kerberos pam tcpd -X% -X509 -chroot -hpn -ldap -libedit (-selinux) -skey -smartcard -static (-ipv6%) (-sftplogging%)" 1,019 kB
[ebuild U ] sys-apps/module-init-tools-3.2.2-r1 [3.2.1] USE="-no-old-linux%" 165 kB
[ebuild U ] sys-apps/gawk-3.1.5-r2 [3.1.5-r1] USE="nls (-build%)" 0 kB
[ebuild U ] sys-apps/kbd-1.12-r8 [1.12-r6] USE="nls" 0 kB
[ebuild U ] sys-apps/net-tools-1.60-r12 [1.60-r11] USE="nls -static (-build%)" 296 kB
[ebuild U ] app-editors/nano-1.3.12-r1 [1.3.11-r2] USE="ncurses nls -debug -justify -minimal -slang -spell -unicode (-build%)" 1,221 kB
[ebuild U ] sys-apps/man-pages-2.42 [2.33] USE="nls" 1,777 kB
Total size of downloads: 226,513 kB |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|