sonnyzhao
V2EX  ›  问与答

mysql 负载突然变高 业务系统响应超时 Communications link failure

  •  
  •   sonnyzhao · Aug 15, 2019 · 1394 views
    This topic created in 2472 days ago, the information mentioned may be changed or developed.

    公司里 mysql 一主两从(阿里云),偶尔会出现 Communications link failure,错误,应该怎么排查? java 错误日志: java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost. at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:3011) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3469) ... 86 common frames omitted com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet successfully received from the server was 81,184 milliseconds ago. The last packet sent successfully to the server was 81,184 milliseconds ago.**

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5337 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 07:37 · PVG 15:37 · LAX 00:37 · JFK 03:37
    ♥ Do have faith in what you're doing.