|
docnascar
|
 |
« on: February 08, 2012, 05:54:42 PM » |
|
After a recent update my pc now sits at 100% cpu usage after some time period. If I reboot, my pc acts normal but after I leave it sit for a while by itself, it gets sluggish. I noticed from system activity that, udevd goes to a high cpu usage rate.
I also notice when I shutdown pclinux, that the avahi daemon fails to kill. I don't know if this is related to the same issue.
I have kde. Let me know if you need any other stats. My last update was yesterday and my cpu usage was 100% today when I got home from work.
Anyone else had this issue? Ideas?
|
|
|
|
|
Logged
|
|
|
|
|
djohnston
|
 |
« Reply #1 on: February 08, 2012, 06:01:12 PM » |
|
Run top or htop in a terminal to see what is hogging the CPU. With htop, you can toggle tree view mode with the F5 key to see what processes are called by udevd.
|
|
|
|
|
Logged
|
Bare metal VBox AMD Athlon 7750 Dual-Core Single core 4GiB RAM 1GiB RAM nVidia GeForce FX 5200 64MB video LXDE 32bit KDE 64bit
Registered Linux User #416378
|
|
|
|
docnascar
|
 |
« Reply #2 on: February 08, 2012, 06:03:15 PM » |
|
Thanks. Right now its ok, since I rebooted. When it gets hogged up again, I will do that.
|
|
|
|
|
Logged
|
|
|
|
|
docnascar
|
 |
« Reply #3 on: February 08, 2012, 06:37:41 PM » |
|
I think my cpu usage is slowly creeping up over time. Here it is 10 minutes or so after reboot. Had to install htop. Can you copy text from it? Never posted a pic before on this forum. Lets try this. http://i68.blocked-photobucket/albums/i39/docnascar/debug/53_percent_cpu.pngWhy is the address changing to blocked? "http://i68.photobucket..." "http://i68.blocked-photobucket..."
|
|
|
|
|
Logged
|
|
|
|
|
docnascar
|
 |
« Reply #4 on: February 08, 2012, 06:49:34 PM » |
|
It is creeping up. ~30 minutes into it and we are 93% cpu usage now.
My swap says 0, is that right?
I don't know how to get the pics to work with photobucket yet. Still playing.
udevd says command is /sbin/udevd -d
|
|
|
|
|
Logged
|
|
|
|
|
JohnW_57
|
 |
« Reply #5 on: February 08, 2012, 06:52:09 PM » |
|
|
|
|
|
|
Logged
|
PCLinuxOS 2010 KDE4 full on: home build system: Intel Core 2 Quad (q6700) (2.66ghz), Asus P5K motherboard, 4 gig ddr2 memory, Asus Nvidia Geforce GTS 250 1024 mb gddr3, 2x Samsung 500 gig HDD (sata).
|
|
|
|
docnascar
|
 |
« Reply #6 on: February 08, 2012, 06:59:20 PM » |
|
I see now.
|
|
|
|
|
Logged
|
|
|
|
|
docnascar
|
 |
« Reply #7 on: February 08, 2012, 07:19:18 PM » |
|
35 min after reboot, cpu 93%. Its 100% now after 1hr. Note: I filtered udevd. 
|
|
|
|
|
Logged
|
|
|
|
AS
Global Moderator
Hero Member
   
Online
Posts: 4115
Have a nice ... night!
|
 |
« Reply #8 on: February 08, 2012, 07:49:43 PM » |
|
docnascar, try to run the following command, should produce more useful info:  udevadm monitor AS
|
|
|
|
|
Logged
|
|
|
|
|
docnascar
|
 |
« Reply #9 on: February 08, 2012, 09:06:15 PM » |
|
docnascar, try to run the following command, should produce more useful info:  udevadm monitor AS Yeh, I saw this command on another forum and was just messing around. When I ran udevadm monitor it will scroll out things forever until I sent a ctrl-c. I kill the udevd and ran it again and now it doesn't scroll the udev part. And my cpu usage went from 100% to 13%. Not sure what these define: UDEV [1328747544.837962] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747544.859897] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block)
It constantly scrolled the above. I can't post my terminal output for some reason. The forum is giving me errors. I'll keep trying to get the rest of it.
|
|
|
|
|
Logged
|
|
|
|
|
docnascar
|
 |
