at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:170)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
可能为读取数据库信息超时
org.postgresql.core.VisibleBufferedInputStream.readMore(VisibleBufferedInputStream.java:143)
org.postgresql.core.VisibleBufferedInputStream.ensureBytes(VisibleBufferedInputStream.java:112)
org.postgresql.core.VisibleBufferedInputStream.read(VisibleBufferedInputStream.java:70)
org.postgresql.core.PGStream.ReceiveChar(PGStream.java:283)
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1799)
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:200)
看现象是执行sql的时候有问题
com.alibaba.druid.pool.vendor.PGValidConnectionChecker.isValidConnection(PGValidConnectionChecker.java:65)
com.alibaba.druid.pool.DruidAbstractDataSource.testConnectionInternal(DruidAbstractDataSource.java:1338)
难道数据库连接池里面的是一个无效连接?
1、找到tas认证日志,保存下来:
cat runlog.log |grep “TMS auth spend time”> /home/wuyonghu/tas.log
2、