os: SunOS bjdb03 5.10 Generic_144488-04 sun4u sparc SUNW,SPARC-Enterprise
database version :Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
数据库出现客户端连接不上,查看alert日志
Wed Mar 13 09:21:50 2019
ORA-00020: No more process state objects available
ORA-20 errors will not be written to the alert log for
the next minute. Please look at trace files to see all
the ORA-20 errors.
Process J002 submission failed with error = 20
kkjcre1p: unable to spawn jobq slave process
Errors in file /export/home/u01/app/oracle/diag/rdbms/wcdma/wcdma/trace/wcdma_cjq0_25517.trc:
Wed Mar 13 09:22:20 2019
TABLE WCDMA.CLT_PM_W_ERIC_UPLINKBASEBANDPO: ADDED INTERVAL PARTITION SYS_P12772244 (71096) VALUES L
ESS THAN (TO_DATE(' 2019-03-13 08:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
Wed Mar 13 09:22:55 2019
ORA-00020: No more process state objects available
ORA-20 errors will not be written to the alert log for
the next minute. Please look at trace files to see all
the ORA-20 errors.
Process W000 submission failed with error = 20
Wed Mar 13 09:24:41 2019
Thread 1 cannot allocate new log, sequence 511057
Wed Mar 13 09:34:27 2019
ORA-00020: maximum number of processes 800 exceeded
ORA-20 errors will not be written to the alert log for
the next minute. Please look at trace files to see all
the ORA-20 errors.
此时查看 v$process 为738个进程,参数process进程数设置为800.
以下语句查询结果为380
select count(*) from v$process where addr not in (select paddr from v$session);
杀掉这些进程,客户端可以正常连接。总体进程维持在400左右。
问题点:
pmon为何没有清理掉这380个没有会话的进程。
是否有参数设置pmon清除僵尸进程的条件,比如空闲时间之类的。
墨值悬赏

评论
