After upgrade from Ubuntu 16 to 18.04, systemd-udevd uses 100% CPU












3















Since I upgraded from Ubuntu 16 to 18.04, CPU usage is high. Sometimes 100% cpu usage, and when that happens we can't do anything. If we check on the process systemd-udevd, we find it is using 100% CPU. I have followed an answer to this question: Ubuntu 18.04 systemd-udevd uses high CPU, conflict with nvidia graphics but now I can't use any browser.



I ran the command sudo mv /lib/udev/rules.d/71-nvidia.rules ~ and now I can't install a new browser or use the old one, and I still have this 100% CPU issue.



Here's a detailed list of my system hardware



Note: I have installed Mint 19 version and found the same issue. I just downgraded to Mint 18.3 and CPU and memory usage are fine. Many others also reported the same issue.










share|improve this question

























  • What does mean "can't use web browser"? What happens?

    – Hi-Angel
    Sep 7 '18 at 19:49













  • all browser disappeared ... can't install new one

    – Shibin Raju Mathew
    Sep 9 '18 at 10:40











  • What happens why you try to install a new one?

    – Hi-Angel
    Sep 9 '18 at 12:41











  • failed to install.then after i migrated to mint 19 same issue found so downgraded to mint 18.3 now no problem. I think problem with kernel or with new ubuntu version.

    – Shibin Raju Mathew
    Sep 9 '18 at 16:31











  • Definitely not with kernel — maybe with systemd. Downgrading the system not really a solution, as it leaves you without all the new performance tweaks and fixes that come with every new version of software (and Ubuntu is not a rolling-release distro, meaning that, barring a few exceptions like browsers, your software gonna be stuck at a fixed version that only receives security-related patches).

    – Hi-Angel
    Sep 9 '18 at 16:51
















3















Since I upgraded from Ubuntu 16 to 18.04, CPU usage is high. Sometimes 100% cpu usage, and when that happens we can't do anything. If we check on the process systemd-udevd, we find it is using 100% CPU. I have followed an answer to this question: Ubuntu 18.04 systemd-udevd uses high CPU, conflict with nvidia graphics but now I can't use any browser.



I ran the command sudo mv /lib/udev/rules.d/71-nvidia.rules ~ and now I can't install a new browser or use the old one, and I still have this 100% CPU issue.



Here's a detailed list of my system hardware



Note: I have installed Mint 19 version and found the same issue. I just downgraded to Mint 18.3 and CPU and memory usage are fine. Many others also reported the same issue.










share|improve this question

























  • What does mean "can't use web browser"? What happens?

    – Hi-Angel
    Sep 7 '18 at 19:49













  • all browser disappeared ... can't install new one

    – Shibin Raju Mathew
    Sep 9 '18 at 10:40











  • What happens why you try to install a new one?

    – Hi-Angel
    Sep 9 '18 at 12:41











  • failed to install.then after i migrated to mint 19 same issue found so downgraded to mint 18.3 now no problem. I think problem with kernel or with new ubuntu version.

    – Shibin Raju Mathew
    Sep 9 '18 at 16:31











  • Definitely not with kernel — maybe with systemd. Downgrading the system not really a solution, as it leaves you without all the new performance tweaks and fixes that come with every new version of software (and Ubuntu is not a rolling-release distro, meaning that, barring a few exceptions like browsers, your software gonna be stuck at a fixed version that only receives security-related patches).

    – Hi-Angel
    Sep 9 '18 at 16:51














3












3








3


1






Since I upgraded from Ubuntu 16 to 18.04, CPU usage is high. Sometimes 100% cpu usage, and when that happens we can't do anything. If we check on the process systemd-udevd, we find it is using 100% CPU. I have followed an answer to this question: Ubuntu 18.04 systemd-udevd uses high CPU, conflict with nvidia graphics but now I can't use any browser.



I ran the command sudo mv /lib/udev/rules.d/71-nvidia.rules ~ and now I can't install a new browser or use the old one, and I still have this 100% CPU issue.



Here's a detailed list of my system hardware



Note: I have installed Mint 19 version and found the same issue. I just downgraded to Mint 18.3 and CPU and memory usage are fine. Many others also reported the same issue.










share|improve this question
















