How to pull the swapped pages back into physical memory?

Solution Verified - Updated -

Issue

  • After the server suffered from memory pressure, it may swap out some memory pages to the swap partition. But after the memory pressure is gone, the swapped-out pages would not come back to physical memory immediately. Why?

  • And how can we pull them back into physical memory?

Environment

  • Red Hat Enterprise Linux and all other Linux kernel based products

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content