11

I don't understand why my htop meter is full already. I'm not even running some task. Here's the screenshot of my htop:

enter image description here

The green meter shows used memory, the blue meter shows buffers, the yellow meter shows cache. it seems that the cache have used up all my memory here. Or am I just confused? Because the numeric number shows 48/494MB.

So what is happening here? Should I increase the memory of my server?

I'm going to run nginx, php and wordpress. is this server enough to handle this setup?

2 Answers 2

21

Since you weren't using your memory for anything better, its being put to use as disk cache. If you start services, they will just take memory from the cache. This is a good thing, not a sign that anything is wrong. See linuxatemyram

1
  • shouldn't htop be taking the buffers/cache memory reading instead? Total memory with disk cache is not useful.
    – d hee
    Commented Jul 5, 2017 at 1:53
1

48MB is used memory so you have plenty left.

Blue and yellow portions are buffers and caches. They can be considered free memory when need arises.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .