- 论坛徽章:
- 0
|
进程占用的物理内存大约20G(RES相加),cache和buffer占用的并不大,为什么会swap呢?
占用内存比较大的几个进程退出后,free的内存也没有增长。
top
Mem: 65909964k total, 56163356k used, 9746608k free, 5916k buffers
Swap: 68157432k total, 1462692k used, 66694740k free, 579860k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
28558 root 20 0 1841m 683m 72m S 4.2 1.1 0:22.14 serverudp
28568 root 20 0 1841m 683m 73m S 4.2 1.1 0:22.44 serverudp
28563 root 20 0 1841m 682m 73m S 4.2 1.1 0:22.70 serverudp
28595 root 20 0 1841m 681m 72m S 4.2 1.1 0:21.93 serverudp
28600 root 20 0 1841m 681m 72m S 2.1 1.1 0:22.44 serverudp
28580 root 20 0 1841m 680m 70m S 2.1 1.1 0:23.60 serverudp
28575 root 20 0 1841m 679m 70m S 4.2 1.1 0:21.96 serverudp
28609 root 20 0 1841m 678m 69m S 2.1 1.1 0:22.41 serverudp
26964 root 20 0 945m 612m 4552 S 0.0 1.0 16:46.35 serverudp
17045 cloud 20 0 8001m 594m 868 S 12.6 0.9 114:58.51 qlog
3853 root 20 0 1241m 278m 62m S 0.0 0.4 0:33.89 serverhttp
3857 root 20 0 1241m 274m 56m S 8.4 0.4 0:31.92 serverhttp
3859 root 20 0 1241m 270m 55m S 6.3 0.4 0:28.10 serverhttp
free -m:
total used free shared buffers cached
Mem: 65909964 56824524 9085440 0 2216 1761680
-/+ buffers/cache: 55060628 10849336
Swap: 68157432 1462444 66694988
/proc/meminfo :
MemTotal: 65909964 kB
MemFree: 2654996 kB
Buffers: 10988 kB
Cached: 8233256 kB
SwapCached: 1112820 kB
Active: 18563524 kB
Inactive: 7245648 kB
Active(anon): 16465464 kB
Inactive(anon): 1105940 kB
Active(file): 2098060 kB
Inactive(file): 6139708 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 68157432 kB
SwapFree: 66694972 kB
Dirty: 2304 kB
Writeback: 0 kB
AnonPages: 2541648 kB
Mapped: 176104 kB
Shmem: 6304 kB
Slab: 531000 kB
SReclaimable: 123940 kB
SUnreclaim: 407060 kB
KernelStack: 8280 kB
PageTables: 134856 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 101112412 kB
Committed_AS: 33570096 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 402884 kB
VmallocChunk: 34323857208 kB
HardwareCorrupted: 0 kB
AnonHugePages: 659456 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 6144 kB
DirectMap2M: 2082816 kB
DirectMap1G: 65011712 kB |
|