您的位置:首页 > 数据库

SQLNET.INBOUND_CONNECT_TIMEOUT

2015-11-19 09:10 267 查看
关于这个报错是因为上次监听报错TNS-12637

因为在client和server涉及到这个参数,这里重点说明下


SQLNET.INBOUND_CONNECT_TIMEOUT

表示等待用户认证超时的时间,单位是秒,默认值是60秒
以下是官档参考:



Purpose

Tospecifythetime,inseconds,foraclienttoconnectwiththedatabaseserverandprovidethenecessaryauthenticationinformation.

Iftheclientfailstoestablishaconnectionandcompleteauthenticationinthetimespecified,thenthedatabaseserverterminatestheconnection.Inaddition,thedatabaseserverlogstheIPaddressoftheclientandan

ORA-12170:


TNS:Connecttimeoutoccurred


errormessagetothe
sqlnet.log
file.

Theclientreceiveseitheran

ORA-12547:
TNS:lostcontact
oran

ORA-12637:Packetreceivefailed
error
message.

Thedefaultvalueofthisparameterisappropriatefortypicalusagescenarios.However,ifyouneedtoexplicitlysetadifferentvalue,thenOraclerecommendssettingthisparameterincombinationwiththeINBOUND_CONNECT_TIMEOUT_listener_nameparameter
inthe
listener.ora
file.

Whenspecifyingthevaluesfortheseparameters,notethefollowingrecommendations:

Setbothparameterstoaninitiallowvalue.

Setthevalueofthe
INBOUND_CONNECT_TIMEOUT_
listener_name
parameter
toalowervaluethanthe
SQLNET.INBOUND_CONNECT_TIMEOUT
parameter.

Forexample,

youcanset
INBOUND_CONNECT_TIMEOUT_
listener_name
to
2secondsand
SQLNET.INBOUND_CONNECT_TIMEOUT
parameter
to3seconds.

Ifclientsareunabletocompleteconnectionswithinthespecifiedtimeduetosystemornetworkdelaysthatarenormalfortheparticularenvironment,thenincrementthetimeasneeded.

Default

60seconds

Example
SQLNET.INBOUND_CONNECT_TIMEOUT=3


SeeAlso:

"ControlParameters"foradditionalinformationabout
INBOUND_CONNECT_TIMEOUT_
listener_name


Oracle
NetServicesAdministrator'sGuideforadditionalinformationaboutconfiguringtheseparameters
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: