RHEL 7.4, heavy workload(s) and SWAP usage

by zstokes   Last Updated January 12, 2018 22:06 PM

This might not be the correct board for this, but since I'm a DBA and I'll ask here.

I have several RHEL 7.4 servers, running a mix of MariaDB (10.1, 10.2) and MongoDB (3.4). The problem was happening with RHEL 7.3 as well.

All of these servers have 256Gb of memory with local SSD array storage, and even given heavy workloads the highest active memory-in-use footprint is less than 100Gb at any one time. I've been profiling this for quite some time:

On each of these servers, even though there is always plenty of free memory available, the systems are incrementally going into swap. I've tried setting the vm.swappiness value to 1, but incremental jumps of swap are still happening.

Is this happening to anyone else? Does anyone know, with a large amount of memory available, if setting swappiness to 0 has ill effects?


Related Questions

MySQL - prevent OS cache for query

Updated May 20, 2015 20:02 PM

Unable to install Mariadb on Fedora 27

Updated January 25, 2018 16:06 PM

MariaDB Remove the limit of 1 GB per database

Updated May 10, 2018 17:06 PM

How do I get mysql to start for the first time?

Updated June 18, 2016 08:02 AM