TIDB无法建立连接

tidb节点是3个节点。其中两个正常,一个节点无法建立新的连接,老的连接还在。 中间看到大量的日志: [2019/08/22 09:16:00.937 +08:00] [ERROR] [client.go:506] [“batch commands send error”] [target=tikv1:20171] [error=EOF] [stack=“github.com/pingcap/tidb/store/tikv.(*connArray).batchSendLoop /home/jenkins/workspace/release_tidb_3.0/go/src/github.com/pingcap/tidb/store/tikv/client.go:506”] [2019/08/22 09:16:00.937 +08:00] [INFO] [region_cache.go:372] [“switch region peer to next due to send request fail”] [conn=1091957] [current=“region ID: 56970, meta: id:56970 start_key:“t200000000000000u_r200000000331332u276” end_key:“t200000000000000u_r200000000331347mO” region_epoch:<conf_ver:23 version:472 > peers:<id:56972 store_id:13 > peers:<id:108956 store_id:10 > peers:<id:1111268 store_id:1 > , peer: id:1111268 store_id:1 , addr: tikv1:20171, idx: 2”] [needReload=false] [error=EOF] [errorVerbose=“EOFngithub.com/pingcap/errors.AddStack /home/jenkins/workspace/release_tidb_3.0/go/pkg/mod/github.com/pingcap/errors@v0.11.4/errors.go:174 github.com/pingcap/errors.Trace /home/jenkins/workspace/release_tidb_3.0/go/pkg/mod/github.com/pingcap/errors@v0.11.4/juju_adaptor.go:15 github.com/pingcap/tidb/store/tikv.sendBatchRequest /home/jenkins/workspace/release_tidb_3.0/go/src/github.com/pingcap/tidb/store/tikv/client.go:627 github.com/pingcap/tidb/store/tikv.(*rpcClient).SendRequest /home/jenkins/workspace/release_tidb_3.0/go/src/github.com/pingcap/tidb/store/tikv/client.go:658ngithub.com/pingcap/tidb/store/tikv.(*RegionRequestSender).sendReqToRegion /home/jenkins/workspace/release_tidb_3.0/go/src/github.com/pingcap/tidb/store/tikv/region_request.go:145ngithub.com/pingcap/tidb/store/tikv.(*RegionRequestSender).SendReqCtx /home/jenkins/workspace/release_tidb_3.0/go/src/github.com/pingcap/tidb/store/tikv/region_request.go:116ngithub.com/pingcap/tidb/store/tikv.(*copIteratorWorker).handleTaskOnce /home/jenkins/workspace/release_tidb_3.0/go/src/github.com/pingcap/tidb/store/tikv/coprocessor.go:668ngithub.com/pingcap/tidb/store/tikv.(*copIteratorWorker).handleTask /home/jenkins/workspace/release_tidb_3.0/go/src/github.com/pingcap/tidb/store/tikv/coprocessor.go:628ngithub.com/pingcap/tidb/store/tikv.(*copIteratorWorker).run /home/jenkins/workspace/release_tidb_3.0/go/src/github.com/pingcap/tidb/store/tikv/coprocessor.go:467 runtime.goexit /usr/local/go/src/runtime/asm_amd64.s:1337”]

重复在报错,telnet 4000端口都能通,tidb的服务正常。kv等都正常。机器负载不大,操作系统日志正常,无报错。

排错顺序: 1.麻烦检查一下 tikv1:20171 对应的 tikv store 状态是否正常 2.通过正常启动的 TIDB 连接到 TiDB 检查 TiDB 服务是否可用。

tikv正常,使用正常tidb连接到 这个节点,是等待连接,不报错,卡主

看一下这个 tikv store 上面报错是什么 ? 麻烦也发一下