Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2232658
  • 博文数量: 310
  • 博客积分: 6853
  • 博客等级: 准将
  • 技术积分: 2833
  • 用 户 组: 普通用户
  • 注册时间: 2005-08-04 16:41
文章分类

全部博文(310)

文章存档

2013年(17)

2012年(42)

2011年(76)

2010年(71)

2009年(99)

2007年(2)

2006年(1)

2005年(2)

分类: Oracle

2011-06-07 15:43:09

应用一直好好的,突然有一天,日志中开始时不时的出现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错误了。

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