Chinaunix首页 | 论坛 | 博客
  • 博客访问: 208848
  • 博文数量: 63
  • 博客积分: 1470
  • 博客等级: 上尉
  • 技术积分: 640
  • 用 户 组: 普通用户
  • 注册时间: 2008-05-27 10:24
文章分类

全部博文(63)

文章存档

2014年(2)

2011年(3)

2010年(4)

2009年(9)

2008年(45)

我的朋友

分类: Oracle

2008-07-21 19:13:53

应用一直好好的,突然有一天,日志中开始时不时的出现ora-03135,奇了怪。查了一下——

bash-2.05$ oerr ora 3135
03135, 00000, "connection lost contact"
// *Cause:  1) Server unexpectedly terminated or was forced to terminate.
//          2) Server timed out the connection.
// *Action: 1) Check if the server session was terminated.
//          2) Check if the timeout parameters are set properly in sqlnet.ora.

在$ORACLE_HOME/network/admin/sample/sqlnet.ora中找了一下有这一小节——

########################
#sqlnet.expire_time = 10
########################
#
#Possible values: 0-any valid positive integer! (in minutes)
#Default: 0 minutes
#Recommended value: 10 minutes
#
#Purpose: Indicates the time interval to send a probe to verify the
#         client session is alive (this is used to reclaim watseful
#         resources on a dead client)
#
#Supported since: v2.1

于是,在sqlnet.ora中加入

sqlnet.expire_time = 10

重启listener

bash-2.05$ lsnrctl reload

……
The command completed successfully

观察两天,日志中未再报ora-03135错误了。

阅读(7432) | 评论(2) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2008-07-21 20:05:11

该错误主要原因为最近局里网络不稳定,如集群中任一主机PUBLIC端口断掉会导致与之绑定的VIP消失,造成假DOWN情况. 据说这种是裂脑(split-brain)现象:裂脑是由于集群中的节点之间无法正常通讯而导致的集群中出现的不一致的现象 如果出现这种情况,Oracle RAC会终止一个实例,来保证集群的一致性.

chinaunix网友2008-07-21 19:20:00

出现ora-03135的原因,可能是因为前台最近更新过应用程序,在处理事务的时候,跟以前采用的方法有所改变造成的