Nils
Nils

Reputation: 1996

Debian - All processes have low memory usage yet no more free RAM

According to free my RAM is completely full:

:~# free -m
         total       used       free     shared    buffers     cached
Mem:          2048       2048          0          0          0       1957
-/+ buffers/cache:         90       1957
Swap:         2048          0       2048

But ps aux only shows around 20 processes with at most 1% memory usage. What's going on here? How can I find the culprit?

Upvotes: 1

Views: 3711

Answers (1)

cha0site
cha0site

Reputation: 10737

You're reading it wrong. You are actually only using 90MB of RAM, and Linux is using the rest for caches and buffers and such, that will be immediately freed once an application needs them.

Unused RAM is wasted RAM - so Linux uses it to speed up file accesses. This is a Good Thing (TM).

Upvotes: 4

Related Questions