SwapFree is greater than SwapTotal in /proc/meminfo

Solution Verified - Updated -

Issue

  • SwapFree is greater than SwapTotal in /proc/meminfo
# grep -i swap /proc/meminfo 
SwapCached:       113464 kB
SwapTotal:       2097148 kB
SwapFree:        2295256 kB
  • free command output reporting incorrect swap usage.
# free -m 
             total       used       free     shared    buffers     cached
Mem:          7872       4942       2929          0         10        324
-/+ buffers/cache:       4607       3264
Swap:         2047 17592186044222   2241

Environment

  • Red Hat Enterprise Linux Server 6.7
  • kernel-2.6.32-573.1.1.el6.x86_64
  • /proc/meminfo
  • free

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