我这有个文件服务器,内存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
下回问问题先把系统版本说了。svmon -G 看virtual跟size。如果virtual超了size,那要考虑leak或者内存不够。 上面说降低maxperm的是胡说八道。aix61以后大多数默认参数都不用调。最近看移动的分区降低maxclient跟maxperm的都看够了。 也不知道哪个不开眼的开始提这种建议。小发泄一下。 不学习就胡说是对技术的不尊重。
maxperm和minperm设置的太多了。设置maxperm%=20,minperm%=10,你在观察就会发现换页空间就不会那么高了。
收起