免费注册 查看新帖 |

Chinaunix

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

请教,oracle进程pmon占用大量CPU [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-09-19 11:27 |只看该作者 |倒序浏览
操作系统:SCO UNIXWARE  
ORACLE:8.1.7.0.0

发现oracle进程pmon占用大量CPU,不知道什么原因?现场情况如下:

1.用sar命令统计系统资源:
UnixWare cupposp-b 5 7.1.3 i386    09/19/06

11:15:22    %usr   %sys   %wio  %idle  %intr
11:15:23      25     75      0      0      0
11:15:24      30     70      0      0      0
11:15:25      30     70      0      0      0
11:15:26      40     60      0      0      0
11:15:27      27     73      0      0      0
11:15:28      35     65      0      0      0
11:15:29      28     72      0      0      0
11:15:30      26     74      0      0      0
11:15:31      31     69      0      0      0
11:15:32      30     70      0      0      0
Average       30     70      0      0      0


2.用ps按进程统计
PID     TTY     TIME       SIZE(MB) RSS(MB) %CPU   %MEM   USER  COMMAND
=============================================CPU===STAT==========================================
23848    -      00:18:56   103.61   103.61  99.91  0.16    oracle      ora_pmon_posp
8171     -      00:00:01   8.67     8.67    0.01   0.01    oracle      svrmgrl
7827     -      00:00:01   1.15     1.15    0.01   0.00    root        in.telnetd
985      -      00:00:12   1.63     1.63    0.00   0.00    root        /usr/sbin/syslogd
976      -      00:00:04   1.07     1.07    0.00   0.00    root        /usr/sbin/in.routed
939      -      00:06:13   0.75     0.75    0.00   0.00    root        /usr/sbin/dlpid
924      -      00:00:00   0.61     0.61    0.00   0.00    root        /usr/lib/mousemgr
894      -      00:00:03   1.82     1.82    0.00   0.00    root        /etc/ifor_sld
893      -      00:00:00   1.67     1.67    0.00   0.00    root        /etc/sco_cpd
892      -      00:00:07   3.08     3.08    0.00   0.00    root        /etc/ifor_pmd
=================================================================================================

3.用truss命令跟踪 ora_pmon_posp进程
14408:   sigaction(SIGWAITING, 0x08044888, 0x00000000)   = 0
14408:   prepblock(0xBFBA4800, 0xBFBA4800, 3)      = 0
14408:       Received signal #32, SIGWAITING [caught]
14408:   block(0x00000000)          Err#91 ERESTART
14408:   cancelblock()              = 0
14408:   setcontext(0x080444A4)
14408:   cancelblock()              = 0
14408:   setcontext(0xBFAD1CC4)
14408:   setcontext(0xBFB9F90C)
14408:   _lwp_kill(1, SIGWAITING)         = 0
14408:   sigprocmask(SIG_SETMASK, 0xBFB9FBA4, 0x00000000) = 0
14408:       Received signal #32, SIGWAITING [caught]
14408:         siginfo: SIGWAITING pid=14408 uid=102
14408:   sigprocmask(SIG_SETMASK, 0xBFB9FBA4, 0x00000000) = 0
14408:   sigaction(SIGWAITING, 0x0804444C, 0x00000000)   = 0
14408:   sigprocmask(SIG_SETMASK, 0xBFB9F8B0, 0x00000000) = 0
14408:   setcontext(0x080444D0)
14408:   sigaction(SIGWAITING, 0x08044888, 0x00000000)   = 0
14408:   prepblock(0xBFBA4800, 0xBFBA4800, 3)      = 0
14408:       Received signal #32, SIGWAITING [caught]
14408:   block(0x00000000)          Err#91 ERESTART
14408:   cancelblock()              = 0
14408:   setcontext(0x080444A4)
14408:   cancelblock()              = 0
14408:   setcontext(0xBFAD1CC4)
14408:   setcontext(0xBFB9F90C)
14408:   _lwp_kill(1, SIGWAITING)         = 0
14408:   sigprocmask(SIG_SETMASK, 0xBFB9FBA4, 0x00000000) = 0
14408:       Received signal #32, SIGWAITING [caught]
14408:         siginfo: SIGWAITING pid=14408 uid=102
14408:   sigprocmask(SIG_SETMASK, 0xBFB9FBA4, 0x00000000) = 0
14408:   sigaction(SIGWAITING, 0x0804444C, 0x00000000)   = 0
14408:   sigprocmask(SIG_SETMASK, 0xBFB9F8B0, 0x00000000) = 0
14408:   setcontext(0x080444D0)
14408:   sigaction(SIGWAITING, 0x08044888, 0x00000000)   = 0
14408:   prepblock(0xBFBA4800, 0xBFBA4800, 3)      = 0
14408:       Received signal #32, SIGWAITING [caught]
14408:   block(0x00000000)          Err#91 ERESTART
14408:   cancelblock()              = 0
14408:   setcontext(0x080444A4)
14408:   cancelblock()              = 0
14408:   setcontext(0xBFAD1CC4)
14408:   setcontext(0xBFB9F90C)
14408:   _lwp_kill(1, SIGWAITING)         = 0
14408:   sigprocmask(SIG_SETMASK, 0xBFB9FBA4, 0x00000000) = 0
14408:       Received signal #32, SIGWAITING [caught]
14408:         siginfo: SIGWAITING pid=14408 uid=102
14408:   sigprocmask(SIG_SETMASK, 0xBFB9FBA4, 0x00000000) = 0
14408:   setcontext(0x080444D0)
14408:   sigaction(SIGWAITING, 0x08044888, 0x00000000)   = 0
14408:   prepblock(0xBFBA4800, 0xBFBA4800, 3)      = 0
14408:       Received signal #32, SIGWAITING [caught]
14408:   block(0x00000000)          Err#91 ERESTART
14408:   cancelblock()              = 0
14408:   setcontext(0x080444A4)
14408:   cancelblock()              = 0
14408:   setcontext(0xBFAD1CC4)
14408:   setcontext(0xBFB9F90C)
14408:   _lwp_kill(1, SIGWAITING)         = 0
14408:   sigprocmask(SIG_SETMASK, 0xBFB9FBA4, 0x00000000) = 0
14408:       Received signal #32, SIGWAITING [caught]
14408:         siginfo: SIGWAITING pid=14408 uid=102
14408:   sigprocmask(SIG_SETMASK, 0xBFB9FBA4, 0x00000000) = 0
14408:   sigaction(SIGWAITING, 0x0804444C, 0x00000000)   = 0
14408:   sigprocmask(SIG_SETMASK, 0xBFB9F8B0, 0x00000000) = 0
14408:   setcontext(0x080444D0)
14408:   sigaction(SIGWAITING, 0x08044888, 0x00000000)   = 0
14408:   prepblock(0xBFBA4800, 0xBFBA4800, 3)      = 0
14408:       Received signal #32, SIGWAITING [caught]
14408:   block(0x00000000)          Err#91 ERESTART
14408:   cancelblock()              = 0
14408:   setcontext(0x080444A4)
.........................................................
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP