Many of the prominent folks on Planet MySQL have encountered issues with mysql and linux going into swap (example 1,2,3). None of the easy solutions (sysctl -w swappiness=0, innodb_flush_method =O_DIRECT) have solved this problem for our configuration and I just deal by using a smaller innodb buffer pool than I’d like, and then occasionally using swapoff/swapon to temporarily bring things back to balance.
I did make one observation though, which may be a red herring but still interesting to me. In one particular case I am using nested replication in …
[Read more]