ORACLE 监听之ORA-12518&ORA-00020

    2016年9月21日,广州地区技术负责人申告新版审核系统执行ETL抽数时,PLSQL及应用程序报ORA12518,如下图所示:

    我的处理思路是,登录数据库服务器,查看数据库服务器状态是否正常,查看winserver2008R2的内存64G使用28G正常,系统资源监视器显示磁盘及网络情况都很空闲。
    然后,通过调用操作系统cmd,使用lsnrctl status查看监听正常;登录sqlplus,发现从服务器端可以登录;通过sql>show parameter dump,查看数据库告警日志,有大量如下告警:
Wed Sep 21 16:06:34 2016
ORA-00020: maximum number of processes (150) 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.
Wed Sep 21 16:08:15 2016
ORA-00020: maximum number of processes (150) 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.
Wed Sep 21 16:09:33 2016
ORA-00020: maximum number of processes (150) 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.
Wed Sep 21 16:09:48 2016
Process m000 submission failed with error = 20
Wed Sep 21 16:11:12 2016
ORA-00020: maximum number of processes (150) 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.
 到此,问题定位基本完成,问题出在数据库进程数Processes设置是150的默认配置,数据库进程数过低导致新版审核系统无法正常连接数据库的,
通过sql>show parameter processes 也能确定当前数据库服务器的processes配置确实是150过低。
 问题处理方法很简单,就是修改数据库的进程数配置;需要注意的是,processes是静态参数,修改需要重启数据库服务才能生效;数据库进程数修改命令:
     alter system set processes=500 scope = spfile;
 重启数据库服务后,登录sqlplus,通过sql>show parameter processes 复查修改是否生效。

  另外,除了processes进程过低可能导致ORA-12518外,监听程序异常、监听专享及共享模式、windows32位操作系统单进程1.7G内存使用限制也可能导致ORA-12518。
监听状态检查,通过lsnrctl status可以查看,也可以查看监听的日志(如果数据库监听启动了日记记录的话);
对于监听服务模式,通过命令查看 sql> >

  


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值