Choose style:

Author Topic: What's eating 91% of CPU and why ? [Solved]  (Read 3102 times)

0 Members and 1 Guest are viewing this topic.

Offline zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 3033
  • Karma: 562
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 / P9 Respin
What's eating 91% of CPU and why ? [Solved]
« on: June 17, 2015, 03:09:07 am »
Code: [Select]
45 root 20 0 0 0 0 R 91.2 0.0 54:23.59 kworker/0:1

Hi

Machine felt sluggish so I looked at Top...  rubbish at getting screen dumps but managed to get that above...  why would it use so much CPU?

Be gentle - I still consider mysef new to Linux and how and why it works the way it does :D

Zeb...
« Last Edit: June 17, 2015, 05:10:35 am by zebedeeboss »
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

Linux User #565092
P10 x64 Desktop - AMD Threadripper 2950X - 64Gb RAM - NVIDIA RTX2080Ti 11Gb - 2 x 27" 4k 3840x2160 - 1 x 34" 5120x2160
P9/10 @ P9 x64 Laptop - i7-7700HQ @ 2.80GHz - 8Gb RAM - Nvidia GTX1050 4Gb - 15.6" HD 1920x1080

Offline Slim.Fatz

  • Trusted User
  • Veteran
  • *****
  • Posts: 1752
  • Karma: 466
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 10 - 64bit
Re: What's eating 91% of CPU and why ?
« Reply #1 on: June 17, 2015, 03:40:08 am »
Hi zebedeeboss,

This seems to be a problem that many people have (judging by my Google-search results). You might want to look at this thread but it is beyond my skills to assist you any further. Maybe someone else with more technical understanding can provide some help here.

Or maybe you can solve it yourself using the info that thread-link I gave above.  :-\

Regards,

-- Slim
"Life first -- Peppermint a close 2nd!" -- Zeb

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome

Offline zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 3033
  • Karma: 562
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 / P9 Respin
Re: What's eating 91% of CPU and why ?
« Reply #2 on: June 17, 2015, 03:44:39 am »
Hi Slim.Fatz

Thank you for the link - some bedtime reading and research it seems.

Zeb...
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

Linux User #565092
P10 x64 Desktop - AMD Threadripper 2950X - 64Gb RAM - NVIDIA RTX2080Ti 11Gb - 2 x 27" 4k 3840x2160 - 1 x 34" 5120x2160
P9/10 @ P9 x64 Laptop - i7-7700HQ @ 2.80GHz - 8Gb RAM - Nvidia GTX1050 4Gb - 15.6" HD 1920x1080

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4808
  • Karma: 1012
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 8 Respin-2 (64-bit)
Re: What's eating 91% of CPU and why ?
« Reply #3 on: June 17, 2015, 03:53:19 am »
Hi zebedeeboss, have you just updated your kernel?  If so, did this issue start after the update?  Run this command in the terminal and post back the output:
Code: [Select]
dpkg -l | grep linux-image-3
You can always check what's happening in your system with your Task Manager.  Navigate to: menu > System Tools > Task Manager.  You're able to see what's using up your memory.  I hope this helps  ;).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 3033
  • Karma: 562
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 / P9 Respin
Re: What's eating 91% of CPU and why ?
« Reply #4 on: June 17, 2015, 04:10:17 am »
Code: [Select]
zebedee@i5-peppermint ~ $ dpkg -l | grep linux-image-3
ii  linux-image-3.16.0-37-generic               3.16.0-37.51~14.04.1                    amd64        Linux kernel image for version 3.16.0 on 64 bit x86 SMP
ii  linux-image-3.16.0-40-generic               3.16.0-40.54~14.04.1                    amd64        Linux kernel image for version 3.16.0 on 64 bit x86 SMP

Hi AndyInMokum

It just seemed to start this morning and Task Manager is only showing qupzilla as using 2-3% - wierd.  unfortunately I don't keep track of when I update the kernal - I just update and dist-upgrade once a week - diff days diff times.  Will need to keep better records for fault finding I guess

Plus although top is still showing kworker at 91%' ish CPU the sysem is responding better???

Zeb...
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

