ps利用率一直高,不释放,麻烦大佬们看看

我这有个文件服务器,内存8G,ps是16G,现在内存占用率是98%

ps利用率是82%,其中的dsmc进程就达14G左右

但是也不怎么涨,一直就是82%左右

调过系统参数,重启dsmc进程,均无效,过几天就又上来了

现在没什么调优思路,麻烦大佬们看看




$ lsps -a

Page Space      Physical Volume   Volume Group    Size %Used Active  Auto  Type

hd6             hdisk1            rootvg       16384MB    82   yes   yes    l

$topas

Topas Monitor for host:    bocs-sd-nfs01        EVENTS/QUEUES    FILE/TTY

Thu Feb 25 14:08:12 2016   Interval:  2         Cswitch    1287  Readch    64378

                                                Syscall    6420  Writech    4268

CPU  User%  Kern%  Wait%  Idle%                 Reads        44  Rawin         0

ALL    6.4    5.4    0.5   87.7                 Writes      666  Ttyout      584

                                                Forks         0  Igets         0

Network  KBPS   I-Pack  O-Pack   KB-In  KB-Out  Execs         1  Namei      1967

en0      88.1    123.0   123.5    62.8    25.3  Runqueue    1.5  Dirblk        0

lo0       1.6      7.5     7.5     0.8     0.8  Waitqueue   0.0

en2       0.5      2.5     1.0     0.4     0.1

                                                PAGING           MEMORY

Disk    Busy%     KBPS     TPS KB-Read KB-Writ  Faults      223  Real,MB    7680

hdisk8   40.0   144.0     36.0  144.0     0.0   Steals       64  % Comp     96

hdisk1    1.0    78.0     19.0   78.0     0.0   PgspIn       16  % Noncomp   2

hdisk7    0.0    22.0      5.0    0.0    22.0   PgspOut      63  % Client    2

hdisk0    0.0     0.0      0.0    0.0     0.0   ClientV2       0   Press:

Topas Monitor for host:    bocs-sd-nfs01        EVENTS/QUEUES    FILE/TTY

Thu Feb 25 14:08:12 2016   Interval:  2         Cswitch    1425  Readch   101.7K

                                                Syscall    8195  Writech    3957

CPU  User%  Kern%  Wait%  Idle%                 Reads        69  Rawin         0

ALL    6.4    5.4    0.5   87.7                 Writes     1334  Ttyout      462

                                                Forks         0  Igets         0

Network  KBPS   I-Pack  O-Pack   KB-In  KB-Out  Execs         0  Namei      2458

en0      88.1    123.0   123.5    62.8    25.3  Runqueue    2.5  Dirblk        0

lo0       1.6      7.5     7.5     0.8     0.8  Waitqueue   0.0

en2       0.5      2.5     1.0     0.4     0.1

                                                PAGING           MEMORY

Disk    Busy%     KBPS     TPS KB-Read KB-Writ  Faults       26  Real,MB    7680

hdisk8   40.0   144.0     36.0  144.0     0.0   Steals        0  % Comp     96

hdisk1    1.0    78.0     19.0   78.0     0.0   PgspIn       19  % Noncomp   2

hdisk7    0.0    22.0      5.0    0.0    22.0   PgspOut       0  % Client    2

hdisk6    0.0     0.0      0.0    0.0     0.0   PageIn       19

hdisk3    0.0     0.0      0.0    0.0     0.0   PageOut       0  PAGING SPACE

dsmc         651266  11.3 15076.4 root

clinfo      1200346   0.1   3.3 root   

hats_rs2     581744   0.1   1.9 root   

topas        815348   0.1   2.0 nantian1

hats_nim     835782   0.0   2.1 root

kcawd        503920   0.0   4.1 root

xmgc          49176   0.0   0.4 root

snmpdv3n     299196   0.0   1.1 root   

sshd         942242   0.0   0.6 nantian1

