Why does my Red Hat Enterprise Linux (RHEL) system swap despite of having free RAM?

Solution Unverified - Updated -

Issue

  • End user observes that despite of having free RAM and potentially free-able cache, some of the swap space of the system has been occupied.
  • The monitoring system is throwing alerts of swap being used even when there is plenty of RAM left to be touched. Shouldn't the system use free memory which is way faster than inherently slow swap space.

Environment

  • Red Hat Enterprise Linux (RHEL) all versions.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In