我们有一些 64 位 Linux 机器 (RHEL6) 在 Microsoft Windows 2012 Server (Hypervisor) 上运行,但存在同样的问题。这些 Linux 来宾服务器在 MS Windows Cloud (Hyper-V) 中运行,其中有 16 个主机服务器,每个服务器具有 256 GB 的 RAM。
它们从以下内存使用情况开始:
# free -m
total used free shared buffers cached
Mem: 48259 653 47606 0 19 106
-/+ buffers/cache: 527 47732
Swap: 13999 0 13999
# cat /proc/meminfo
MemTotal: 49418204 kB
MemFree: 48749868 kB
Buffers: 20080 kB
Cached: 108564 kB
SwapCached: 0 kB
Active: 149652 kB
Inactive: 98856 kB
Active(anon): 120124 kB
Inactive(anon): 1884 …Run Code Online (Sandbox Code Playgroud)