Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
02-03-2005, 01:57 PM
#1
Member
Registered: Feb 2004
Location: Stockholm SWEDEN
Distribution: Ubuntu server 15.10
Posts: 60
Rep:
kdeinit using too much recources.
For some reason, I dont know what, kdeinit is using so much of my system. It is becoming slugish. I am running Mandrake 10.1 Offlicial Powerpack,
The problem happens under both KDE and GNOME and th proces seams to be 'kdeinit: kded
'
I have even re-installed mandrake, but it didnt help.
Here is a screen shot:
http://img.photobucket.com/albums/v1...an/kdeinit.png
Thanks in advance:
E_man
02-03-2005, 03:08 PM
#2
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994
Rep:
kdeinit is the generic launcher process for KDE applications. Any KDE application will show up under top as
kdeinit due to an optimisation used to speed up process loading. You should probably identify which process has this agressive behaviour.
Look at the PID (column 1) — in this case, 4457. There will be a file called /proc/
pid /cmdline which tells you the command used to launch the process. In a terminal:
Code:
cat /proc/4457/cmdline
This will tell you which process is actually causing this behaviour.
You can also make the process nicer (swap out more so it disrupts your system less) using renice:
If it's a process that's stuck in an infinite loop, then you can kill it using:
Code:
kill -TERM 4457 || sleep 3s && kill -KILL 4457
But these are both very blunt tools to apply after the event; it's better to find out what's really causing the problem so you can diagnose and cure it.
02-03-2005, 03:17 PM
#3
Member
Registered: Feb 2004
Location: Stockholm SWEDEN
Distribution: Ubuntu server 15.10
Posts: 60
Original Poster
Rep:
Well I rebooted and all seams ok.
The only thing I changed was I unplugged my MP3 Player from the USB port.
When I plug it back in I will see if your advice will help.
Thanks for your help.
E_Man
02-04-2005, 06:10 PM
#4
Member
Registered: Feb 2004
Location: Stockholm SWEDEN
Distribution: Ubuntu server 15.10
Posts: 60
Original Poster
Rep:
Ok, I tried every thing mentioned above, but it didnt really help.
What I am trying to do, is make my MP3 player work with the system. Its USB. I want to be able to browse it, as I would any external device and copy to and from it.
I have used it under Mandrake 10.0 without a problem, but not under 10.1.
What happens, is when I connect the USB cable, the system goes slow, no new GUI programs launce, such as konquer file browser, and the system load is sky high.
I found this thread:
http://www.linuxquestions.org/questi...ght=mp3+player about getting a MP3 player to work, you need 'usbdevfs' enabled in the kernel. How do I do this? and would it fix my problem.
Just to recap, I have MDK 10.1 Powerpack, and a 'iRiver iHP-140', 40GB USB MP3 player.
Thanks in advance!
E_Man
02-05-2005, 07:03 AM
#5
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994
Rep:
I would suspect that you have usbdevfs loaded automatically (when you plug in the USB device). If not, just do
Code:
su -c 'modprobe usbdevfs'
and then, to check which modules are loaded use
It will probably not fix your problem; we haven't even diagnosed what the problem is. What is the command-line (cat /proc/pid/cmdline) of the process that is eating your CPU?
02-05-2005, 08:24 AM
#6
Member
Registered: Feb 2004
Location: Stockholm SWEDEN
Distribution: Ubuntu server 15.10
Posts: 60
Original Poster
Rep:
Hi, thanks for your reply.
As a result of
I recived, sorry its quite a lot;
Code:
[english_man@c-fd86e055 english_man]$ /sbin/lsmod
Module Size Used by
md5 3584 1
ipv6 230916 204
rfcomm 32348 0
l2cap 19876 5 rfcomm
bluetooth 39076 4 rfcomm,l2cap
snd-seq-midi 6624 0
snd-emu10k1-synth 6656 0
snd-emux-synth 34976 1 snd-emu10k1-synth
snd-seq-virmidi 5632 1 snd-emux-synth
snd-seq-midi-emul 7200 1 snd-emux-synth
snd-seq-oss 31232 0
snd-seq-midi-event 6080 3 snd-seq-midi,snd-seq-virmidi,snd-seq-oss
snd-seq 47440 8 snd-seq-midi,snd-emux-synth,snd-seq-virmidi,snd-seq-midi-emul,snd-seq-oss,snd-seq-midi-event
snd-pcm-oss 49480 0
snd-mixer-oss 17376 1 snd-pcm-oss
snd-emu10k1 90728 1 snd-emu10k1-synth
snd-rawmidi 19300 3 snd-seq-midi,snd-seq-virmidi,snd-emu10k1
snd-pcm 81800 2 snd-pcm-oss,snd-emu10k1
snd-timer 20356 2 snd-seq,snd-pcm
snd-seq-device 6344 7 snd-seq-midi,snd-emu10k1-synth,snd-emux-synth,snd-seq-oss,snd-seq,snd-emu10k1,snd-rawmidi
snd-ac97-codec 69392 1 snd-emu10k1
snd-page-alloc 7400 2 snd-emu10k1,snd-pcm
snd-util-mem 3232 2 snd-emux-synth,snd-emu10k1
snd-hwdep 6916 2 snd-emux-synth,snd-emu10k1
snd 45988 13 snd-emux-synth,snd-seq-virmidi,snd-seq-oss,snd-seq,snd-pcm-oss,snd-mixer-oss,snd-emu10k1,snd-rawmidi,snd-pcm,snd-timer,snd-seq-device,snd-ac97-codec,snd-hwdep
soundcore 7008 1 snd
af_packet 16072 2
floppy 55088 0
eth1394 17000 0
8139too 20928 0
mii 4224 1 8139too
ide-cd 37280 0
cdrom 37724 1 ide-cd
ohci1394 30788 0
ieee1394 292056 2 eth1394,ohci1394
loop 12520 0
supermount 34804 1
intel-agp 19584 1
agpgart 27752 1 intel-agp
usb-storage 65504 0
scsi_mod 104044 1 usb-storage
uhci-hcd 28752 0
usbcore 103172 4 usb-storage,uhci-hcd
ext3 120680 2
jbd 49080 1 ext3
[english_man@c-fd86e055 english_man]$
As a result of
Code:
su -c 'modprobe usbdevfs'
I recived;
Code:
[english_man@c-fd86e055 english_man]$ su -c 'modprobe usbdevfs'
Password:
bash: line 1: modprobe: command not found
[english_man@c-fd86e055 english_man]$
I cant find which PID I need to investigate now, I rebooted since the earlier SS, Here is a new SS of my latest top:
http://img.photobucket.com/albums/v1...n/c9a77236.png
Here is the output of 'ps aux'
Code:
[english_man@c-fd86e055 english_man]$ ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 1408 496 ? S 01:18 0:00 init [5]
root 2 0.0 0.0 0 0 ? SN 01:18 0:00 [ksoftirqd/0]
root 3 0.0 0.0 0 0 ? S< 01:18 0:00 [events/0]
root 4 0.0 0.0 0 0 ? S< 01:18 0:00 [khelper]
root 5 0.0 0.0 0 0 ? S< 01:18 0:00 [kblockd/0]
root 34 0.0 0.0 0 0 ? S 01:18 0:00 [kapmd]
root 36 0.0 0.0 0 0 ? S 01:18 0:00 [pdflush]
root 37 0.0 0.0 0 0 ? S 01:18 0:00 [pdflush]
root 39 0.0 0.0 0 0 ? S< 01:18 0:00 [aio/0]
root 38 0.0 0.0 0 0 ? S 01:18 0:05 [kswapd0]
root 144 0.0 0.0 0 0 ? S 01:18 0:00 [kseriod]
root 268 0.0 0.0 0 0 ? S 01:18 0:00 [kjournald]
root 406 0.0 0.0 1388 360 ? S<s 01:18 0:00 udevd
root 755 0.0 0.0 0 0 ? D 01:18 0:00 [khubd]
root 1095 0.0 0.0 0 0 ? S 01:18 0:01 [kjournald]
root 1311 0.0 0.0 0 0 ? S 01:18 0:00 [khpsbpkt]
root 1321 0.0 0.0 0 0 ? S 01:18 0:00 [knodemgrd_0]
root 2373 0.0 0.0 1416 484 ? Ss 01:18 0:00 /sbin/ifplugd -w -b -i eth0
root 2506 0.0 0.1 1940 960 ? Ss 01:18 0:00 /sbin/dhclient -1 -q -lf /var/lib/dhcp/dhclient-eth0.leases
rpc 2553 0.0 0.1 1536 560 ? Ss 01:18 0:00 portmap
root 2567 0.0 0.1 1460 580 ? Ss 01:18 0:00 syslogd -m 0 -a /var/spool/postfix/dev/log
root 2576 0.0 0.2 2096 1216 ? Ss 01:18 0:00 klogd -2
xfs 2959 0.0 0.8 5724 4372 ? Ss 01:18 0:00 xfs -port -1 -daemon -droppriv -user xfs
72 2974 0.0 0.2 2052 1052 ? Ss 01:18 0:00 dbus-daemon-1 --system
root 2992 0.0 0.1 1616 680 ? Ss 01:18 0:00 hcid: processing events
root 3003 0.0 0.0 1452 512 ? Ss 01:18 0:00 sdpd
root 3024 0.0 0.0 0 0 ? S< 01:18 0:00 [krfcommd]
daemon 3049 0.0 0.1 1524 548 ? Ss 01:18 0:00 /usr/sbin/atd
root 3058 0.0 0.1 2436 692 ? S 01:18 0:00 /usr/bin/mdkkdm -nodaemon
root 3068 7.1 4.6 60756 24216 ? S 01:18 59:29 /etc/X11/X -deferglyphs 16 -auth /var/run/xauth/A:0-gtgmyI
root 3080 0.0 0.1 1988 860 ? Ss 01:18 0:00 xinetd -stayalive -reuse -pidfile /var/run/xinetd.pid
root 3165 0.0 0.2 3188 1396 ? S 01:18 0:00 -:0
root 3280 0.0 0.2 2760 1056 ? Ss 01:18 0:00 /usr/lib/postfix/master
postfix 3288 0.0 0.2 4132 1508 ? S 01:18 0:00 tlsmgr -l -t fifo -u -c
root 3479 0.0 0.1 1448 604 ? Ss 01:18 0:00 crond
root 3627 0.0 0.5 7008 3092 ? Ss 01:18 0:00 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_ACCES
root 3634 0.0 0.4 4104 2188 ? S 01:18 0:00 /usr/bin/perl /usr/sbin/advxsplitlogfile
apache 3636 0.0 0.6 7176 3340 ? S 01:18 0:00 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_ACCES
apache 3637 0.0 0.6 7176 3340 ? S 01:18 0:00 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_ACCES
apache 3638 0.0 0.6 7176 3340 ? S 01:18 0:00 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_ACCES
apache 3639 0.0 0.6 7040 3148 ? S 01:18 0:00 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_ACCES
apache 3640 0.0 0.6 7040 3148 ? S 01:18 0:00 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_ACCES
501 3656 0.0 0.2 2860 1496 ? S 01:18 0:00 /bin/sh /usr/bin/startkde
root 3741 0.0 0.0 1396 412 tty1 Ss+ 01:18 0:00 /sbin/mingetty tty1
root 3742 0.0 0.0 1396 412 tty2 Ss+ 01:18 0:00 /sbin/mingetty tty2
root 3743 0.0 0.0 1396 412 tty3 Ss+ 01:18 0:00 /sbin/mingetty tty3
root 3744 0.0 0.0 1396 412 tty4 Ss+ 01:18 0:00 /sbin/mingetty tty4
root 3745 0.0 0.0 1396 412 tty5 Ss+ 01:18 0:00 /sbin/mingetty tty5
root 3746 0.0 0.0 1396 412 tty6 Ss+ 01:18 0:00 /sbin/mingetty tty6
501 4151 0.0 0.7 11112 3736 ? S 01:18 0:00 /usr/bin/bluez-pin --dbus
501 4192 0.0 3.7 28280 19560 ? S 01:18 0:30 /usr/bin/perl /usr/bin/mdkapplet
501 4222 0.0 3.9 28052 20460 ? S 01:18 0:43 /usr/bin/perl /usr/bin/net_applet
501 4238 0.0 0.1 2432 700 ? S 01:18 0:00 dbus-launch --sh-syntax --exit-with-session
501 4239 0.0 0.2 2052 1044 ? Ss 01:18 0:00 dbus-daemon-1 --fork --print-pid 8 --print-address 6 --sessi
501 4249 0.0 0.1 2636 976 ? Ss 01:18 0:00 s2u --daemon=yes
501 4264 0.0 1.2 14756 6220 ? S 01:18 0:06 magicdev
501 4279 0.0 0.4 3808 2324 ? S 01:18 0:00 /usr/lib/gconfd-2 13
501 4291 0.0 1.6 22288 8540 ? Ss 01:18 0:00 kdeinit: Running...
501 4294 0.0 1.6 22168 8632 ? S 01:18 0:00 kdeinit: dcopserver --nosid
501 4296 0.0 1.9 24120 10224 ? S 01:18 0:00 kdeinit: klauncher
501 4299 0.0 2.3 25492 12360 ? S 01:18 0:01 kdeinit: kded
501 4300 0.0 0.3 3288 1652 ? Ss 01:18 0:00 famd
501 4312 0.0 1.2 10856 6304 ? S 01:19 0:02 /usr/bin/artsd -F 10 -S 4096 -s 1 -m artsmessage -c drkonqi
501 4316 0.0 2.8 29544 14928 ? S 01:19 0:12 kdeinit: knotify
501 4321 0.0 0.0 1400 300 ? S 01:19 0:00 kwrapper ksmserver
501 4323 0.0 2.2 23956 11552 ? S 01:19 0:00 kdeinit: ksmserver
501 4324 0.0 2.6 25140 13536 ? S 01:19 0:03 kdeinit: kwin -session 117f000001000110486560100000051560000
501 4340 0.0 3.8 32376 19844 ? S 01:19 0:14 kdeinit: kdesktop
501 4343 0.0 1.7 23764 9276 ? S 01:19 0:00 kdeinit: kio_file file /tmp/ksocket-english_man/klauncherdMM
501 4344 0.0 3.2 28544 16928 ? S 01:19 0:32 kdeinit: kicker
501 4353 0.0 2.3 24196 11960 ? S 01:19 0:00 kdeinit: khotkeys
501 4354 0.0 2.4 23696 12532 ? S 01:19 0:00 kwikdisk -session 117f000001000110486560200000051560004_1107
501 4360 0.0 2.8 27908 14800 ? S 01:19 0:03 korgac --miniicon korganizer
501 4387 0.0 2.9 27396 15208 ? S 01:19 0:44 kdeinit: konsole
501 4391 0.0 0.3 3056 1808 pts/0 Ss 01:19 0:00 /bin/bash
501 4425 0.1 0.1 2004 1020 pts/0 S+ 01:20 1:35 top
501 4429 0.0 0.2 2880 1536 ? S 01:20 0:00 /bin/bash /home/english_man/azureus/azureus
501 4453 0.0 21.1 389556 109296 ? Sl 01:20 0:29 java -Xms16m -Xmx128m -cp /home/english_man/azureus/Azureus2
501 4476 0.0 0.2 2848 1436 ? S 01:20 0:00 /bin/bash /usr/bin/amsn
501 4484 13.3 2.1 13752 10980 ? S 01:20 111:51 wish /usr/share/amsn/amsn
501 4729 0.0 0.3 2996 1628 ? S 01:21 0:00 /bin/sh /usr/bin/mozilla-firefox
501 4742 0.0 0.3 3024 1632 ? S 01:21 0:00 /bin/sh /usr/lib/mozilla-firefox-0.10.1/run-mozilla.sh /usr/
501 4747 0.5 12.5 125508 64616 ? Sl 01:21 4:13 /usr/lib/mozilla-firefox-0.10.1/mozilla-firefox-bin
501 4763 0.0 0.3 3056 1808 pts/1 Ss 01:21 0:00 /bin/bash
501 5379 0.0 1.1 15520 5744 ? S 01:32 0:00 /usr/bin/kdesud
apache 16445 0.0 0.6 7040 3148 ? S 04:08 0:00 httpd2 -f /etc/httpd/conf/httpd2.conf -DAPACHE2 -DHAVE_ACCES
postfix 3960 0.0 0.2 2908 1224 ? S 11:23 0:00 qmgr -l -t fifo -u -c
postfix 12837 0.0 0.2 2876 1120 ? S 14:37 0:00 pickup -l -t fifo -u -c -o content_filter -o receive_overri
root 14228 0.0 0.0 0 0 ? D 15:07 0:00 [scsi_eh_0]
root 14229 0.0 0.0 0 0 ? S 15:07 0:00 [usb-storage]
501 14344 0.0 2.6 25684 13732 ? S 15:09 0:00 kdeinit: kio_uiserver
501 14353 0.0 2.3 24704 12124 ? SN 15:09 0:00 kdeinit: kio_thumbnail thumbnail /tmp/ksocket-english_man/kl
501 14355 0.4 3.4 29340 17844 ? S 15:09 0:01 kdeinit: kwrite /home/english_man/Desktop/lq
501 14359 0.0 1.8 23876 9612 ? S 15:09 0:00 kdeinit: kio_file file /tmp/ksocket-english_man/klauncherdMM
501 14588 1.7 3.9 33220 20616 ? S 15:15 0:01 kdeinit: konqueror --silent
501 14593 0.2 2.3 24608 11908 ? SN 15:15 0:00 kdeinit: kio_thumbnail thumbnail /tmp/ksocket-english_man/kl
501 14630 4.9 3.1 26400 16412 ? S 15:15 0:01 ksnapshot -caption KSnapshot -icon ksnapshot.png -miniicon k
501 14646 0.0 1.7 23632 9232 ? S 15:16 0:00 kdeinit: kio_file file /tmp/ksocket-english_man/klauncherdMM
501 14655 0.0 0.1 2248 740 pts/1 R+ 15:16 0:00 ps aux
[english_man@c-fd86e055 english_man]$
Thanks again!
E_Man
02-05-2005, 08:50 AM
#7
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994
Rep:
usbdevfs isn't listed in the output of lsmod, so you don't have it loaded. (This doesn't mean it won't be automatically loaded when you plug in a USB device).
You might need to give the complete path to modprobe:
Code:
su -c '/sbin/modprobe usbdevfs'
There isn't anything swamping your CPU in the new screenshot. You'd be better off reproducing the problem, then running top again to find the offending process' PID, then looking at its cmdline file to see which command it is.
02-10-2005, 03:32 PM
#8
Member
Registered: Feb 2004
Location: Stockholm SWEDEN
Distribution: Ubuntu server 15.10
Posts: 60
Original Poster
Rep:
Everything is fixed now.
I upgraded the Kernel from '2.6.8.1-12' to the version '2.6.8.1-24' and all is working great.
I guess there was a USB fix in this version.
E_Man
All times are GMT -5. The time now is 07:04 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News