LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 569|回复: 0

[请教]内存问题,free很多,cached很小

[复制链接]
发表于 2008-12-10 11:53:29 | 显示全部楼层 |阅读模式
按照以往经验,linux开机后,用free看内存情况,free的应该很少。而大部分的内存都用来做cache了。

但是今天发现一台比较奇怪的,free很多,cached很少。
目前编译性能很差,不知道是否与其相关。

大家有遇到类似情况么?如何解决的呢?
谢谢。

HW:dell op745(cpu inter e2140)
OS:rhel4.4


  1. [root@xxx~]#  free
  2.              total       used       free     shared    buffers     cached
  3. Mem:       2064828     335288    1729540          0      26900     177460
  4. -/+ buffers/cache:     130928    1933900
  5. Swap:      2040244          0    2040244
  6. [root@xxx~]# vmstat 1 10
  7. procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
  8. r  b   swpd   free   buff  cache   si   so    bi    bo   in    cs us sy id wa
  9. 0  0      0 1729388  26900 177460    0    0   143    20  633   231  2  1 96  1
  10. 0  0      0 1729252  26908 177452    0    0     0   216 1424   882  1  2 97  0
  11. 0  0      0 1729172  26908 177452    0    0     0     0 1019   368  1  0 99  0
  12. 0  0      0 1729212  26916 177444    0    0     0   180 1072   320  2  5 94  0
  13. 0  0      0 1729212  26916 177444    0    0     0     0 1015   233  0  0 99  0
  14. 1  0      0 1728812  26916 177444    0    0     0     0 1606  1054  2  6 93  0
  15. 0  0      0 1729092  26916 177444    0    0     0   172 1054  1408  6 22 72  0
  16. 0  0      0 1729156  26916 177444    0    0     0     0 1035   281  0  0 99  0
  17. 0  0      0 1728892  26924 177436    0    0     0   212 1023   235  0  0 99  0
  18. 0  0      0 1728892  26924 177436    0    0     0     0 1033   288  1  0 100  0[root@xxx~]#
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表