[libvirt-users] /proc/meminfo

Cole Robinson crobinso at redhat.com
Wed Mar 23 16:19:09 UTC 2016


On 03/23/2016 12:10 PM, Peter Steele wrote:
> 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.
> 

There was a meminfo bug here:

https://bugzilla.redhat.com/show_bug.cgi?id=1300781

The initial report is fixed in git, however the reporter also mentioned the
issue you are seeing. I suspect something is going wacky with the memory
values we are getting from host cgroups after some period of time. If you can
reproduce with Fedora (or RHEL) try filing a bug there

- Cole

> # 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
> 
> _______________________________________________
> libvirt-users mailing list
> libvirt-users at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-users




More information about the libvirt-users mailing list