Linux User #565092
P10 x64 Desktop - AMD Threadripper 2950X - 64Gb RAM - NVIDIA RTX2080Ti 11Gb - 2 x 27" 4k 3840x2160 - 1 x 34" 5120x2160
P9/10 @ P9 x64 Laptop - i7-7700HQ @ 2.80GHz - 8Gb RAM - Nvidia GTX1050 4Gb - 15.6" HD 1920x1080

Offline Slim.Fatz

  • Trusted User
  • Veteran
  • *****
  • Posts: 1752
  • Karma: 466
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 10 - 64bit
Re: What's eating 91% of CPU and why ?
« Reply #5 on: June 17, 2015, 04:31:33 am »
Hi zebedeeboss,

There is now a kernel update in the repository. Start the Synaptic Package Manager (found in the System Tools section of the main menu of your panel), then in the lower left corner click on the button named Status.

Then at the top left of the window click on the button named Reload and wait until it is finished. Then on the left side of the window you will probably now see the entry named Upgradable which only appears if something you have installed has an upgrade available in the newly reloaded respository list. You can click on this entry (Upgradable) to get a list of what can be upgraded. To make all of the upgrades that are listed, click on the button at the top left of the window named Mark All Upgrades and when you are ready, click on the top left window button named Apply to start the upgrade process. If there is a new kernel that gets installed, you need to reboot in order to get it up and running.

Judging by the postings concerning kworker you might find an improvement.

Regards,

-- Slim
"Life first -- Peppermint a close 2nd!" -- Zeb

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome

Offline zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 3033
  • Karma: 562
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 / P9 Respin
Re: What's eating 91% of CPU and why ?
« Reply #6 on: June 17, 2015, 04:38:25 am »
Hi Slim.Fatz

There are no items upgradeable

I regularly use the apt update and apt dist upgrade commands so everything is current

Thanks for the tip though...  did not know Synaptic worked like that to help to see what needed upgrading.   Useful to know - Thanks

Zeb...
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

Linux User #565092
P10 x64 Desktop - AMD Threadripper 2950X - 64Gb RAM - NVIDIA RTX2080Ti 11Gb - 2 x 27" 4k 3840x2160 - 1 x 34" 5120x2160
P9/10 @ P9 x64 Laptop - i7-7700HQ @ 2.80GHz - 8Gb RAM - Nvidia GTX1050 4Gb - 15.6" HD 1920x1080

Offline zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 3033
  • Karma: 562
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 / P9 Respin
Re: What's eating 91% of CPU and why ?
« Reply #7 on: June 17, 2015, 05:10:14 am »
Code: [Select]
http://imgur.com/QVod1Xs
  screen shot of task Manager and Top

Hi All

system rebooted - kworker showing as 91+ % in top - task manager showing 26% cpu and 624 mb memory - everything running normal ???

Just goes to show when you question something you don't know about or you try to find an answer that doesn't matter.   I Obviously assumed kworker was causing the problem when it wasn't.   Gonna mark this thread solved as it wasn't an issue to start with  :D

Thanks to all who replied :)

Zeb...
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

Linux User #565092
P10 x64 Desktop - AMD Threadripper 2950X - 64Gb RAM - NVIDIA RTX2080Ti 11Gb - 2 x 27" 4k 3840x2160 - 1 x 34" 5120x2160
P9/10 @ P9 x64 Laptop - i7-7700HQ @ 2.80GHz - 8Gb RAM - Nvidia GTX1050 4Gb - 15.6" HD 1920x1080

Offline Slim.Fatz

  • Trusted User
  • Veteran
  • *****
  • Posts: 1752
  • Karma: 466
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 10 - 64bit
Re: What's eating 91% of CPU and why ?
« Reply #8 on: June 17, 2015, 05:10:43 am »
Hi Slim.Fatz

There are no items upgradeable

I regularly use the apt update and apt dist upgrade commands so everything is current

Thanks for the tip though...  did not know Synaptic worked like that to help to see what needed upgrading.   Useful to know - Thanks

Zeb...

Hi zebedeeboss,

That is strange about no upgrades  :-\ . The reason I say that is that in your reply to AndyInMokum your output listed your most recent linux-image to be 3.16.0-40 but after my most recent check and upgrade with Synaptic I have 3.16.0-41 installed !!

Did you click on the button Reload in Synaptic? Did it refresh (download) the list of package information?

Regards,

-- Slim
"Life first -- Peppermint a close 2nd!" -- Zeb

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome

