Ubuntu 14.04 crashes due to using too much memory
-
Is this is VPS?
-
@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.
-
@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.
-
@DustinB3403 Does top have pretty colors and bar graphs? lol
-
@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
-
@scottalanmiller I am a sucker for pretty things....
-
@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.
-
-
As a learning experience
VIRT is the "used amount" of memory and %MEM is obviously the "amount of total" memory.
-
Here's an older site explaining the top command if you need further details.
-
@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.
-
@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.
-
Here is a top output after reordering....
-
@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?
-
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.
-
@aaronstuder said in Ubuntu 14.04 crashes due to using too much memory:
@IRJ is this related to this?
No different server, but similar problem.
-
@IRJ How much RAM is on the VPS?
-
@aaronstuder said in Ubuntu 14.04 crashes due to using too much memory:
@IRJ How much RAM is on the VPS?
2gb
-
@IRJ Have you tried 4GB? Seems like your driving a lot of traffic - 2 might not cut it.
-
@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.