Ubuntu 14.04 crashes due to using too much 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.
-
2GB can potentially handle a lot of traffic. Millions of hits a month, depending on the platform.
-
@scottalanmiller Not will all the plugins he has.....
-
@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.
-
@IRJ that's about 21 too many.
-
@IRJ said in Ubuntu 14.04 crashes due to using too much memory:
@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.
That's a lot more than I normally see, but I'm not authority here. But I do know that the plugins themselves and not the number of them would be a bigger factor. One bad one is worse than thirty good ones.
-
@aaronstuder said in Ubuntu 14.04 crashes due to using too much memory:
@IRJ that's about 21 too many.
Here is an article you should read....
-
@aaronstuder said in Ubuntu 14.04 crashes due to using too much memory:
@IRJ that's about 21 too many.
Definitely about 21 more than I'm used to.
-
@IRJ said in Ubuntu 14.04 crashes due to using too much memory:
@aaronstuder said in Ubuntu 14.04 crashes due to using too much memory:
@IRJ that's about 21 too many.
Here is an article you should read....
Which is basically what I just said before that
-
Our site loads pretty fast.