- 论坛徽章:
- 0
|
我公司的服务器是4G的内存,最近发现web页面访问很慢,经查看,内存已经满了,占用了swap空间,swap是6G的,大家帮我分析一下,这样的内存使用状况用不用加内存
top - 17:20:45 up 3 days, 7:00, 1 user, load average: 1.86, 2.16, 2.28
Tasks: 388 total, 6 running, 382 sleeping, 0 stopped, 0 zombie
Cpu(s): 26.4%us, 9.9%sy, 0.0%ni, 61.4%id, 0.1%wa, 0.1%hi, 2.2%si, 0.0%st
Mem: 4037460k total, 3712024k used, 325436k free, 62688k buffers
Swap: 6094840k total, 213232k used, 5881608k free, 412732k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
20540 root 18 0 790m 23m 13m S 3.0 0.6 0:00.09 php |
|