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

When I do "top", I only see that mysqld is using 70% of Memory. Nothing else.

Why is it being used up?

share|improve this question
need more info here chief, maybe some details on whats running or mysql config? – Jakub Dec 16 '09 at 21:58

Linux takes advantage of all the memory available to it.

If there is memory that is not being specifically used by applications, the OS will use it for cacheing to speed up other processes.

No use letting useful resources sit there unused :)

share|improve this answer
+1 - RAM that is un-utilised (esp. in a server) is going to waste – Mark Henderson Dec 16 '09 at 20:54
Funny how everybody is complaining about Windows doing the same. – grawity Dec 17 '09 at 15:56

Mysql (and any other SGBD) are trying to load the most data possible in memory because it is some much quicker to get data from RAM than an hard drive.

This is a normal behavior on Linux (probably most unix, and maybe windows ?) systems behave like this. The more you have in memory, quicker the software runs.

share|improve this answer
SGBD == DBMS, just in case anyone (like me) was wondering - save you googling it :) – Mark Henderson Dec 17 '09 at 1:29
Yes, sorry.. SGBD is, at least, the french one.. My bad.. – Vincent Demeester Dec 17 '09 at 7:32

Use "free -m" to get a clearer picture of what your memory is being used for.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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