Page 5 of 6 FirstFirst ... 3456 LastLast
Results 41 to 50 of 51

Thread: What is kworker?

  1. #41
    Join Date
    Jun 2011
    Beans
    46

    Re: What is kworker?

    These kworkers were invading all my memory space after upgrading from 10.10 to 11.04; I think it was because of a kernel upgrade. I started using an earlier kernel (2.6.35 instead of 2.6.38) and the problem disappeared. I hope this gets fixed soon in later kernels so I don't have to stay with this older one.
    “So this SEO copywriter walks into a bar, grill, pub, public house, Irish bar, bartender, drinks, beer, wine, liquor”

  2. #42
    Join Date
    Nov 2008
    Location
    Canada
    Beans
    150
    Distro
    Ubuntu Development Release

    Re: What is kworker?

    running 11.10 release AMD64 Desktop and I just found those pesky kworker

  3. #43
    Join Date
    May 2008
    Beans
    1

    Re: What is kworker?

    Quote Originally Posted by vontroba View Post
    I have a Lenovo T61 and in my case the problem was broken ethernet port. This caused 50-60% of the CPU to be used in about every 5 seconds, so I started using USB network adapter and disabled built-in one. Instructions can be found here: http://wiki.debian.org/KernelModuleBlacklisting

    I know it's a very specific case, but hopefully next person with the same problem will stumble on this thread and save a day of googelling
    The exact same thing is happening to me, so thank you very much for documenting your case here. Very helpful!
    Regards.

  4. #44
    Join Date
    Aug 2007
    Location
    US
    Beans
    163
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: What is kworker?

    in my case, the kworker threads were maxing out my core 2 duo and causing mouse, audio, system, and app lag. I've seen similar but less severe situations when an app had a lot of disk I/O. The issue persisted even after closing my bittorrent & backup apps.

    Finally, I noticed my system was using 320MB of swap (even though I had 4+ GB of free RAM). I did
    Code:
    sudo swapoff -a
    and after a minute of the system flushing the swap out, my CPU usage dropped to nearly idle, and my RAM usage dropped as well.

    This was happening an hour ago and rendering the machine nearly unusable, so I rebooted ... and had the same issue immediately. My best guess is that it was related to the swap usage, and that is likely related to some recent update, kernel or otherwise. For now, my workaround will be keeping swap off, or lowering swappiness.

    ubuntu 11.04
    kernel 2.6.38-12-generic-pae

  5. #45
    Join Date
    Nov 2007
    Beans
    187

    Re: What is kworker?

    according to this thread https://lkml.org/lkml/2011/3/30/836 there is no single cause for kworker issues.

    one of the problems with that behavior is that it's actually fairly hard to figure out what the hell is happening. You don't see some nice thread description in 'top' any more (like you used to when everybody created their own threads and didn't do the common worker thread thing)
    in the same thread and also in this: https://lkml.org/lkml/2011/3/31/68 there are a few suggestions on how to get more information.

    to install perf: sudo apt-get install linux-tools

    in my case, it was the encryption to use kworkers

  6. #46
    Join Date
    Oct 2006
    Location
    Baltimore, MD
    Beans
    667

    Re: What is kworker?

    Quote Originally Posted by jaygo View Post
    Code:
    sudo swapoff -a
    I tried this. computer told me it could not allocate memory.
    I am not a lawyer...yet.
    Music Manumit Podcast - remixable Creative Commons music!
    My neglected blog: http://douglasawh.wordpress.com
    My website: http://opensourceplayground.org

  7. #47
    Join Date
    Sep 2009
    Beans
    24

    Re: What is kworker?

    is everyone still having this problem?
    yesterday i had my mouse quit working and my audio as well.
    And it seems that my computer stopped responding after waking from suspend.

    Code:
    temporizer@temporizer:~$ ps -A | grep kworker
     2648 ?        00:00:01 kworker/u:32
     2666 ?        00:00:01 kworker/u:50
     2698 ?        00:00:04 kworker/3:1
     3872 ?        00:00:02 kworker/1:2
     4086 ?        00:00:00 kworker/u:0
     4197 ?        00:00:01 kworker/2:1
     4319 ?        00:00:00 kworker/1:0
     4320 ?        00:00:00 kworker/3:0
     4324 ?        00:00:00 kworker/0:0
     4540 ?        00:00:00 kworker/0:2
     4543 ?        00:00:00 kworker/2:0
     4659 ?        00:00:00 kworker/0:1
     4664 ?        00:00:00 kworker/2:2
    temporizer@temporizer:~$ uname -a
    Linux temporizer 2.6.38-13-generic #52-Ubuntu SMP Tue Nov 8 16:53:51 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
    i have 13 running kworker currently. I didn't check it yesterday when it happened (didn't know what to look for then.)

    I ran
    Code:
    sudo find / -name src.txt
    and it came up with 0 results.
    as you can see i'm using 2.6.38.13 and still having the issue.

    if there is anything i can do to help the debug process, please let me know.

    p.s. i am running on a toshiba p745-s4320. intel i5 processor with 6gb ram.

  8. #48
    Join Date
    Aug 2007
    Location
    US
    Beans
    163
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: What is kworker?

    yes, I think disabling swap was a lucky fix in my case. The real issue was a runaway process or two, hiding behind the kworker thread.

    Kworker threads tend to spike whenever there's steady disk activity, most likely relating to encryption.

  9. #49
    Join Date
    Nov 2007
    Location
    Mellansel, Sweden
    Beans
    52
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: What is kworker?

    So has anyone seen a solution to this problem! I am running 11.10 and also notice kworker at work.

    Code:
    -00:~$ ps -A | grep kworker
       12 ?        00:00:00 kworker/2:0
       15 ?        00:00:00 kworker/3:0
      172 ?        00:00:00 kworker/3:1
      173 ?        00:00:00 kworker/2:1
      211 ?        00:00:00 kworker/u:5
      212 ?        00:00:00 kworker/u:6
     2838 ?        00:00:00 kworker/1:0
     2880 ?        00:00:01 kworker/0:1
     2908 ?        00:00:00 kworker/1:2
     2993 ?        00:00:00 kworker/0:2
     3006 ?        00:00:00 kworker/1:1
     3007 ?        00:00:00 kworker/0:0
    /ernie
    Last edited by kalkems; February 26th, 2012 at 01:05 PM.

  10. #50
    Join Date
    Dec 2007
    Location
    Bombay
    Beans
    6,476
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: What is kworker?

    Quote Originally Posted by kalkems View Post
    So has anyone seen a solution to this problem! I am running 11.10 and also notice kworker at work.

    ps -A | grep kworker
    4 ? 00:00:00 kworker/0:0...

    /ernie
    Hi, if you use the [code] tags (the button with the # sign) the stuff starting with "ps -A|grep kworker" will be formatted better.

Page 5 of 6 FirstFirst ... 3456 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •