-2

I'm having some issues with my VPS Ve, right now I have two sites running with PHP (one of them with Wordpress), a few days ago the RAM usage rose above 100%, strange thing is I made no changes.

RAM memory is increasing progressively in the MediaTemple statics panel, what I don't understand is why do I have so much difference between the data I get from the console.

My Setup:

  • nginx
  • php-fpm
  • apc
  • mysql
  • Ubuntu 10.04
  • 4GB RAM (VPS)

htop:

http://i.stack.imgur.com/ENlUA.png

Free -m:

total      used    free  shared buffers  cached
Mem:       6348    2854    3494    0       0       2403
-/+ buffers/cache:   450       5897
Swap:    0     0       0

Could you guide me so I may know what is it that is using up memory?

Thanks!

Nathan C
  • 14,901
  • 4
  • 42
  • 62
Pablo
  • 19
  • 4
  • Is something actually wrong or is this just curiosity. – David Schwartz Aug 17 '13 at 04:47
  • Thanks for answering. My only problem is that MT statics are showing that I'm consuming more than 110% of memory. And I'm worried that it might be something I could be penalized for. – Pablo Aug 17 '13 at 07:19

1 Answers1

4

It's cache, don't worry, it's normal and it's good:

http://www.linuxatemyram.com/

Your system is "using" 450 MB of RAM :) Cache will be flushed and applications will be able to use freed memory when needed. Why to waste memory? Let's use it for cache.

Here's good script for you

GioMac
  • 4,444
  • 3
  • 24
  • 41
  • I installed the script that you gave me, thanks, result threw 501.5MB which is a lot lower than the 4GB that what my hosting provider is showing. I don't get why RAM memory statistics on the server keep rising progressively until they're over 110%. Thanks!! :D – Pablo Aug 17 '13 at 07:23