LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 04-02-2020, 06:14 AM   #1
JohnHendry
Member
 
Registered: Apr 2020
Location: Sydney, Australia
Distribution: Crux Linux, LFS, Artix, source packages (64-bit PC)
Posts: 39

Rep: Reputation: Disabled
kworker too busy


Just today I find I have about 7 clusters of processes comprising groups of "cpuhp<digit>, migration/<digit>, ksoftirqd<digit>, kworker<digit>, kworker<digit>-kblockd" and I have no idea how to control this, which I suspect is totally useless behaviour just to use free cpu time. It's very distracting as it makes a noise, too. It never used to do it.
  • cpuhp3
  • migration/3
  • ksoftirqd/3
  • kworker/3
  • kworker/3-kblockd

How can I stop it?
 
Old 04-02-2020, 07:14 PM   #2
ian3384
LQ Newbie
 
Registered: Mar 2020
Location: Gatineau, Province of Quebec
Distribution: LinuxMint 18.3
Posts: 8

Rep: Reputation: Disabled
Killing processes

I guess that these are background processes open a terminal and "ps" command to confirm that.

Try killing them see "man kill" or "info kill" for details.
 
Old 04-02-2020, 07:54 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,153

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
No, that looks like CPU hot-plug gone nuts - and I certainly wouldn't expect kill to work on (those) kernel threads.

What has changed ?. Did you do a system update that may have brought in a new kernel or function ?. If so try booting the prior kernel.
Have you recently installed something like KVM or virtualbox ?.
 
Old 04-02-2020, 07:56 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,384
Blog Entries: 28

Rep: Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164
You may find this thread informative: https://www.linuxquestions.org/quest...er-4175563563/
 
Old 04-02-2020, 11:05 PM   #5
ian3384
LQ Newbie
 
Registered: Mar 2020
Location: Gatineau, Province of Quebec
Distribution: LinuxMint 18.3
Posts: 8

Rep: Reputation: Disabled
More involved than my first summary

I guess that it is still the same after a reboot? Ctl Alt F2 login and sudo shutdown -r now if it is stuck. Regards Ian
 
Old 04-03-2020, 02:00 AM   #6
JohnHendry
Member
 
Registered: Apr 2020
Location: Sydney, Australia
Distribution: Crux Linux, LFS, Artix, source packages (64-bit PC)
Posts: 39

Original Poster
Rep: Reputation: Disabled
I can't even boot into that kernel now: I get kernel panic, VFS can't mount file system on unknown block (8, 20) and then sched complains about unknown CPU0 being rescheduled. When I get the can't sync message I usually boot into an older kernel and mount the newer partition and then it works when I reboot. Not any more, so I guess I'll try xfs-repair and if that works, I better recompile the kernel.
Hopefully I can thus solve both the failure to sync on boot problem and the unwanted spawn of kworker processes but at this stage any suggestions would be kindly regarded.
 
Old 04-03-2020, 02:42 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,153

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
Quote:
Originally Posted by JohnHendry View Post
I better recompile the kernel.
Sounds like you have been the instigator of this problem. That being the case it's hard for us to advise, except maybe diff the .config's and investigate.
 
Old 04-03-2020, 05:24 AM   #8
JohnHendry
Member
 
Registered: Apr 2020
Location: Sydney, Australia
Distribution: Crux Linux, LFS, Artix, source packages (64-bit PC)
Posts: 39

Original Poster
Rep: Reputation: Disabled
Thanks to syg00 and others for replies
 
Old 04-03-2020, 05:26 AM   #9
JohnHendry
Member
 
Registered: Apr 2020
Location: Sydney, Australia
Distribution: Crux Linux, LFS, Artix, source packages (64-bit PC)
Posts: 39

Original Poster
Rep: Reputation: Disabled
Normally by the time I write something it logs me out and I can't be bothered typing it all again, so I might not use this forum any more
 
Old 04-03-2020, 06:09 AM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,927
Blog Entries: 45

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Moderator Response

Moved: This thread is more suitable in <Linux - Kernel> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 04-03-2020, 08:05 AM   #11
ian3384
LQ Newbie
 
Registered: Mar 2020
Location: Gatineau, Province of Quebec
Distribution: LinuxMint 18.3
Posts: 8

Rep: Reputation: Disabled
More info

Just for the record what distro are you using? I am on LinuxMint 18.3 and it is great. Regards Ian.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
High CPU load by kworker sagatov Linux - Kernel 3 10-10-2014 03:40 AM
LXer: My Nerd Life: Too Loud, Too Funny, Too Smart, Too Fat LXer Syndicated Linux News 0 01-24-2014 05:21 AM
kworker amok dTd Slackware 9 02-18-2013 08:46 AM
Debian: kworker/u:7 using up 30% of CPU resources GraysonPeddie Linux - General 3 12-12-2012 03:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 06:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration