请教分析 物理内存使用率超高,虚拟内存正常

请教一下,HACMP的备机,之前系统是5300-03,现在升级到5300-05现在问题是物理内存使用率很高,虚拟内存使用正常,HA进程启着,无其它应用# oslevel -r5300-05# svmon                 size      ...显示全部
请教一下,HACMP的备机,之前系统是5300-03,现在升级到5300-05
现在问题是物理内存使用率很高,虚拟内存使用正常,HA进程启着,无其它应用

无标题.jpg


# oslevel -r
5300-05
# svmon  
               size      inuse       free        pin    virtual
memory      1003520     996447       7073     150990     214511
pg space    2097152       1209

               work       pers       clnt
pin          150716          0        274
in use       214509          0     781938

PageSize   PoolSize      inuse       pgsp        pin    virtual
s   4 KB          -     960431       1209     128334     178495
m  64 KB          -       2251          0       1416       2251
# vmstat 1 4

System configuration: lcpu=4 mem=3920MB

kthr    memory              page              faults        cpu   
----- ----------- ------------------------ ------------ -----------
r  b   avm   fre  re  pi  po  fr   sr  cy  in   sy  cs us sy id wa
0  1 214524  7060   0   0   0   0    0   0 151  247 183  0  1 97  1
0  0 214523  7061   0   0   0   0    0   0   9  757 110  0  0 99  0
0  0 214523  7061   0   0   0   0    0   0  12   90 125  0  0 99  1
0  0 214523  7061   0   0   0   0    0   0  11   72 116  0  0 99  0

# lsps -a
Page Space      Physical Volume   Volume Group    Size %Used Active  Auto  Type
paging00        hdisk2            rootvg        7808MB     1   yes   yes    lv
hd6             hdisk0            rootvg         384MB     1   yes   yes    lv

# svmon -Ug -t 3|grep -p User
===============================================================================
User                                 Inuse      Pin     Pgsp  Virtual
root                                 87401    17343        0    48329

===============================================================================
User                                 Inuse      Pin     Pgsp  Virtual
daemon                               20184     9688        0    20153

===============================================================================
User                                 Inuse      Pin     Pgsp  Virtual
bin                                      0        0        0        0

# svmon -Ug -t 3|grep -p User
===============================================================================
User                                 Inuse      Pin     Pgsp  Virtual
root                                 87398    17343        0    48326

===============================================================================
User                                 Inuse      Pin     Pgsp  Virtual
daemon                               20181     9688        0    20150

===============================================================================
User                                 Inuse      Pin     Pgsp  Virtual
bin                                      0        0        0        0


# errpt
# svmon -Pu -t 10|grep -p Pid|grep '^.*[0-9]'
     Pid Command          Inuse      Pin     Pgsp  Virtual 64-bit Mthrd  16MB
  200956 cron             33249     9685        0    19535      N     N     N
     Pid Command          Inuse      Pin     Pgsp  Virtual 64-bit Mthrd  16MB
  676018 hagsd            27248     9714        0    20755      N     N     N
     Pid Command          Inuse      Pin     Pgsp  Virtual 64-bit Mthrd  16MB
  458850 clstrmgr         24264     9685        0    19939      N     N     N
     Pid Command          Inuse      Pin     Pgsp  Virtual 64-bit Mthrd  16MB
  290960 dsmc             24194     9687        0    19781      N     Y     N
     Pid Command          Inuse      Pin     Pgsp  Virtual 64-bit Mthrd  16MB
  569384 hatsd            22220    11936        0    21552      N     Y     N
     Pid Command          Inuse      Pin     Pgsp  Virtual 64-bit Mthrd  16MB
  430202 harmad           21845     9685        0    21757      N     N     N
     Pid Command          Inuse      Pin     Pgsp  Virtual 64-bit Mthrd  16MB
  233632 syslogd          21663     9685        0    19532      N     N     N
     Pid Command          Inuse      Pin     Pgsp  Virtual 64-bit Mthrd  16MB
  303258 xmwlm            21321     9685        0    21147      N     N     N
     Pid Command          Inuse      Pin     Pgsp  Virtual 64-bit Mthrd  16MB
  282772 clcomd           20966     9695        0    19780      N     Y     N
     Pid Command          Inuse      Pin     Pgsp  Virtual 64-bit Mthrd  16MB
  151630 X                20950     9692        0    20138      N     N     N收起
参与14

查看其它 12 个回答fringker的回答

fringkerfringker专业技术支持人员wxt
你这情况很正常,要知道UNIX操作系统诞生的时候硬件技术还不过关,所以无论硬盘还是内存这些存储空间都是很贵的,所以UNIX的代码编写的很是短小精悍,优化的非常好。为了追求速度,UNIX的原则就是有多少内存就使用多少内存,不让其有一点浪费,所以内存使用率高是正常的,判断是不是不正常主要要看页面空间的使用率是否持续增长,页面交换是否频繁。
轨道交通 · 2011-08-16
浏览1198

回答者

fringker
专业技术支持人员wxt

fringker 最近回答过的问题

回答状态

  • 发布时间:2011-08-16
  • 关注会员:1 人
  • 回答浏览:1198
  • X社区推广