暂无图片
分享
张冠军
2019-09-06
数据库hang住,报错:ORA-00445: background process "W002" did not start after 120 seconds

一台单实例数据库突然hang住,alter日志里只有如下报错:

Errors in file /u01/app/oracle/diag/rdbms/rzgcw/rzgcw/trace/rzgcw_smco_5193.trc  (incident=48610):
ORA-00445: background process "W002" did not start after 120 seconds
Incident details in: /u01/app/oracle/diag/rdbms/rzgcw/rzgcw/incident/incdir_48610/rzgcw_smco_5193_i48610.trc


收藏
分享
11条回答
默认
最新
张冠军
上传附件:rzgcw_smco_5193.trc
暂无图片 评论
暂无图片 有用 0
张冠军
暂无图片 评论
暂无图片 有用 0
张冠军
希望大神们帮助指点迷津,指导从哪里分析入手。
暂无图片 评论
暂无图片 有用 0
章芋文

sqlplus还能连数据库吗?,系统负载情况呢?,ulimit -a呢?

可以先参考下我之前写的

https://mp.weixin.qq.com/s/WwmQ2RzqlHtSp38HfMLVnw

暂无图片 评论
暂无图片 有用 0
张冠军

当时数据库是无法登陆的,sqlplus没有反应。

我看了下OSW监控数据,故障时间点的cpu和内存使用情况没有异常。

故障时间点的alert:

Fri Sep 06 16:07:07 2019
Errors in file /u01/app/oracle/diag/rdbms/rzgcw/rzgcw/trace/rzgcw_smco_5193.trc  (incident=48610):
ORA-00445: background process "W002" did not start after 120 seconds
Incident details in: /u01/app/oracle/diag/rdbms/rzgcw/rzgcw/incident/incdir_48610/rzgcw_smco_5193_i48610.trc
Fri Sep 06 16:07:10 2019
Dumping diagnostic data in directory=[cdmp_20190906160710], requested by (instance=1, osid=5193 (SMCO)), summary=[incident=48610].



[root@rzgcw /]# ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 257213
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 257213
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited


暂无图片 评论
暂无图片 有用 0
张冠军
暂无图片 评论
暂无图片 有用 0
张冠军
上传附件:alert_rzgcw.log
暂无图片 评论
暂无图片 有用 0
章芋文

是看oracle用户的的ulimit

暂无图片 评论
暂无图片 有用 0
张冠军
[oracle@rzgcw ~]$ ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 257213
max locked memory       (kbytes, -l) 134217728
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 10240
cpu time               (seconds, -t) unlimited
max user processes              (-u) 16384
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited
暂无图片 评论
暂无图片 有用 0
Moone

open files                      (-n) 1024,这个太小了

加到到10240并重启实例

暂无图片 评论
暂无图片 有用 0
张冠军
问题已关闭: 问题已经得到解决
暂无图片 评论
暂无图片 有用 0
回答交流
提交
问题信息
请登录之后查看
附件列表
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
暂无图片墨值悬赏