[lxc-users] negative memory usage?
Tomasz Chmielewski
mangoo at wpkg.org
Thu Jul 2 15:08:54 UTC 2015
I'm seeing this on F20 privileged container upgraded to F21. How come
"free" reports negative memory usage?
The host has 8 GB RAM.
[root at f21 ~]# free
total used free shared buff/cache
available
Mem: 8176120 -128224 8148216 1132 156128
8148216
Swap: 8386556 0 8386556
[root at f21 ~]# free -m
total used free shared buff/cache
available
Mem: 7984 18014398509481858 7957 1
153 7957
Swap: 8189 0 8189
[root at f21 ~]# cat /proc/meminfo
MemTotal: 8176120 kB
MemFree: 8148348 kB
MemAvailable: 8148348 kB
Buffers: 0 kB
Cached: 8180 kB
SwapCached: 0 kB
Active: 1396684 kB
Inactive: 1129624 kB
Active(anon): 82980 kB
Inactive(anon): 996 kB
Active(file): 1313704 kB
Inactive(file): 1128628 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 8386556 kB
SwapFree: 8386556 kB
Dirty: 980 kB
Writeback: 0 kB
AnonPages: 82520 kB
Mapped: 69668 kB
Shmem: 1132 kB
Slab: 155164 kB
SReclaimable: 124692 kB
SUnreclaim: 30472 kB
KernelStack: 3440 kB
PageTables: 6416 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 12474616 kB
Committed_AS: 217232 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 157000 kB
VmallocChunk: 34359538464 kB
HardwareCorrupted: 0 kB
AnonHugePages: 4096 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 65524 kB
DirectMap2M: 8323072 kB
--
Tomasz Chmielewski
http://wpkg.org
More information about the lxc-users
mailing list