Long shutdown delay on 16.04 (related to WiFi usage?)

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












My (Ubuntu 16.04) laptop has the following quirk: usually shutdown will take under 5 seconds, occasionally it will take over a minute. Never anything in between.



Having observed this phenomenon for almost half a year now, the only thing I am sure of is this: the long shutdowns happen exclusively if - since booting up - the WiFi has at some point been enabled. They do not always happen if WiFi has been enabled, but it seems to be a necessary condition. On the other hand, disabling the WiFi in the network manager GUI right before shutdown is not sufficient to prevent the minute-long delay.



Yet, looking at the logging during shutdown, no mention of anything WiFi-related is made. During such long shutdowns, I immediately get



[ OK ] Started Show Plymouth Power Off Screen
[ OK ] Stopped Thermal Deamon Service


Then it stalls for one or two minutes, then the rest of the shutdown procedure happens in less than a second, starting with



[ OK ] Stopped session c2 of user *username*
[ OK ] Removed slice User slice of *username*


and ending with



[ OK ] Stopped Remount Root and Kernel Systems
[ OK ] Reached Target Shutdown


Nowhere is there any mention of the WiFi hardware or any error message. CUPS is somewhere in the middle of these logs; I know that it is often the culprit in slow-shutdown situations, but I do not have any printers on the network.



Let me know if you need more details on the shutdown logs, I recorded it on camera and did not feel like retyping all of it.










share|improve this question

























    up vote
    1
    down vote

    favorite












    My (Ubuntu 16.04) laptop has the following quirk: usually shutdown will take under 5 seconds, occasionally it will take over a minute. Never anything in between.



    Having observed this phenomenon for almost half a year now, the only thing I am sure of is this: the long shutdowns happen exclusively if - since booting up - the WiFi has at some point been enabled. They do not always happen if WiFi has been enabled, but it seems to be a necessary condition. On the other hand, disabling the WiFi in the network manager GUI right before shutdown is not sufficient to prevent the minute-long delay.



    Yet, looking at the logging during shutdown, no mention of anything WiFi-related is made. During such long shutdowns, I immediately get



    [ OK ] Started Show Plymouth Power Off Screen
    [ OK ] Stopped Thermal Deamon Service


    Then it stalls for one or two minutes, then the rest of the shutdown procedure happens in less than a second, starting with



    [ OK ] Stopped session c2 of user *username*
    [ OK ] Removed slice User slice of *username*


    and ending with



    [ OK ] Stopped Remount Root and Kernel Systems
    [ OK ] Reached Target Shutdown


    Nowhere is there any mention of the WiFi hardware or any error message. CUPS is somewhere in the middle of these logs; I know that it is often the culprit in slow-shutdown situations, but I do not have any printers on the network.



    Let me know if you need more details on the shutdown logs, I recorded it on camera and did not feel like retyping all of it.










    share|improve this question























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      My (Ubuntu 16.04) laptop has the following quirk: usually shutdown will take under 5 seconds, occasionally it will take over a minute. Never anything in between.



      Having observed this phenomenon for almost half a year now, the only thing I am sure of is this: the long shutdowns happen exclusively if - since booting up - the WiFi has at some point been enabled. They do not always happen if WiFi has been enabled, but it seems to be a necessary condition. On the other hand, disabling the WiFi in the network manager GUI right before shutdown is not sufficient to prevent the minute-long delay.



      Yet, looking at the logging during shutdown, no mention of anything WiFi-related is made. During such long shutdowns, I immediately get



      [ OK ] Started Show Plymouth Power Off Screen
      [ OK ] Stopped Thermal Deamon Service


      Then it stalls for one or two minutes, then the rest of the shutdown procedure happens in less than a second, starting with



      [ OK ] Stopped session c2 of user *username*
      [ OK ] Removed slice User slice of *username*


      and ending with



      [ OK ] Stopped Remount Root and Kernel Systems
      [ OK ] Reached Target Shutdown


      Nowhere is there any mention of the WiFi hardware or any error message. CUPS is somewhere in the middle of these logs; I know that it is often the culprit in slow-shutdown situations, but I do not have any printers on the network.



      Let me know if you need more details on the shutdown logs, I recorded it on camera and did not feel like retyping all of it.










      share|improve this question













      My (Ubuntu 16.04) laptop has the following quirk: usually shutdown will take under 5 seconds, occasionally it will take over a minute. Never anything in between.



      Having observed this phenomenon for almost half a year now, the only thing I am sure of is this: the long shutdowns happen exclusively if - since booting up - the WiFi has at some point been enabled. They do not always happen if WiFi has been enabled, but it seems to be a necessary condition. On the other hand, disabling the WiFi in the network manager GUI right before shutdown is not sufficient to prevent the minute-long delay.



      Yet, looking at the logging during shutdown, no mention of anything WiFi-related is made. During such long shutdowns, I immediately get



      [ OK ] Started Show Plymouth Power Off Screen
      [ OK ] Stopped Thermal Deamon Service


      Then it stalls for one or two minutes, then the rest of the shutdown procedure happens in less than a second, starting with



      [ OK ] Stopped session c2 of user *username*
      [ OK ] Removed slice User slice of *username*


      and ending with



      [ OK ] Stopped Remount Root and Kernel Systems
      [ OK ] Reached Target Shutdown


      Nowhere is there any mention of the WiFi hardware or any error message. CUPS is somewhere in the middle of these logs; I know that it is often the culprit in slow-shutdown situations, but I do not have any printers on the network.



      Let me know if you need more details on the shutdown logs, I recorded it on camera and did not feel like retyping all of it.







      16.04 shutdown






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 23 at 19:25









      Bib-lost

      141112




      141112

























          active

          oldest

          votes











          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',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          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%2f1009128%2flong-shutdown-delay-on-16-04-related-to-wifi-usage%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1009128%2flong-shutdown-delay-on-16-04-related-to-wifi-usage%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          pylint3 and pip3 broken

          Missing snmpget and snmpwalk

          How to enroll fingerprints to Ubuntu 17.10 with VFS491