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.
    • 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
                      • DustinB3403D
                        DustinB3403
                        last edited by

                        @scottalanmiller on my distro I have to use Shift+f to change the sort order.

                        What is the syntax your using from the command line?

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

                          Actually yeah no top and m doesn't sort for me, it just removes the usage at the top.

                          Using Top Shift+f and then select VIRT pressing "s" and then "q" sorts with the VIRT used highest to lowest.

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

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

                            @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

                            No different server, but similar problem.

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

                              @IRJ How much RAM is on the VPS?

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

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

                                @IRJ How much RAM is on the VPS?

                                2gb

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

                                  @IRJ Have you tried 4GB? Seems like your driving a lot of traffic - 2 might not cut it.

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

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

                                    @IRJ Have you tried 4GB? Seems like your driving a lot of traffic - 2 might not cut it.

                                    I haven't because it's double the price. I am looking at migrating all my hosting to A2. I am trying to keep web cost and social media costs under $50 a month.

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

                                      2GB can potentially handle a lot of traffic. Millions of hits a month, depending on the platform.

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

                                        @scottalanmiller Not will all the plugins he has.....

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

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

                                          @scottalanmiller Not will all the plugins he has.....

                                          I have about 26 plugins which I am told for a large wordpress site is common and perhaps on the low end.

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

                                            @IRJ that's about 21 too many.

                                            IRJI scottalanmillerS 2 Replies Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 3 / 3
                                            • First post
                                              Last post