ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Ubuntu 14.04 crashes due to using too much memory

    Scheduled Pinned Locked Moved IT Discussion
    55 Posts 4 Posters 7.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DustinB3403D
      DustinB3403
      last edited by DustinB3403

      top
      

      Should give you all the details you need live.

      A IRJI 2 Replies Last reply Reply Quote 1
      • A
        Alex Sage @DustinB3403
        last edited by Alex Sage

        @DustinB3403 or better yet

        htop
        
        DustinB3403D 1 Reply Last reply Reply Quote 0
        • IRJI
          IRJ @DustinB3403
          last edited by

          @DustinB3403 said in Ubuntu 14.04 crashes due to using too much memory:

          top
          

          Should give you all the details you need live.

          Right now it is using very little memory (2%) . I just rebooted so I will check when there is an issue again.

          A scottalanmillerS 2 Replies Last reply Reply Quote 0
          • A
            Alex Sage
            last edited by Alex Sage

            @IRJ Why are you not running Ubuntu 16.04? Also check sysstat.

            scottalanmillerS 1 Reply Last reply Reply Quote 1
            • DustinB3403D
              DustinB3403 @Alex Sage
              last edited by

              @aaronstuder htop might not be installed on his system.

              I know it's not on me debian system.

              A 1 Reply Last reply Reply Quote 0
              • A
                Alex Sage @DustinB3403
                last edited by

                @DustinB3403

                apt-get -y install htop
                
                DustinB3403D 1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller
                  last edited by

                  What does SAR say happens just before the crash?

                  top with the M command does a great job of showing memory hogs.

                  1 Reply Last reply Reply Quote 1
                  • A
                    Alex Sage
                    last edited by Alex Sage

                    Is this is VPS?

                    1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @Alex Sage
                      last edited by

                      @aaronstuder said in Ubuntu 14.04 crashes due to using too much memory:

                      @IRJ Why are you not running Ubuntu 16.04? Also check sysstat.

                      He hasn't had all that much time to update.

                      1 Reply Last reply Reply Quote 0
                      • DustinB3403D
                        DustinB3403 @Alex Sage
                        last edited by

                        @aaronstuder Of course I know how to install it, I was just saying not everyone has it installed.

                        top 
                        

                        is the stock command included with every debian distro.

                        A 1 Reply Last reply Reply Quote 0
                        • A
                          Alex Sage @DustinB3403
                          last edited by

                          @DustinB3403 Does top have pretty colors and bar graphs? lol

                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @Alex Sage
                            last edited by

                            @aaronstuder said in Ubuntu 14.04 crashes due to using too much memory:

                            @DustinB3403 Does top have pretty colors and bar graphs? lol

                            Nope, just the info that we need 🙂

                            A 1 Reply Last reply Reply Quote 0
                            • A
                              Alex Sage @scottalanmiller
                              last edited by

                              @scottalanmiller I am a sucker for pretty things....

                              1 Reply Last reply Reply Quote 0
                              • A
                                Alex Sage @IRJ
                                last edited by Alex Sage

                                @IRJ said in Ubuntu 14.04 crashes due to using too much memory:

                                @DustinB3403 said in Ubuntu 14.04 crashes due to using too much memory:

                                top
                                

                                Should give you all the details you need live.

                                Right now it is using very little memory (2%) . I just rebooted so I will check when there is an issue again.

                                This is why you need sysstat, it has history.

                                1 Reply Last reply Reply Quote 0
                                • A
                                  Alex Sage
                                  last edited by

                                  @IRJ is this related to this?

                                  http://mangolassi.it/topic/7510/my-server-is-crashing-i-think-its-due-to-traffic-but-i-am-not-sure-how-to-tell

                                  IRJI 1 Reply Last reply Reply Quote 0
                                  • DustinB3403D
                                    DustinB3403
                                    last edited by

                                    As a learning experience

                                    VIRT is the "used amount" of memory and %MEM is obviously the "amount of total" memory.

                                    0_1462899749306_XenCenterMain_2016-05-10_13-01-51.png

                                    scottalanmillerS 1 Reply Last reply Reply Quote 1
                                    • DustinB3403D
                                      DustinB3403
                                      last edited by

                                      Here's an older site explaining the top command if you need further details.

                                      1 Reply Last reply Reply Quote 0
                                      • scottalanmillerS
                                        scottalanmiller @IRJ
                                        last edited by

                                        @IRJ said in Ubuntu 14.04 crashes due to using too much memory:

                                        Right now it is using very little memory (2%) . I just rebooted so I will check when there is an issue again.

                                        That's why I was asking for the sar output, it will show what was going on leading up to the crash.

                                        1 Reply Last reply Reply Quote 0
                                        • scottalanmillerS
                                          scottalanmiller @DustinB3403
                                          last edited by

                                          @DustinB3403 said in Ubuntu 14.04 crashes due to using too much memory:

                                          As a learning experience

                                          VIRT is the "used amount" of memory and %MEM is obviously the "amount of total" memory.

                                          But hit M to reorder the display by memory used, rather than by CPU used.

                                          1 Reply Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller
                                            last edited by

                                            Here is a top output after reordering....

                                            0_1462900220178_Screenshot from 2016-05-10 20:09:07.png

                                            1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post