I need help with reading this output of free -m
. This server has a total of 32 GB of ram but it shows 9383
used and 290
free. The rest seems to be in the buff/cache
. I am running mysql on this server and we get high CPU usage from time to time intermittently. I was wondering if this had to do with all the memory being used up and it's swapping or possibly a MySQL configuration issue?
Does buff/cache mean the 22GB of RAM is free or used up? Only thing running on this server is MySQL and we do get tons of queries a day. Approximately 6 million queries per hour.
total used free shared buff/cache available
Mem: 31876 9383 290 216 22203 21840
Swap: 16383 1541 14842