交换使用率很低,操作系统有时耗尽内存并开始划分流程
swapon -s
Filename Type Size Used Priority
/dev/vda1 partition 2047992 75030 1
内存使用率约为97%.知道什么是错的吗?我尝试关闭/打开交换,这没有帮助.v
Centos 6.5 /内核2.6.32
cat /proc/meminfo
MemTotal: 15000800 kB
MemFree: 300532 kB
Buffers: 11364 kB
Cached: 211224 kB
SwapCached: 0 kB
Active: 12613992 kB
Inactive: 1854012 kB
Active(anon): 12555272 kB
Inactive(anon): 1690320 kB
Active(file): 58720 kB
Inactive(file): 163692 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 2047992 kB
SwapFree: 2047992 kB
Dirty: 68 kB
Writeback: 0 kB
AnonPages: 14245460 kB
Mapped: 19440 kB
Shmem: 176 kB
Slab: 76136 kB
SReclaimable: 48572 kB
SUnreclaim: 27564 kB
KernelStack: 2400 kB
PageTables: 35352 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 9548392 kB
Committed_AS: 7996680 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 40680 kB
VmallocChunk: 34359684884 kB
HardwareCorrupted: 0 kB
AnonHugePages: 9834496 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 9204 kB
DirectMap2M: 15417344 kB
swappiness看起来不错
cat /proc/sys/vm/swappiness
60