INBOUND_CONNECT_TIMEOUT TNS-12525 TNS-12535 TNS-12606

当客户端在指定时间内无法建立连接并完成身份验证时,数据库服务器会终止连接。服务器在sqlnet.log文件中记录了客户端的IP地址和ORA-12170错误信息。客户端收到ORA-12547或ORA-12637错误消息。
摘要由CSDN通过智能技术生成
一、 sqlnet.ora 参数 SQLNET.INBOUND_CONNECT_TIMEOUT
1. 官方文档的解释
SQLNET.INBOUND_CONNECT_TIMEOUT
Purpose
To specify the time, in seconds, for a client to connect with the database server and provide the necessary authentication information.

If the client fails to establish a connection and complete authentication in the time specified, then the database server terminates the connection. In addition, the database server logs the IP address of the client and an ORA-12170: TNS:Connect timeout occurred error message to the sqlnet.log file. The client receives either an ORA-12547: TNS:lost contact or an ORA-12637: Packet receive failed error message.

The default value of this parameter is appropriate for typical usage scenarios. However, if you need to explicitly set a different value, then Oracle recommends setting this parameter in combination with the INBOUND_CONNECT_TIMEOUT_listener_name parameter in the listener.ora file. When specifying the values for these parameters, note the following recommendations:
Set both parameters to an initial low value.
Set the value of the INBOUND_CONNECT_TIMEOUT_listener_name parameter to a lower value than the SQLNET.INBOUND_CONNECT_TIMEOUT parameter.
For example, you can set INBOUND_CONNECT_TIMEOUT_listener_name to 2 seconds and SQLNET.INBOUND_CONNECT_TIMEOUT parameter to 3 seconds. If clients are unable to complete connections within the specified time due to system or network delays that are normal for the particular environment, then increment the time as needed.
Default
60 seconds
Example
SQLNET.INBOUND_CONNECT_TIMEOUT=3

2、说明
这个就是等待用户认证超时的时间。单位是秒,默认值是60秒。如果用户认证超时了,服务器告警日志alert.log会产生出错信息。

3、实验
设置SQLNET.INBOUND_CONNECT_TIMEOUT参数
[oracle@panda admin]$ cat sqlnet.ora 
SQLNET.INBOUND_CONNECT_TIMEOU
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值