公司某系统近几天频繁宕机,查看数据库后台之日:
Mon Aug 21 08:58:30 CST 2017
WARNING: inbound connection timed out (ORA-3136)
Mon Aug 21 08:58:45 CST 2017
WARNING: inbound connection timed out (ORA-3136)
Mon Aug 21 08:58:46 CST 2017
WARNING: inbound connection timed out (ORA-3136)
Mon Aug 21 08:59:16 CST 2017
WARNING: inbound connection timed out (ORA-3136)
Mon Aug 21 08:59:16 CST 2017
WARNING: inbound connection timed out (ORA-3136)
Mon Aug 21 08:59:16 CST 2017
WARNING: inbound connection timed out (ORA-3136)
Mon Aug 21 08:59:16 CST 2017
WARNING: inbound connection timed out (ORA-3136)
然后看sqlnet.log也有类似的报错:
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for Linux: Version 10.2.0.5.0 - Production
Oracle Bequeath NT Protocol Adapter for Linux: Version 10.2.0.5.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 1

本文记录了一次生产环境中遇到的数据库频繁宕机问题,表现为ORACLE数据库出现inbound connection timeout (ORA-3136)警告。通过检查sqlnet.log发现连接超时错误,最终通过修改listener.ora和sqlnet.ora文件的配置,将连接超时参数设置为0,解决了该问题。
最低0.47元/天 解锁文章
6897

被折叠的 条评论
为什么被折叠?