rmcd         237746   0.0   1.6 root

ifstat       327934   0.0   1.2 root

dsmsta      1347704   0.0   9.8 root

sendmail     462860   0.0   1.0 root

topas_nm    1265788   0.0   2.7 root

netm          65568   0.0   0.4 root

syncd        106646   0.0   0.5 root

nfsd         901358   0.0   3.1 root

clstrmgr     319716   0.0  24.2 root

java         311456   0.0  23.4 root

$ ps -ef |grep  651266

    root  651266       1  35   Jan 26      - 4070:27 dsmc sch -servername=bocs-tsmsrv-dat

nantian1  733392 1241218   0 14:11:06  pts/2  0:00 grep 651266

$ ps -ef |grep dsm

    root  282720       1   0   Jan 26      -  0:06 dsmcad

    root  651266       1  61   Jan 26      - 4070:31 dsmc sch -servername=bocs-tsmsrv-dat

nantian1 1212630 1241218   0 14:11:20  pts/2  0:00 grep dsm

    root 1347704       1   0   Jan 26      -  3:02 dsmsta


系统参数如下:

lru_file_repage=0

maxclient%=90

maxperm%=90

minperm%=5

参与17

3同行回答

bcrs19880615bcrs19880615系统工程师华胜鸣天
下回问问题先把系统版本说了。svmon -G 看virtual跟size。如果virtual超了size,那要考虑leak或者内存不够。 上面说降低maxperm的是胡说八道。aix61以后大多数默认参数都不用调。最近看移动的分区降低maxclient跟maxperm的都看够了。 也不知道哪个不开眼的开始提这种建议...显示全部

下回问问题先把系统版本说了。svmon -G 看virtual跟size。如果virtual超了size,那要考虑leak或者内存不够。 上面说降低maxperm的是胡说八道。aix61以后大多数默认参数都不用调。最近看移动的分区降低maxclient跟maxperm的都看够了。 也不知道哪个不开眼的开始提这种建议。小发泄一下。 不学习就胡说是对技术的不尊重。

收起
互联网服务 · 2016-02-25
浏览2345
  • 我这系统是5.3,因为ps高,所以按照6.1的来调,有一个weblogic的机器按照这个参数调优,ps就下去了,但是这个nfs服务器却无效,
    2016-02-26
王凯王凯其它北京创至通达科技发展有限公司
maxperm和minperm设置的太多了。设置maxperm%=20,minperm%=10,你在观察就会发现换页空间就不会那么高了。显示全部

maxperm和minperm设置的太多了。设置maxperm%=20,minperm%=10,你在观察就会发现换页空间就不会那么高了。

收起
系统集成 · 2016-02-25
浏览2289
  • 默认aix6.1以后maxperm%=90,minperm%=5,这个是红皮书里有的,但是5.3默认是maxperm%=20,lru_file_repage=1,我这个系统是5.3,后来调优是按照6.1的来调的,所以这个参数肯定是没有问题的
    2016-02-26
sjhworksjhwork系统工程师招商银行
观察一下pgspin pgspout 的数值是否经常变化。lru_file_repage=0 意味非计算分页在maxperm和minperm之间时,AIX 始终选择非计算性的分页进行操作。所以占据ps的是应该是计算型内存,查一下是不是应用内存泄漏导致。...显示全部

观察一下pgspin pgspout 的数值是否经常变化。lru_file_repage=0 意味非计算分页在maxperm和minperm之间时,AIX 始终选择非计算性的分页进行操作。所以占据ps的是应该是计算型内存,查一下是不是应用内存泄漏导致。

收起
银行 · 2016-02-25
浏览2222

提问者

rongon2008
系统工程师CITIC
擅长领域: 存储虚拟化灾备

问题状态

  • 发布时间:2016-02-25
  • 关注会员:5 人
  • 问题浏览:4822
  • 最近回答:2016-02-25
  • X社区推广