• WARNING: inbound connection timed out (ORA-3136)


    警告日志里频繁出现以下报错:WARNING: inbound connectiontimed out (ORA-3136)

    先去mos查询文档:

    The following are the most likely reasons for this error -

    • Very often this error is thrown because a client or application is attempting to connect using the wrong userid or password.
      See the following: Note: 793259.1 ORA-1017 May Cause ORA-3136 WARNING : Inbound Connection Timed Out in Alert Log
    • The server receives a valid client connection request but the client takes a long time to authenticate more than the default 60 seconds.
    • The DB server is heavily loaded due to which it cannot finish the client logon within the timeout specified.

    To understand what is causing this issue, following checks can be done

    The default value of 60 seconds is good enough in most conditions for the database server to authenticate a client connection. If it is taking longer, then it's worth checking the following items before implementing the workaround:
    1. Check whether local connection on the database server is successful & quick.
    2. If local connections are quick ,then check for underlying network delay with the help of your network administrator.
    3. Check whether your Database performance has degraded.
    4. Check alert log for any critical errors for eg, ORA-600 or ORA-7445 and get them resolved first.
    These critical errors might have triggered the slowness of the database server.


    To set these parameters to use values higher than the default of 60 seconds, follow these instructions:
    Edit the server side sqlnet.ora file and add this parameter. It is important to note that in RAC the database
    will reference a sqlnet.ora file in its own home and not in Grid where the listener is running.

    So to be clear, add this line to the sqlnet.ora file in $RDBMS_HOME/network/admin:
    SQLNET.INBOUND_CONNECT_TIMEOUT= Where is the value in seconds.


     

    大概意思就是主要为在指定时间(默认为60秒)内客户端没有成功连接上服务器导致,可能是DB负载比较高,或者网络延时等造成。

    解决办法是:

    修改sqlnet.ora文件,添加
    SQLNET.INBOUND_CONNECT_TIMEOUT=180参数。

     

  • 相关阅读:
    2023最新软件测试20个基础面试题及答案
    转换张量形状:`nlc_to_nchw` 函数详解
    ESP32使用PWM实现对舵机的控制
    C语言字符函数和字符串函数(1)
    C语言中文网 - Shell脚本 - 7
    opencv之利用gpu进行编程
    为什么 Spring和IDEA 都不推荐使用 @Autowired 注解
    SpringCloud基础知识【Feign声明式系统调用】
    chatgpt赋能python:Python隐藏变量:探秘程序内部的“奥秘”
    Windows端ZLMediaKit编译与webrtc推拉流测试
  • 原文地址:https://blog.csdn.net/cqszpx/article/details/126895194