I have a Mysql server on VM with
16 cores CPU
59 GB RAM
Ubuntu 13.10
Mysql version is 5.5.37
This is a Slave db for reporting purpose only.
Because original Mysql innodb_buffer_pool_size(49G) is so big that the server use SWAP. So I set the innodb_buffer_pool_size to 35G then restarting the server(10/12). However, the RAM usage gradually get high, almost 90% of physical RAM after two days. I think it is no reasonable since innodb_buffer_pool_size is 35G and other Mysql operation will not use so many RAM.
I am worried about db performance if the server having swap. But I do not know how to stop the Mysql ram usage. I can not see why it gradually use so many RAM.
The server start having swap after second reboot(11/28) serveral days later
Could somebody give me some hint for make sure mysql server not gradually having high RAM usage? Or is there something I need to consider. Is the ubuntu have some setting which will cause RAM consumption?
Many Thanks.
Mysql config:
https://gist.github.com/crokobit/7c329e48dc5ab234c0b1812248ff77cf