[libvirt-users] /proc/meminfo

Peter Steele pwsteele at gmail.com
Wed Mar 23 16:10:18 UTC 2016


Has anyone seen this issue? We're running containers under CentOS 7.2 
and some of these containers are reporting incorrect memory allocation 
in /proc/meminfo. The output below comes from a system with 32G of 
memory and 84GB of swap. The values reported are completely wrong.

# cat /proc/meminfo
MemTotal:       9007199254740991 kB
MemFree:        9007199224543267 kB
MemAvailable:   12985680 kB
Buffers:               0 kB
Cached:           119744 kB
SwapCached:        10804 kB
Active:           110228 kB
Inactive:         111716 kB
Active(anon):      53840 kB
Inactive(anon):    57568 kB
Active(file):      56388 kB
Inactive(file):    54148 kB
Unevictable:           0 kB
Mlocked:        15347728 kB
SwapTotal:             0 kB
SwapFree:       18446744073709524600 kB
Dirty:             20304 kB
Writeback:         99596 kB
AnonPages:      18963368 kB
Mapped:           231472 kB
Shmem:             51852 kB
Slab:            1891324 kB
SReclaimable:    1805244 kB
SUnreclaim:        86080 kB
KernelStack:       60656 kB
PageTables:        81948 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    104487760 kB
Committed_AS:   31507444 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      354796 kB
VmallocChunk:   34359380456 kAnonHugePages:  15630336 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:       81684 kB
DirectMap2M:     3031040 kB
DirectMap1G:    32505856 kB




More information about the libvirt-users mailing list