Since I upgraded from Ubuntu 16 to 18.04, CPU usage is high. Sometimes 100% cpu usage, and when that happens we can't do anything. If we check on the process systemd-udevd, we find it is using 100% CPU. I have followed an answer to this question: Ubuntu 18.04 systemd-udevd uses high CPU, conflict with nvidia graphics but now I can't use any browser.



I ran the command sudo mv /lib/udev/rules.d/71-nvidia.rules ~ and now I can't install a new browser or use the old one, and I still have this 100% CPU issue.



Here's a detailed list of my system hardware



Note: I have installed Mint 19 version and found the same issue. I just downgraded to Mint 18.3 and CPU and memory usage are fine. Many others also reported the same issue.







nvidia 18.04 cpu-load






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 30 '18 at 19:31









Zanna

51k13138242




51k13138242










asked Sep 7 '18 at 18:34









Shibin Raju MathewShibin Raju Mathew

1216




1216













  • What does mean "can't use web browser"? What happens?

    – Hi-Angel
    Sep 7 '18 at 19:49













  • all browser disappeared ... can't install new one

    – Shibin Raju Mathew
    Sep 9 '18 at 10:40











  • What happens why you try to install a new one?

    – Hi-Angel
    Sep 9 '18 at 12:41











  • failed to install.then after i migrated to mint 19 same issue found so downgraded to mint 18.3 now no problem. I think problem with kernel or with new ubuntu version.

    – Shibin Raju Mathew
    Sep 9 '18 at 16:31











  • Definitely not with kernel — maybe with systemd. Downgrading the system not really a solution, as it leaves you without all the new performance tweaks and fixes that come with every new version of software (and Ubuntu is not a rolling-release distro, meaning that, barring a few exceptions like browsers, your software gonna be stuck at a fixed version that only receives security-related patches).

    – Hi-Angel
    Sep 9 '18 at 16:51



















  • What does mean "can't use web browser"? What happens?

    – Hi-Angel
    Sep 7 '18 at 19:49













  • all browser disappeared ... can't install new one

    – Shibin Raju Mathew
    Sep 9 '18 at 10:40











  • What happens why you try to install a new one?

    – Hi-Angel
    Sep 9 '18 at 12:41











  • failed to install.then after i migrated to mint 19 same issue found so downgraded to mint 18.3 now no problem. I think problem with kernel or with new ubuntu version.

    – Shibin Raju Mathew
    Sep 9 '18 at 16:31











  • Definitely not with kernel — maybe with systemd. Downgrading the system not really a solution, as it leaves you without all the new performance tweaks and fixes that come with every new version of software (and Ubuntu is not a rolling-release distro, meaning that, barring a few exceptions like browsers, your software gonna be stuck at a fixed version that only receives security-related patches).

    – Hi-Angel
    Sep 9 '18 at 16:51

















What does mean "can't use web browser"? What happens?

– Hi-Angel
Sep 7 '18 at 19:49







What does mean "can't use web browser"? What happens?

– Hi-Angel
Sep 7 '18 at 19:49















all browser disappeared ... can't install new one

– Shibin Raju Mathew
Sep 9 '18 at 10:40





all browser disappeared ... can't install new one

– Shibin Raju Mathew
Sep 9 '18 at 10:40













What happens why you try to install a new one?

– Hi-Angel
Sep 9 '18 at 12:41





What happens why you try to install a new one?

– Hi-Angel
Sep 9 '18 at 12:41













failed to install.then after i migrated to mint 19 same issue found so downgraded to mint 18.3 now no problem. I think problem with kernel or with new ubuntu version.

– Shibin Raju Mathew
Sep 9 '18 at 16:31





failed to install.then after i migrated to mint 19 same issue found so downgraded to mint 18.3 now no problem. I think problem with kernel or with new ubuntu version.

– Shibin Raju Mathew
Sep 9 '18 at 16:31













Definitely not with kernel — maybe with systemd. Downgrading the system not really a solution, as it leaves you without all the new performance tweaks and fixes that come with every new version of software (and Ubuntu is not a rolling-release distro, meaning that, barring a few exceptions like browsers, your software gonna be stuck at a fixed version that only receives security-related patches).

– Hi-Angel
Sep 9 '18 at 16:51





Definitely not with kernel — maybe with systemd. Downgrading the system not really a solution, as it leaves you without all the new performance tweaks and fixes that come with every new version of software (and Ubuntu is not a rolling-release distro, meaning that, barring a few exceptions like browsers, your software gonna be stuck at a fixed version that only receives security-related patches).

