Ubuntu 16.04 Unresponsive every 10 minutes for 2 minutes












0














I have a Ubuntu server running Apache2 and Mysql 5.7 which has been working great for about a year and is acting oddly as of yesterday. It seemed to go offline for a few minutes and then it was back. It happened one more time later but then was fine.



During it's "downtime" I am unable to get mysql, ssh or apache to respond, but ping does.



I checked top to see what the server load was, and all numbers were low, so it didn't seem like it had just finished up a big job



top - 12:23:04 up 26 days, 21:59,  2 users,  load average: 0.28, 0.18, 0.19
Tasks: 387 total, 1 running, 386 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0.4 us, 0.2 sy, 0.0 ni, 99.4 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem : 82331792 total, 75453456 free, 5990408 used, 887928 buff/cache
KiB Swap: 19401728+total, 19397209+free, 45172 used. 75653488 avail Mem


The system has dual Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz has plenty of memory and the OS is on an LSI Megaraid with 4 disks in a RAID 10, the data directories are using a PCI SSD with excellent read-write speeds.



I thought maybe at first it was a DDoS attack, but checking like this:



netstat -an|grep ESTABLISHED|awk '{print $5}'|awk -F: '{print $1}'|sort|uniq -c|awk '{ printf("%st%st",$2,$1); for (i = 0; i < $1; i++) {printf("*")}; print ""}'
26 **************************
127.0.0.1 6 ******
204.23.45.6 2 **
34.237.124.252 1 *
61.72.21.21 8 ********


Nothing pops out to me. I tried pinging from another computer in the same cabinet using the public IP and there was never any lapse.



I checked the raid status and it is good, lots of free space as well.



While typing this out it froze 3-4 times, so trying to catch it in the act I started up top and set the refresh to 0.5 seconds and now it has been a couple hours without it freezing. What should I check next?










