内容简介:前几日有朋友遇到了这个问题,实例是启动的,但是经常过一段时间连接数据库实例时提示”Connected to an idle instance”,环境:RAC oracle 11.2.0.4.0 操作系统RHEL 6.5。Trace file SHOW分析需要的数据:
前几日有朋友遇到了这个问题,实例是启动的,但是经常过一段时间连接数据库实例时提示”Connected to an idle instance”,环境:RAC oracle 11.2.0.4.0 操作系统RHEL 6.5。
[oracle@anbob1 trace]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.4.0 Production on Wed Sep 19 20:27:51 2018 Copyright (c) 1982, 2013, Oracle. All rights reserved. Connected to an idle instance. Errors in file /s01/oracle/app/oracle/diag/rdbms/anbob/ANBOB1/trace/ANBOB1_cjq0_14004.trc: Process J000 died, see its trace file kkjcre1p: unable to spawn jobq slave process Errors in file /s01/oracle/app/oracle/diag/rdbms/anbob/ANBOB1/trace/ANBOB1_cjq0_14004.trc: Process J000 died, see its trace file
Trace file SHOW
*** 2018-09-19 19:10:02.211 Process J000 is dead (pid=6055 req_ver=46668 cur_ver=46668 state=KSOSP_SPAWNED). *** 2018-09-19 19:10:04.216 Process J000 is dead (pid=6060 req_ver=46669 cur_ver=46669 state=KSOSP_SPAWNED). *** 2018-09-19 19:10:06.220 Process J000 is dead (pid=6068 req_ver=46670 cur_ver=46670 state=KSOSP_SPAWNED). *** 2018-09-19 19:10:08.214 Process J000 is dead (pid=6079 req_ver=46671 cur_ver=46671 state=KSOSP_SPAWNED). ...
分析需要的数据:
$ env|grep ORA
$ ps -ef|grep smon
$ cat /etc/sysctl.conf
$ ulimit -a
$ cat /etc/security/limits.conf
$ cat /proc/meminfo
$ ipcs -m
$ sysresv
$ df
# or truss
$ strace -a -e -f -tt -o connect.out sqlplus "/as sysdba"
从pfile或正常时的参数信息
SQL> show parameter mem
SQL> show parameter ga
SQL> show parameter job
SQL> select * from gv$resource_limit
可能的原因:
1. OS资源限制
2. Memory 或SWAP 不足
3. Memory_target Enabled
4. job_queue_processes参数不合理
5. Oracle Bugs. e.g. 24921392
如果您解决不了,可以联系我们。
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
PHP for the World Wide Web, Second Edition (Visual QuickStart Gu
Larry Ullman / Peachpit Press / 2004-02-02 / USD 29.99
So you know HTML, even JavaScript, but the idea of learning an actual programming language like PHP terrifies you? Well, stop quaking and get going with this easy task-based guide! Aimed at beginning ......一起来看看 《PHP for the World Wide Web, Second Edition (Visual QuickStart Gu》 这本书的介绍吧!