– Hi-Angel
Sep 9 '18 at 16:51










2 Answers
2






active

oldest

votes


















2














I also faced the same issue after upgrade on my DELL laptop.



My workaround



Soon after booting, stopping and starting systed-udev eliminates all bind and unbind problems and response drastically improves. I used the following two commands in sequence:



sudo systemctl stop systemd-udevd systemd-udevd-kernel.socket systemd-udevd-control.socket
sudo systemctl start systemd-udevd systemd-udevd-kernel.socket systemd-udevd-control.socket


My understanding



Before all hardware is discovered properly, bind/unbind starts executing when no procedures are available and does not get reinitialized. After stopping and starting, it gets all the procedures in place. Probably, this is a boot sequence problem.






share|improve this answer


























  • Thank you for kind help... i can't verify your answer right now i have migrated to mint...Any way this may help others

    – Shibin Raju Mathew
    Sep 15 '18 at 19:04



















0














laptop Dell vostro 3300



:~$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.10
DISTRIB_CODENAME=cosmic
DISTRIB_DESCRIPTION="Ubuntu 18.10"

:~$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 2
Core(s) per socket: 2
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 37
Model name: Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz
Stepping: 2
CPU MHz: 1570.403
CPU max MHz: 2262,0000
CPU min MHz: 1197,0000
BogoMIPS: 4521.91
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 3072K
NUMA node0 CPU(s): 0-3


create file in /etc/init.d/



sudo nano /etc/init.d/systemd-udevd-solv.sh


paste -->



#!/bin/sh

sudo systemctl stop systemd-udevd systemd-udevd-kernel.socket systemd-udevd-control.socket

sleep 5

sudo systemctl start systemd-udevd systemd-udevd-kernel.socket systemd-udevd-control.socket


ctrl + x to save file and confirm exit



change permission



sudo chmod a+x /etc/init.d/systemd-udevd-solv.sh





