重庆思庄Oracle、KingBase、PostgreSQL、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 10|回复: 0
打印 上一主题 下一主题

[Oracle] EM:Wnnn 后台进程过量的 open cursors

[复制链接]
跳转到指定楼层
楼主
发表于 昨天 18:10 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
现象:
每个 KTSJ 模块进程都持有数以百计的 open cursors,这造成 EM 告警报告高 cursors 数量和内存消耗。这些 sessions 都保持打开状态(session 状态是 ACTIVE),并持有这些cursors。
同时,数据库是最近升级到18c的。

Wnnn和SMCo进程在一段时间内保持 active 状态,我们可以通过 grep 操作系统进程id的看到这一点:

[oracle@fp2grid1-0.m2.sysint.local ~]$ psg 15486; psg 27103;psg 15503;psg 16278;psg 16888; psg 17399; psg 28177;psg 25783;psg 18878;psg 28160;psg 18682;psg 26967;psg 26204;psg 26991;psg 15494
oracle 15486 1 0 Jul09 ? 00:02:46 ora_smco_vpn21
oracle 27103 1 0 Jul09 ? 00:00:38 ora_w00j_vpn21
oracle 15503 1 0 Jul09 ? 00:00:37 ora_w001_vpn21
oracle 16278 1 0 Jul09 ? 00:00:39 ora_w002_vpn21
oracle 16888 1 0 Jul09 ? 00:00:36 ora_w003_vpn21
oracle 17399 1 0 Jul09 ? 00:00:34 ora_w004_vpn21
oracle 28177 1 0 Jul09 ? 00:00:42 ora_w00v_vpn21
oracle 25783 1 0 Jul09 ? 00:00:42 ora_w005_vpn21
oracle 18878 1 0 Jul22 ? 00:00:11 ora_w007_vpn21
oracle 28160 1 0 Jul09 ? 00:00:41 ora_w00u_vpn21
oracle 18682 1 0 Jul17 ? 00:01:05 ora_w00o_vpn21
oracle 26967 1 0 Jul09 ? 00:00:35 ora_w00d_vpn21
oracle 26204 1 0 Jul23 ? 00:00:14 ora_w00c_vpn21
oracle 26991 1 0 Jul09 ? 00:00:36 ora_w00e_vpn21
oracle 15494 1 0 Jul09 ? 00:00:40 ora_w000_vpn21



Error message:
"The value of cursors for sid 3776 on % module=KTSJ is 817."


<SID_w00b_28898.trc>
...
KQRCMT: Write failed with error=1000 po=0x14a349d48 cid=2
diagnostics : cid=2 hash=0xa08fffbb flag=0x2a
...
kgscGet-exception: cur=0x7fa5182de0e0 cob=0x7fa52f31afe0 err=604
kgscGet-exception: cur=0x7fa5182de0e0 cob=0x7fa52f31afe0 err=604
kgscGet-exception: cur=0x7fa5182de0e0 cob=0x7fa52f31afe0 err=604
kgscGet-exception: cur=0x7fa5182de0e0 cob=0x7fa52f31afe0 err=604
kgscGet-exception: cur=0x7fa5182de0e0 cob=0x7fa52f31afe0 err=604
kgscGet-exception: cur=0x7fa5182de0e0 cob=0x7fa52f31afe0 err=604
kgscGet-exception: cur=0x7fa5182de0e0 cob=0x7fa52f31afe0 err=604
kgscGet-exception: cur=0x7fa5182de0e0 cob=0x7fa52f31afe0 err=604
kgscGet-exception: cur=0x7fa5182de0e0 cob=0x7fa52f31afe0 err=604
kgscGet-exception: cur=0x7fa5182de0e0 cob=0x7fa52f31afe0 err=604
...


解决方案:
对这个 bug 没有已知的 workaround。请应用 Patch 30098251.

这个 bug 的修复被包含在 DB version 20.1及之后版本。






原因:

<Bug 30098251> - WNNN PROCCESSES CREATE AN EXCESSIVE NUMBER OF OPEN CURSORS

Wnnn 进程持有大量的 open cursors.

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2026-6-29 02:04 , Processed in 0.217001 second(s), 21 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表