免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 8911 | 回复: 9
打印 上一主题 下一主题

[故障求助] 我的aix,为什么swap使用率这么高 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-10-28 11:04 |只看该作者 |倒序浏览
ibm的P650
12G mem  swap 8G
aix 5.1
上面有两个oracle的instance.
我观察系统还算空闲,但是为什么swap使用率这么高啊?
一下是topas的信息:
[code]
Topas Monitor for host:    KYERPDB               
Thu Oct 28 10:23:09 2004   Interval:  2         
                                                
Kernel   13.4   |####                        |  
User     25.4   |#######                     |  
Wait      5.7   |##                          |  
Idle     55.4   |################        |                                                  
                                                
EVENTS/QUEUES   
Cswitch    6863
Syscall   18355
Reads      3388
Writes     1805
Forks         0
Execs         0
Runqueue    4.0
Waitqueue   1.0

FILE/TTY         
Readch    30.9M   
Writech 1931.4K   
Rawin         0   
Ttyout        0   
Igets         0   
Namei         1   
Dirblk        0   

PAGING         
Faults       36
Steals        0
PgspIn       10
PgspOut       0
PageIn       17
PageOut     263
Sios         41

MEMORY         
Real,MB   12287
% Comp     40.6
% Noncomp  60.2
% Client    0.6

PAGING SPACE   
Size,MB    8192
% Used     64.0
% Free     35.9

NFS (calls/sec)  
ServerV2       0
ClientV2       0
ServerV3       0
ClientV3       0


Network  KBPS   I-Pack  O-Pack   KB-In  KB-Out  
en1    1379.9     3538    3616   681.0  2078.9
en2       0.5        5       2     1.0     0.0   
lo0       0.5       10      10     1.0     0.0   
                                                
Disk    Busy%     KBPS     TPS KB-Read KB-Writ   
hdisk0    6.9     44.0      10    88.0     0.0K  
skpower1  2.4   1011.9       7    32.0  1991.9  
hdisk18   1.9    508.0       7    20.0   995.9                  
hdisk8    0.9    504.0       7    12.0   995.9                  
hdisk1    0.0      0.0       0     0.0     0.0                  
skpower0  0.0      0.0       0     0.0     0.0  
hdisk11   0.0      0.0       0     0.0     0.0  
hdisk12   0.0      0.0       0     0.0     0.0   
hdisk2    0.0      0.0       0     0.0     0.0   
hdisk7    0.0      0.0       0     0.0     0.0   
hdisk16   0.0     36.0       7     8.0    64.0
hdisk6    0.0     36.0       7    16.0    56.0
skpower4  0.0     72.0      14    24.0   120.0
hdisk13   0.0      0.0       0     0.0     0.0
hdisk17   0.0      0.0       0     0.0     0.0
hdisk4    0.0      0.0       0     0.0     0.0

Name            PID CPU% PgSp Owner
oracle      2736352 16.8  7.5 oraerp
oracle      2924598  6.2  6.9 oraerp
oracle      2089092  4.9  6.8 oraerp
oracle      2760770  4.9  8.2 oraerp
oracle      1916966  4.9  6.6 oraerp
oracle      2105370  4.7  6.7 oraerp
oracle      3219656  4.7  8.1 oraerp
oracle      1368106  4.2  8.0 oraerp
oracle      2752734  3.3  7.0 oraerp
oracle      1908848  2.8  6.9 oraerp
oracle      2113558  2.7  7.0 oraerp
oracle      1982540  2.1  6.9 oraerp
oracle      3260522  1.8  8.1 oraerp
oracle      2662414  1.3  6.9 oraerp
oracle      1523918  0.9  8.1 oraerp
oracle      3121348  0.8  8.0 oraerp
oracle      2670720  0.5  6.9 oraerp
Exiting
[/code][/code]

论坛徽章:
0
2 [报告]
发表于 2004-10-28 13:57 |只看该作者

我的aix,为什么swap使用率这么高

PAGING SPACE
Size,MB 8192
% Used 64.0   /*太高了*/
% Free 35.9



use
#ulimit -a   get the result
看看内核限制,再看下二个例程的SGA之和是多大

论坛徽章:
0
3 [报告]
发表于 2004-10-28 13:59 |只看该作者

我的aix,为什么swap使用率这么高

lsps -a
看看交换空间多大,是否合适

论坛徽章:
0
4 [报告]
发表于 2004-10-28 14:40 |只看该作者

我的aix,为什么swap使用率这么高

KYERPDB:/etc>;ulimit -a
time(seconds)        unlimited
file(blocks)         unlimited
data(kbytes)         131072
stack(kbytes)        32768
memory(kbytes)       32768
coredump(blocks)     2097151
nofiles(descriptors) 2000

KYERPDB:/etc>;lsps -a
Page Space  Physical Volume   Volume Group    Size   %Used  Active  Auto  Type
hd6         hdisk0            rootvg        8192MB      65     yes   yes    lv

两个oracle加起来不会超过5G内存的.

论坛徽章:
0
5 [报告]
发表于 2004-10-28 14:55 |只看该作者

我的aix,为什么swap使用率这么高

PAGE SPACE较高,但不是你看的时候发生的。可以用vmstat,svmon定时跟踪一下,看看到底什么原因用掉内存。

论坛徽章:
0
6 [报告]
发表于 2004-10-28 14:58 |只看该作者

我的aix,为什么swap使用率这么高

refer:

http://publib.boulder.ibm.com/doc_link/en_US/a_doc_lib/aixbman/prftungd/2365c71.htm

论坛徽章:
0
7 [报告]
发表于 2004-10-29 10:35 |只看该作者

我的aix,为什么swap使用率这么高

个人感觉是ps太大了

论坛徽章:
0
8 [报告]
发表于 2004-10-29 20:35 |只看该作者

我的aix,为什么swap使用率这么高

不用的进程kill !!!

论坛徽章:
0
9 [报告]
发表于 2004-10-29 22:28 |只看该作者

我的aix,为什么swap使用率这么高

可以调整
或者有的进程没有释放资源

论坛徽章:
0
10 [报告]
发表于 2004-10-31 23:12 |只看该作者

我的aix,为什么swap使用率这么高

个人感觉8G的设置足够了。没必要加了!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP