[arch-general] cpu usage very high after update...
My cpu monitor is almost reading 100%, right after I updated today. It was a very large update because I hadn't updated in about a month. Here is what "$top" gives me: top - 16:22:55 up 9 min, 2 users, load average: 1.36, 1.32, 0.68 Tasks: 99 total, 3 running, 96 sleeping, 0 stopped, 0 zombie Cpu(s): 34.8%us, 18.6%sy, 0.0%ni, 46.6%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 2073268k total, 698532k used, 1374736k free, 14572k buffers Swap: 2281220k total, 0k used, 2281220k free, 384848k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 2973 preston 20 0 80996 19m 14m R 99 1.0 7:17.37 kded4 2931 root 20 0 331m 53m 4288 S 3 2.6 0:28.89 X 2999 preston 20 0 272m 38m 22m S 3 1.9 0:17.47 plasma 3076 preston 20 0 224m 95m 21m S 1 4.7 0:50.88 firefox 1 root 20 0 1688 576 512 S 0 0.0 0:00.71 init 2 root 15 -5 0 0 0 S 0 0.0 0:00.00 kthreadd 3 root RT -5 0 0 0 S 0 0.0 0:00.00 migration/0 4 root 15 -5 0 0 0 S 0 0.0 0:00.02 ksoftirqd/0 5 root RT -5 0 0 0 S 0 0.0 0:00.00 watchdog/0 6 root RT -5 0 0 0 S 0 0.0 0:00.00 migration/1 7 root 15 -5 0 0 0 S 0 0.0 0:00.00 ksoftirqd/1 8 root RT -5 0 0 0 S 0 0.0 0:00.00 watchdog/1 9 root 15 -5 0 0 0 S 0 0.0 0:00.00 events/0 10 root 15 -5 0 0 0 S 0 0.0 0:00.00 events/1 11 root 15 -5 0 0 0 S 0 0.0 0:00.00 khelper 12 root RT -5 0 0 0 S 0 0.0 0:00.00 kstop/0 13 root RT -5 0 0 0 S 0 0.0 0:00.00 kstop/1 14 root 15 -5 0 0 0 S 0 0.0 0:00.01 kblockd/0 15 root 15 -5 0 0 0 S 0 0.0 0:00.00 kblockd/1 16 root 15 -5 0 0 0 S 0 0.0 0:00.00 kacpid 17 root 15 -5 0 0 0 S 0 0.0 0:00.00 kacpi_notify 18 root 15 -5 0 0 0 S 0 0.0 0:00.01 kseriod 19 root 20 0 0 0 0 S 0 0.0 0:00.00 pdflush 20 root 20 0 0 0 0 S 0 0.0 0:00.02 pdflush 21 root 15 -5 0 0 0 S 0 0.0 0:00.00 kswapd0 22 root 15 -5 0 0 0 S 0 0.0 0:00.00 aio/0 23 root 15 -5 0 0 0 S 0 0.0 0:00.00 aio/1 32 root 15 -5 0 0 0 S 0 0.0 0:00.01 ata/0 33 root 15 -5 0 0 0 S 0 0.0 0:00.00 ata/1 34 root 15 -5 0 0 0 S 0 0.0 0:00.00 ata_aux 38 root 15 -5 0 0 0 S 0 0.0 0:00.00 scsi_eh_0 39 root 15 -5 0 0 0 S 0 0.0 0:00.00 scsi_eh_1 Thanks for any help, Preston
What got updated? 2009/3/15 Preston C. <gprestonc@gmail.com>:
My cpu monitor is almost reading 100%, right after I updated today. It was a very large update because I hadn't updated in about a month. Here is what "$top" gives me:
top - 16:22:55 up 9 min, 2 users, load average: 1.36, 1.32, 0.68 Tasks: 99 total, 3 running, 96 sleeping, 0 stopped, 0 zombie Cpu(s): 34.8%us, 18.6%sy, 0.0%ni, 46.6%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 2073268k total, 698532k used, 1374736k free, 14572k buffers Swap: 2281220k total, 0k used, 2281220k free, 384848k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 2973 preston 20 0 80996 19m 14m R 99 1.0 7:17.37 kded4 2931 root 20 0 331m 53m 4288 S 3 2.6 0:28.89 X 2999 preston 20 0 272m 38m 22m S 3 1.9 0:17.47 plasma 3076 preston 20 0 224m 95m 21m S 1 4.7 0:50.88 firefox 1 root 20 0 1688 576 512 S 0 0.0 0:00.71 init 2 root 15 -5 0 0 0 S 0 0.0 0:00.00 kthreadd 3 root RT -5 0 0 0 S 0 0.0 0:00.00 migration/0 4 root 15 -5 0 0 0 S 0 0.0 0:00.02 ksoftirqd/0 5 root RT -5 0 0 0 S 0 0.0 0:00.00 watchdog/0 6 root RT -5 0 0 0 S 0 0.0 0:00.00 migration/1 7 root 15 -5 0 0 0 S 0 0.0 0:00.00 ksoftirqd/1 8 root RT -5 0 0 0 S 0 0.0 0:00.00 watchdog/1 9 root 15 -5 0 0 0 S 0 0.0 0:00.00 events/0 10 root 15 -5 0 0 0 S 0 0.0 0:00.00 events/1 11 root 15 -5 0 0 0 S 0 0.0 0:00.00 khelper 12 root RT -5 0 0 0 S 0 0.0 0:00.00 kstop/0 13 root RT -5 0 0 0 S 0 0.0 0:00.00 kstop/1 14 root 15 -5 0 0 0 S 0 0.0 0:00.01 kblockd/0 15 root 15 -5 0 0 0 S 0 0.0 0:00.00 kblockd/1 16 root 15 -5 0 0 0 S 0 0.0 0:00.00 kacpid 17 root 15 -5 0 0 0 S 0 0.0 0:00.00 kacpi_notify 18 root 15 -5 0 0 0 S 0 0.0 0:00.01 kseriod 19 root 20 0 0 0 0 S 0 0.0 0:00.00 pdflush 20 root 20 0 0 0 0 S 0 0.0 0:00.02 pdflush 21 root 15 -5 0 0 0 S 0 0.0 0:00.00 kswapd0 22 root 15 -5 0 0 0 S 0 0.0 0:00.00 aio/0 23 root 15 -5 0 0 0 S 0 0.0 0:00.00 aio/1 32 root 15 -5 0 0 0 S 0 0.0 0:00.01 ata/0 33 root 15 -5 0 0 0 S 0 0.0 0:00.00 ata/1 34 root 15 -5 0 0 0 S 0 0.0 0:00.00 ata_aux 38 root 15 -5 0 0 0 S 0 0.0 0:00.00 scsi_eh_0 39 root 15 -5 0 0 0 S 0 0.0 0:00.00 scsi_eh_1
Thanks for any help, Preston
What got updated? A lot, :-). I know KDE 4.2 -> 4.2.1. I searched the forum and wiki but could not figure out what file or command to pull up or use to show you what got updated?
On Sun, Mar 15, 2009 at 9:26 PM, Preston C. <gprestonc@gmail.com> wrote:
My cpu monitor is almost reading 100%, right after I updated today. It was a very large update because I hadn't updated in about a month. Here is what "$top" gives me:
top - 16:22:55 up 9 min, 2 users, load average: 1.36, 1.32, 0.68 Tasks: 99 total, 3 running, 96 sleeping, 0 stopped, 0 zombie Cpu(s): 34.8%us, 18.6%sy, 0.0%ni, 46.6%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 2073268k total, 698532k used, 1374736k free, 14572k buffers Swap: 2281220k total, 0k used, 2281220k free, 384848k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 2973 preston 20 0 80996 19m 14m R 99 1.0 7:17.37 kded4
A quick google gave me this : https://bugs.kde.org/show_bug.cgi?id=155904 The cpu usage mentioned are not anywhere near 99 though, but still worth a try to add this to $HOME/.kde4/share/config/kdedrc: [DirWatch] PollInterval=60000 Otherwise, a general tip is to try with a fresh new user, to find out whether it is indeed a configuration problem.
Thanks for the replies. Bram, I did install KDE and I did restart after updating, although this is the first time I have logged into KDE since the update.. Xavier, that is interesting. It seems to be a problem with KDE 4.2, surely they would have fixed it with KDE 4.2.1? I never have had this problem before when I was using KDE 4.2. In short my CPU usage will not go below around 50% and keeps jumping up to 95%-100% a lot of the time.
Hello Preston, I have had this problem on occassion, but it only appears maybe 3 times. I do a killall kded4 and then krunner -> kded4. That seems to calm it down. I do not understand what it does exactly. http://api.kde.org/4.0-api/kdelibs-apidocs/kded/html/index.html Shura ________________________________ From: Preston C. <gprestonc@gmail.com> To: General Discusson about Arch Linux <arch-general@archlinux.org> Sent: Sunday, March 15, 2009 1:53:58 PM Subject: Re: [arch-general] cpu usage very high after update... Thanks for the replies. Bram, I did install KDE and I did restart after updating, although this is the first time I have logged into KDE since the update.. Xavier, that is interesting. It seems to be a problem with KDE 4.2, surely they would have fixed it with KDE 4.2.1? I never have had this problem before when I was using KDE 4.2. In short my CPU usage will not go below around 50% and keeps jumping up to 95%-100% a lot of the time.
I posted on the KDE forum, so I will see if they have any tips, before I try to do to much.
Interestingly, I rebooted again, this time not immediately after the update/upgrade, but after logging into KDE. Everything seems to be fine now, hopefully this problem will not come up again. Thanks for the help.
Preston C. wrote:
Interestingly, I rebooted again, this time not immediately after the update/upgrade, but after logging into KDE. Everything seems to be fine now, hopefully this problem will not come up again. Thanks for the help.
If you have problems again do a strace of the kded4 process, this process normaly do a poll() of some sockets and pipes. Also if appears again ensure that have a clean /tmp and /var/tmp/ ;) For example, in normal execution, the poll interval is 5 seconds ( see http://djgera.pastebin.com/f6c2ca1bc ) -- Gerardo Exequiel Pozzi ( djgera ) http://www.djgera.com.ar KeyID: 0x1B8C330D Key fingerprint = 0CAA D5D4 CD85 4434 A219 76ED 39AB 221B 1B8C 330D
If you have problems again do a strace of the kded4 process, this process normaly do a poll() of some sockets and pipes.
Also if appears again ensure that have a clean /tmp and /var/tmp/ ;)
For example, in normal execution, the poll interval is 5 seconds ( see http://djgera.pastebin.com/f6c2ca1bc )
-- Gerardo Exequiel Pozzi ( djgera ) http://www.djgera.com.ar KeyID: 0x1B8C330D Key fingerprint = 0CAA D5D4 CD85 4434 A219 76ED 39AB 221B 1B8C 330D Thanks Gerardo.
On Sun, Mar 15, 2009 at 09:34:21PM +0100, Xavier wrote:
A quick google gave me this : https://bugs.kde.org/show_bug.cgi?id=155904
The cpu usage mentioned are not anywhere near 99 though, but still worth a try to add this to $HOME/.kde4/share/config/kdedrc: [DirWatch] PollInterval=60000
http://websvn.kde.org/*checkout*/tags/KDE/4.2.1/kdelibs/kded/README.kded says that this option is now stored in kdeglobals. Anyway if the fam daemon is active it isn't taken in account.
Am Sonntag, 15. März 2009 22:57:43 schrieb Alessandro Doro:
On Sun, Mar 15, 2009 at 09:34:21PM +0100, Xavier wrote:
A quick google gave me this : https://bugs.kde.org/show_bug.cgi?id=155904
The cpu usage mentioned are not anywhere near 99 though, but still worth a try to add this to $HOME/.kde4/share/config/kdedrc: [DirWatch] PollInterval=60000
http://websvn.kde.org/*checkout*/tags/KDE/4.2.1/kdelibs/kded/README.kded says that this option is now stored in kdeglobals.
Anyway if the fam daemon is active it isn't taken in account.
Fam is not used by KDE anyway. -- Pierre Schmitz Clemens-August-Straße 76 53115 Bonn Telefon 0228 9716608 Mobil 0160 95269831 Jabber pierre@jabber.archlinux.de WWW http://www.archlinux.de
On Sunday 15 March 2009 21:26:40 Preston C. wrote: Hi Preston,
My cpu monitor is almost reading 100%, right after I updated today. It was a very large update because I hadn't updated in about a month. Here is what "$top" gives me:
top - 16:22:55 up 9 min, 2 users, load average: 1.36, 1.32, 0.68 Tasks: 99 total, 3 running, 96 sleeping, 0 stopped, 0 zombie Cpu(s): 34.8%us, 18.6%sy, 0.0%ni, 46.6%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 2073268k total, 698532k used, 1374736k free, 14572k buffers Swap: 2281220k total, 0k used, 2281220k free, 384848k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 2973 preston 20 0 80996 19m 14m R 99 1.0 7:17.37 kded4
Did you restart X/KDE after updating? I bet this was among those updates. Kind regards, -- Bram Schoenmakers What is mind? No matter. What is matter? Never mind. (Punch, 1855)
participants (8)
-
Alessandro Doro
-
Alexander Kotlerman
-
Bram Schoenmakers
-
Chris Bannister
-
Gerardo Exequiel Pozzi
-
Pierre Schmitz
-
Preston C.
-
Xavier