Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
free memory in Linux

I'm trying to determine if my server needs more memory.

free -m
             total       used       free     shared    buffers     cached
Mem:          7993       7719        274          0        372       5866
-/+ buffers/cache:       1480       6513
Swap:        11617          0      11616

The cached is high and free is low (the server handles a lot of requests). Is this indicative that the server could benefit from additional memory since all free memory is being used as cache?

share|improve this question

marked as duplicate by Antoine Benkemoun, Zoredache, Wesley, MDMarra, voretaq7 Nov 21 '11 at 14:49

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 3 down vote accepted

No, that's what Linux does: it takes up the bulk of free RAM and uses it as cache. If processes require more memory, cache will be released for those processes.

The relevant line is the "-/+ buffers/cache" one, which indicates that you have 6.5 essentially free. Also of note, you're not using any swap, so you've haven't hit a high memory usage situation.

share|improve this answer

This article gives a lot of useful information how to interpret free output.

share|improve this answer
This was a really good article btw – rizen Aug 24 '11 at 16:09

Not the answer you're looking for? Browse other questions tagged or ask your own question.