share|improve this question





























    0














    I have a Ubuntu server running Apache2 and Mysql 5.7 which has been working great for about a year and is acting oddly as of yesterday. It seemed to go offline for a few minutes and then it was back. It happened one more time later but then was fine.



    During it's "downtime" I am unable to get mysql, ssh or apache to respond, but ping does.



    I checked top to see what the server load was, and all numbers were low, so it didn't seem like it had just finished up a big job



    top - 12:23:04 up 26 days, 21:59,  2 users,  load average: 0.28, 0.18, 0.19
    Tasks: 387 total, 1 running, 386 sleeping, 0 stopped, 0 zombie
    %Cpu(s): 0.4 us, 0.2 sy, 0.0 ni, 99.4 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
    KiB Mem : 82331792 total, 75453456 free, 5990408 used, 887928 buff/cache
    KiB Swap: 19401728+total, 19397209+free, 45172 used. 75653488 avail Mem


    The system has dual Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz has plenty of memory and the OS is on an LSI Megaraid with 4 disks in a RAID 10, the data directories are using a PCI SSD with excellent read-write speeds.



    I thought maybe at first it was a DDoS attack, but checking like this:



    netstat -an|grep ESTABLISHED|awk '{print $5}'|awk -F: '{print $1}'|sort|uniq -c|awk '{ printf("%st%st",$2,$1); for (i = 0; i < $1; i++) {printf("*")}; print ""}'
    26 **************************
    127.0.0.1 6 ******
    204.23.45.6 2 **
    34.237.124.252 1 *
    61.72.21.21 8 ********


    Nothing pops out to me. I tried pinging from another computer in the same cabinet using the public IP and there was never any lapse.



    I checked the raid status and it is good, lots of free space as well.



    While typing this out it froze 3-4 times, so trying to catch it in the act I started up top and set the refresh to 0.5 seconds and now it has been a couple hours without it freezing. What should I check next?










    share|improve this question



























      0












      0








      0







      I have a Ubuntu server running Apache2 and Mysql 5.7 which has been working great for about a year and is acting oddly as of yesterday. It seemed to go offline for a few minutes and then it was back. It happened one more time later but then was fine.



      During it's "downtime" I am unable to get mysql, ssh or apache to respond, but ping does.



      I checked top to see what the server load was, and all numbers were low, so it didn't seem like it had just finished up a big job



      top - 12:23:04 up 26 days, 21:59,  2 users,  load average: 0.28, 0.18, 0.19
      Tasks: 387 total, 1 running, 386 sleeping, 0 stopped, 0 zombie
      %Cpu(s): 0.4 us, 0.2 sy, 0.0 ni, 99.4 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
      KiB Mem : 82331792 total, 75453456 free, 5990408 used, 887928 buff/cache
      KiB Swap: 19401728+total, 19397209+free, 45172 used. 75653488 avail Mem


      The system has dual Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz has plenty of memory and the OS is on an LSI Megaraid with 4 disks in a RAID 10, the data directories are using a PCI SSD with excellent read-write speeds.



      I thought maybe at first it was a DDoS attack, but checking like this:



      netstat -an|grep ESTABLISHED|awk '{print $5}'|awk -F: '{print $1}'|sort|uniq -c|awk '{ printf("%st%st",$2,$1); for (i = 0; i < $1; i++) {printf("*")}; print ""}'
      26 **************************
      127.0.0.1 6 ******
      204.23.45.6 2 **
      34.237.124.252 1 *
      61.72.21.21 8 ********


      Nothing pops out to me. I tried pinging from another computer in the same cabinet using the public IP and there was never any lapse.



      I checked the raid status and it is good, lots of free space as well.



      While typing this out it froze 3-4 times, so trying to catch it in the act I started up top and set the refresh to 0.5 seconds and now it has been a couple hours without it freezing. What should I check next?










      share|improve this question















      I have a Ubuntu server running Apache2 and Mysql 5.7 which has been working great for about a year and is acting oddly as of yesterday. It seemed to go offline for a few minutes and then it was back. It happened one more time later but then was fine.



      During it's "downtime" I am unable to get mysql, ssh or apache to respond, but ping does.



      I checked top to see what the server load was, and all numbers were low, so it didn't seem like it had just finished up a big job



      top - 12:23:04 up 26 days, 21:59,  2 users,  load average: 0.28, 0.18, 0.19
      Tasks: 387 total, 1 running, 386 sleeping, 0 stopped, 0 zombie
      %Cpu(s): 0.4 us, 0.2 sy, 0.0 ni, 99.4 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
      KiB Mem : 82331792 total, 75453456 free, 5990408 used, 887928 buff/cache
      KiB Swap: 19401728+total, 19397209+free, 45172 used. 75653488 avail Mem


      The system has dual Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz has plenty of memory and the OS is on an LSI Megaraid with 4 disks in a RAID 10, the data directories are using a PCI SSD with excellent read-write speeds.



      I thought maybe at first it was a DDoS attack, but checking like this:



      netstat -an|grep ESTABLISHED|awk '{print $5}'|awk -F: '{print $1}'|sort|uniq -c|awk '{ printf("%st%st",$2,$1); for (i = 0; i < $1; i++) {printf("*")}; print ""}'
      26 **************************
      127.0.0.1 6 ******
      204.23.45.6 2 **
      34.237.124.252 1 *
      61.72.21.21 8 ********


      Nothing pops out to me. I tried pinging from another computer in the same cabinet using the public IP and there was never any lapse.



      I checked the raid status and it is good, lots of free space as well.



      While typing this out it froze 3-4 times, so trying to catch it in the act I started up top and set the refresh to 0.5 seconds and now it has been a couple hours without it freezing. What should I check next?







      linux ubuntu apache-http-server freeze






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 14 at 21:46









      DavidPostill

      103k25223257




      103k25223257










      asked Dec 14 at 20:57









      Alan

      183210




      183210



























          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          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%2fsuperuser.com%2fquestions%2f1383682%2fubuntu-16-04-unresponsive-every-10-minutes-for-2-minutes%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • 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.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • 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%2fsuperuser.com%2fquestions%2f1383682%2fubuntu-16-04-unresponsive-every-10-minutes-for-2-minutes%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

          Index of /

          Tribalistas

          Listed building