Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Can anyone recommend any good articles on explaining how Linux memory works?
Specifically: The amount of memory reported to be in use keeps growing. I know that Linux keeps stuff in the memory (buffers & cache) but as I currently understand it, the -/+ buffers/cache: line in the output of free should account for that and the reported usage in this line should remain constant. Instead, it keeps going up - It starts as low as ~20MB, but leave it overnight and come back, and it's up to ~180, even though I'm not running anything different.
So I don't know what it's doing, and it's getting on my nerves. Apart from anything else, it makes it impossible to work out how much memory is really in use.
It's an interesting thread... but it only explains memory usage being increased by the caching and buffering. It's the increasing memory usage AFTER caching and buffering is accounted for that I don't understand.
I already know the answer to that one - Yes, it will.
I was under the impression that things that were being kept in the memory like that were covered by the caching & buffering figures. And therefore shouldn't affect the memory reading in the -/+ buffers/cache: line in free's output?