share|improve this answer

























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1073185%2fafter-upgrade-from-ubuntu-16-to-18-04-systemd-udevd-uses-100-cpu%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    I also faced the same issue after upgrade on my DELL laptop.



    My workaround



    Soon after booting, stopping and starting systed-udev eliminates all bind and unbind problems and response drastically improves. I used the following two commands in sequence:



    sudo systemctl stop systemd-udevd systemd-udevd-kernel.socket systemd-udevd-control.socket
    sudo systemctl start systemd-udevd systemd-udevd-kernel.socket systemd-udevd-control.socket


    My understanding



    Before all hardware is discovered properly, bind/unbind starts executing when no procedures are available and does not get reinitialized. After stopping and starting, it gets all the procedures in place. Probably, this is a boot sequence problem.






    share|improve this answer


























    • Thank you for kind help... i can't verify your answer right now i have migrated to mint...Any way this may help others

      – Shibin Raju Mathew
      Sep 15 '18 at 19:04
















    2














    I also faced the same issue after upgrade on my DELL laptop.



    My workaround



    Soon after booting, stopping and starting systed-udev eliminates all bind and unbind problems and response drastically improves. I used the following two commands in sequence:



    sudo systemctl stop systemd-udevd systemd-udevd-kernel.socket systemd-udevd-control.socket
    sudo systemctl start systemd-udevd systemd-udevd-kernel.socket systemd-udevd-control.socket


    My understanding



    Before all hardware is discovered properly, bind/unbind starts executing when no procedures are available and does not get reinitialized. After stopping and starting, it gets all the procedures in place. Probably, this is a boot sequence problem.






    share|improve this answer


























    • Thank you for kind help... i can't verify your answer right now i have migrated to mint...Any way this may help others

      – Shibin Raju Mathew
      Sep 15 '18 at 19:04














    2












    2








    2







    I also faced the same issue after upgrade on my DELL laptop.



    My workaround



    Soon after booting, stopping and starting systed-udev eliminates all bind and unbind problems and response drastically improves. I used the following two commands in sequence:



    sudo systemctl stop systemd-udevd systemd-udevd-kernel.socket systemd-udevd-control.socket
    sudo systemctl start systemd-udevd systemd-udevd-kernel.socket systemd-udevd-control.socket


    My understanding



    Before all hardware is discovered properly, bind/unbind starts executing when no procedures are available and does not get reinitialized. After stopping and starting, it gets all the procedures in place. Probably, this is a boot sequence problem.






    share|improve this answer















    I also faced the same issue after upgrade on my DELL laptop.



    My workaround



    Soon after booting, stopping and starting systed-udev eliminates all bind and unbind problems and response drastically improves. I used the following two commands in sequence:



    sudo systemctl stop systemd-udevd systemd-udevd-kernel.socket systemd-udevd-control.socket
    sudo systemctl start systemd-udevd systemd-udevd-kernel.socket systemd-udevd-control.socket


    My understanding



    Before all hardware is discovered properly, bind/unbind starts executing when no procedures are available and does not get reinitialized. After stopping and starting, it gets all the procedures in place. Probably, this is a boot sequence problem.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Sep 29 '18 at 6:58









    Zanna

    51k13138242




    51k13138242










    answered Sep 15 '18 at 10:23









    Y S GuptaY S Gupta

    9913




    9913













    • Thank you for kind help... i can't verify your answer right now i have migrated to mint...Any way this may help others

      – Shibin Raju Mathew
      Sep 15 '18 at 19:04



















    • Thank you for kind help... i can't verify your answer right now i have migrated to mint...Any way this may help others

      – Shibin Raju Mathew
      Sep 15 '18 at 19:04

















    Thank you for kind help... i can't verify your answer right now i have migrated to mint...Any way this may help others

    – Shibin Raju Mathew
    Sep 15 '18 at 19:04





    Thank you for kind help... i can't verify your answer right now i have migrated to mint...Any way this may help others

    – Shibin Raju Mathew
    Sep 15 '18 at 19:04













    0














    laptop Dell vostro 3300



    :~$ cat /etc/lsb-release 
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=18.10
    DISTRIB_CODENAME=cosmic
    DISTRIB_DESCRIPTION="Ubuntu 18.10"

    :~$ lscpu
    Architecture: x86_64
    CPU op-mode(s): 32-bit, 64-bit
    Byte Order: Little Endian
    CPU(s): 4
    On-line CPU(s) list: 0-3
    Thread(s) per core: 2
    Core(s) per socket: 2
    Socket(s): 1
    NUMA node(s): 1
    Vendor ID: GenuineIntel
    CPU family: 6
    Model: 37
    Model name: Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz
    Stepping: 2
    CPU MHz: 1570.403
    CPU max MHz: 2262,0000
    CPU min MHz: 1197,0000
    BogoMIPS: 4521.91
    Virtualization: VT-x
    L1d cache: 32K
    L1i cache: 32K
    L2 cache: 256K
    L3 cache: 3072K
    NUMA node0 CPU(s): 0-3


    create file in /etc/init.d/



    sudo nano /etc/init.d/systemd-udevd-solv.sh


    paste -->



    #!/bin/sh

    sudo systemctl stop systemd-udevd systemd-udevd-kernel.socket systemd-udevd-control.socket

    sleep 5

    sudo systemctl start systemd-udevd systemd-udevd-kernel.socket systemd-udevd-control.socket


    ctrl + x to save file and confirm exit



    change permission



    sudo chmod a+x /etc/init.d/systemd-udevd-solv.sh





    share|improve this answer






























      0














      laptop Dell vostro 3300



      :~$ cat /etc/lsb-release 
      DISTRIB_ID=Ubuntu
      DISTRIB_RELEASE=18.10
      DISTRIB_CODENAME=cosmic
      DISTRIB_DESCRIPTION="Ubuntu 18.10"

      :~$ lscpu
      Architecture: x86_64
      CPU op-mode(s): 32-bit, 64-bit
      Byte Order: Little Endian
      CPU(s): 4
      On-line CPU(s) list: 0-3
      Thread(s) per core: 2
      Core(s) per socket: 2
      Socket(s): 1
      NUMA node(s): 1
      Vendor ID: GenuineIntel
      CPU family: 6
      Model: 37
      Model name: Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz
      Stepping: 2
      CPU MHz: 1570.403
      CPU max MHz: 2262,0000
      CPU min MHz: 1197,0000
      BogoMIPS: 4521.91
      Virtualization: VT-x
      L1d cache: 32K
      L1i cache: 32K
      L2 cache: 256K
      L3 cache: 3072K
      NUMA node0 CPU(s): 0-3


      create file in /etc/init.d/



      sudo nano /etc/init.d/systemd-udevd-solv.sh


      paste -->



      #!/bin/sh

      sudo systemctl stop systemd-udevd systemd-udevd-kernel.socket systemd-udevd-control.socket

      sleep 5

      sudo systemctl start systemd-udevd systemd-udevd-kernel.socket systemd-udevd-control.socket


      ctrl + x to save file and confirm exit



      change permission



      sudo chmod a+x /etc/init.d/systemd-udevd-solv.sh





      share|improve this answer




























        0












        0








        0







        laptop Dell vostro 3300



        :~$ cat /etc/lsb-release 
        DISTRIB_ID=Ubuntu
        DISTRIB_RELEASE=18.10
        DISTRIB_CODENAME=cosmic
        DISTRIB_DESCRIPTION="Ubuntu 18.10"

        :~$ lscpu
        Architecture: x86_64
        CPU op-mode(s): 32-bit, 64-bit
        Byte Order: Little Endian
        CPU(s): 4
        On-line CPU(s) list: 0-3
        Thread(s) per core: 2
        Core(s) per socket: 2
        Socket(s): 1
        NUMA node(s): 1
        Vendor ID: GenuineIntel
        CPU family: 6
        Model: 37
        Model name: Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz
        Stepping: 2
        CPU MHz: 1570.403
        CPU max MHz: 2262,0000
        CPU min MHz: 1197,0000
        BogoMIPS: 4521.91
        Virtualization: VT-x
        L1d cache: 32K
        L1i cache: 32K
        L2 cache: 256K
        L3 cache: 3072K
        NUMA node0 CPU(s): 0-3


        create file in /etc/init.d/



        sudo nano /etc/init.d/systemd-udevd-solv.sh


        paste -->



        #!/bin/sh

        sudo systemctl stop systemd-udevd systemd-udevd-kernel.socket systemd-udevd-control.socket

        sleep 5

        sudo systemctl start systemd-udevd systemd-udevd-kernel.socket systemd-udevd-control.socket


        ctrl + x to save file and confirm exit



        change permission



        sudo chmod a+x /etc/init.d/systemd-udevd-solv.sh





        share|improve this answer















        laptop Dell vostro 3300



        :~$ cat /etc/lsb-release 
        DISTRIB_ID=Ubuntu
        DISTRIB_RELEASE=18.10
        DISTRIB_CODENAME=cosmic
        DISTRIB_DESCRIPTION="Ubuntu 18.10"

        :~$ lscpu
        Architecture: x86_64
        CPU op-mode(s): 32-bit, 64-bit
        Byte Order: Little Endian
        CPU(s): 4
        On-line CPU(s) list: 0-3
        Thread(s) per core: 2
        Core(s) per socket: 2
        Socket(s): 1
        NUMA node(s): 1
        Vendor ID: GenuineIntel
        CPU family: 6
        Model: 37
        Model name: Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz
        Stepping: 2
        CPU MHz: 1570.403
        CPU max MHz: 2262,0000
        CPU min MHz: 1197,0000
        BogoMIPS: 4521.91
        Virtualization: VT-x
        L1d cache: 32K
        L1i cache: 32K
        L2 cache: 256K
        L3 cache: 3072K
        NUMA node0 CPU(s): 0-3


        create file in /etc/init.d/



        sudo nano /etc/init.d/systemd-udevd-solv.sh


        paste -->



        #!/bin/sh

        sudo systemctl stop systemd-udevd systemd-udevd-kernel.socket systemd-udevd-control.socket

        sleep 5

        sudo systemctl start systemd-udevd systemd-udevd-kernel.socket systemd-udevd-control.socket


        ctrl + x to save file and confirm exit



        change permission



        sudo chmod a+x /etc/init.d/systemd-udevd-solv.sh






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Feb 13 at 20:07









        Jeff

        754419




        754419










        answered Feb 13 at 16:53









        brunom4cielbrunom4ciel

        1




        1






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1073185%2fafter-upgrade-from-ubuntu-16-to-18-04-systemd-udevd-uses-100-cpu%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            How to make a Squid Proxy server?

            Is this a new Fibonacci Identity?

            19世紀