« Reply #10 on: February 08, 2012, 09:18:19 PM » |
|
[root@localhost docnascar]# udevadm monitor monitor will print the received events for: UDEV - the event which udev sends out after rule processing KERNEL - the kernel uevent
UDEV [1328747544.837962] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747544.859897] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747544.869777] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) UDEV [1328747544.915692] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747544.927888] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747544.953266] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) UDEV [1328747544.961158] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747544.986225] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747544.998752] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) UDEV [1328747545.023131] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.035914] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.046845] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) UDEV [1328747545.081109] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.099813] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.122756] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) UDEV [1328747545.132132] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.161761] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.171839] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) UDEV [1328747545.190176] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.217451] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.228797] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) UDEV [1328747545.255099] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.274771] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.295735] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) UDEV [1328747545.307924] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.331769] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.367749] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) UDEV [1328747545.385703] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.404395] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.433565] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) UDEV [1328747545.455932] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.470049] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.480904] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) UDEV [1328747545.507218] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.537766] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.547838] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.562852] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) UDEV [1328747545.570669] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.571005] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.590751] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) UDEV [1328747545.604086] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.641887] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.659772] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) UDEV [1328747545.680841] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.704784] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.719880] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) UDEV [1328747545.735060] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.760446] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.771787] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) UDEV [1328747545.788976] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.802489] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.813775] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) UDEV [1328747545.844824] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.857921] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.875758] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) UDEV [1328747545.884776] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.914806] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747545.924798] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) UDEV [1328747545.960618] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) ^C[root@localhost docnascar]#
|
|
|
|
|
Logged
|
|
|
|
AS
Global Moderator
Hero Member
   
Online
Posts: 4115
Have a nice ... night!
|
 |
« Reply #11 on: February 08, 2012, 09:19:03 PM » |
|
docnascar, try to run the following command, should produce more useful info:  udevadm monitor AS Yeh, I saw this command on another forum and was just messing around. When I ran udevadm monitor it will scroll out things forever until I sent a ctrl-c. I kill the udevd and ran it again and now it doesn't scroll the udev part. And my cpu usage went from 100% to 13%. Not sure what these define: UDEV [1328747544.837962] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747544.859897] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block)
It constantly scrolled the above. I can't post my terminal output for some reason. The forum is giving me errors. I'll keep trying to get the rest of it. Look like a disk (or optical unit) attached to ide1 is doing some "... excessive noise ..."  Is it possible for you to either disable this uniy from BIOS or physically disconnect it ? Just to verify if the issue go away. Can you post more info about that unit (brand/model ...) and may be also the ide driver module ... ?
|
|
|
|
|
Logged
|
|
|
|
|
docnascar
|
 |
« Reply #12 on: February 08, 2012, 09:21:56 PM » |
|
docnascar, try to run the following command, should produce more useful info:  udevadm monitor AS Yeh, I saw this command on another forum and was just messing around. When I ran udevadm monitor it will scroll out things forever until I sent a ctrl-c. I kill the udevd and ran it again and now it doesn't scroll the udev part. And my cpu usage went from 100% to 13%. Not sure what these define: UDEV [1328747544.837962] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block) KERNEL[1328747544.859897] change /devices/pci0000:00/0000:00:0d.0/ide1/1.1/block/hdd (block)
It constantly scrolled the above. I can't post my terminal output for some reason. The forum is giving me errors. I'll keep trying to get the rest of it. Look like a disk (or optical unit) attached to ide1 is doing some "... excessive noise ..."  Is it possible for you to either disable this uniy from BIOS or physically disconnect it ? Just to verify if the issue go away. Can you post more info about that unit (brand/model ...) and may be also the ide driver module ... ? Its funny you mention this. I read this in a thread about an optiarc dvd drive. I'm not sure what I have. http://www.linuxquestions.org/questions/slackware-14/udevd-high-cpu-load-810937/
|
|
|
|
|
Logged
|
|
|
|
AS
Global Moderator
Hero Member
   
Online
Posts: 4115
Have a nice ... night!
|
 |
« Reply #13 on: February 08, 2012, 09:30:50 PM » |
|
I do my reading ... on the net  About the drive brand model ... try dmesg or look into /var/log/messages, /var/log/syslog /var/loog/boot ...
|
|
|
|
|
Logged
|
|
|
|
|
docnascar
|
 |
« Reply #14 on: February 08, 2012, 09:51:35 PM » |
|
No vendor yet just: Probing IDE interface ide1... hdd: 48X12X50 CD-RW 1.04 20021101, ATAPI CD/DVD-ROM drive hdd: host max PIO5 wanted PIO255(auto-tune) selected PIO4 hdd: UDMA/33 mode selected ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15
All those logs say pretty much the same thing. hdd: 48X12X50 CD-RW 1.04 20021101, ATAPI CD/DVD-ROM drive
|
|
|
|
|
Logged
|
|
|
|
|