Offline zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 3033
  • Karma: 562
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 / P9 Respin
Re: What's eating 91% of CPU and why ? [Solved]
« Reply #9 on: June 17, 2015, 05:22:12 am »
Hi Slim.Fatz

Just double checked and still nothing to upgrade... even using
Code: [Select]
zebedee@i5-peppermint ~ $ sudo apt-get update && sudo apt-get dist-upgrade

it returns "0 to" for each of the following:- upgrade, newley install, remove and not upgrade

Zeb...
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

Linux User #565092
P10 x64 Desktop - AMD Threadripper 2950X - 64Gb RAM - NVIDIA RTX2080Ti 11Gb - 2 x 27" 4k 3840x2160 - 1 x 34" 5120x2160
P9/10 @ P9 x64 Laptop - i7-7700HQ @ 2.80GHz - 8Gb RAM - Nvidia GTX1050 4Gb - 15.6" HD 1920x1080

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4808
  • Karma: 1012
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 8 Respin-2 (64-bit)
Re: What's eating 91% of CPU and why ? [Solved]
« Reply #10 on: June 17, 2015, 05:31:25 am »
Hi zebedeeboss, if I'm correct.  You're running the 32-bit version?
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline Slim.Fatz

  • Trusted User
  • Veteran
  • *****
  • Posts: 1752
  • Karma: 466
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 10 - 64bit
Re: What's eating 91% of CPU and why ? [Solved]
« Reply #11 on: June 17, 2015, 05:31:46 am »

?? ?? ??

and what is your output from

Code: [Select]
uname -a

when run in a terminal?

Regards,

-- Slim
"Life first -- Peppermint a close 2nd!" -- Zeb

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome

Offline zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 3033
  • Karma: 562
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 / P9 Respin
Re: What's eating 91% of CPU and why ? [Solved]
« Reply #12 on: June 17, 2015, 05:44:14 am »
Code: [Select]
zebedee@i5-peppermint ~ $ uname -a
Linux i5-peppermint 3.16.0-40-generic #54~14.04.1-Ubuntu SMP Wed Jun 10 17:30:45 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

I am running what my signature says :)   or should be

Zeb...
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

Linux User #565092
P10 x64 Desktop - AMD Threadripper 2950X - 64Gb RAM - NVIDIA RTX2080Ti 11Gb - 2 x 27" 4k 3840x2160 - 1 x 34" 5120x2160
P9/10 @ P9 x64 Laptop - i7-7700HQ @ 2.80GHz - 8Gb RAM - Nvidia GTX1050 4Gb - 15.6" HD 1920x1080

Offline Slim.Fatz

  • Trusted User
  • Veteran
  • *****
  • Posts: 1752
  • Karma: 466
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 10 - 64bit
Re: What's eating 91% of CPU and why ? [Solved]
« Reply #13 on: June 17, 2015, 05:50:44 am »
OK,

so I see that you are running the 64-bit version but not, as in your signature, 3.16.0-37 but rather 3.16.0-40 ... I don't know about the 64-bit version (I use the 32-bit version): maybe it does not have 3.16.0-41 as the most recent linux-image ...

I defer to others with more knowledge about the 64-bit version.

Regards,

-- Slim



Edit: just noticed that you modified your signature to read correctly as I was writing my reply  ;D

"Life first -- Peppermint a close 2nd!" -- Zeb

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome

Offline zebedeeboss

  • Global Moderator
  • Hero
  • *****
  • Posts: 3033
  • Karma: 562
  • Life first... Peppermint a close 2nd :)
    • View Profile
  • Peppermint version(s): P10 / P9 Respin
Re: What's eating 91% of CPU and why ? [Solved]
« Reply #14 on: June 17, 2015, 06:04:03 am »
Hmmm - that's funny - my signature says 40 here ????

 :P :P :P

Zeb...

ps bad Zeb editing signature mid post :P
Be Kind Whenever Possible...   It is Always Possible - Dalai Lama

Linux User #565092
P10 x64 Desktop - AMD Threadripper 2950X - 64Gb RAM - NVIDIA RTX2080Ti 11Gb - 2 x 27" 4k 3840x2160 - 1 x 34" 5120x2160
P9/10 @ P9 x64 Laptop - i7-7700HQ @ 2.80GHz - 8Gb RAM - Nvidia GTX1050 4Gb - 15.6" HD 1920x1080