为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
- 【TiDB 版本】:V3.0.12
- 【问题描述】:tidb.log 没30秒钟打印一次下面这种日志信息,帮确认下原因
2020/03/19 15:58:52.966 terror.go:357: [error] EOF github.com/pingcap/errors.AddStack /home/jenkins/agent/workspace/tidb_v3.0.12/go/pkg/mod/github.com/pingcap/errors@v0.11.4/errors.go:174 github.com/pingcap/errors.Trace /home/jenkins/agent/workspace/tidb_v3.0.12/go/pkg/mod/github.com/pingcap/errors@v0.11.4/juju_adaptor.go:15 github.com/pingcap/tidb/server.(*packetIO).readOnePacket /home/jenkins/agent/workspace/tidb_v3.0.12/go/src/github.com/pingcap/tidb/server/packetio.go:80 github.com/pingcap/tidb/server.(*packetIO).readPacket /home/jenkins/agent/workspace/tidb_v3.0.12/go/src/github.com/pingcap/tidb/server/packetio.go:105 github.com/pingcap/tidb/server.(*clientConn).readPacket /home/jenkins/agent/workspace/tidb_v3.0.12/go/src/github.com/pingcap/tidb/server/conn.go:265 github.com/pingcap/tidb/server.(*clientConn).readOptionalSSLRequestAndHandshakeResponse /home/jenkins/agent/workspace/tidb_v3.0.12/go/src/github.com/pingcap/tidb/server/conn.go:471 github.com/pingcap/tidb/server.(*clientConn).handshake /home/jenkins/agent/workspace/tidb_v3.0.12/go/src/github.com/pingcap/tidb/server/conn.go:172 github.com/pingcap/tidb/server.(*Server).onConn /home/jenkins/agent/workspace/tidb_v3.0.12/go/src/github.com/pingcap/tidb/server/server.go:345 runtime.goexit /usr/local/go/src/runtime/asm_amd64.s:1357
2020/03/19 15:59:22.966 terror.go:357: [error] EOF github.com/pingcap/errors.AddStack /home/jenkins/agent/workspace/tidb_v3.0.12/go/pkg/mod/github.com/pingcap/errors@v0.11.4/errors.go:174 github.com/pingcap/errors.Trace /home/jenkins/agent/workspace/tidb_v3.0.12/go/pkg/mod/github.com/pingcap/errors@v0.11.4/juju_adaptor.go:15 github.com/pingcap/tidb/server.(*packetIO).readOnePacket /home/jenkins/agent/workspace/tidb_v3.0.12/go/src/github.com/pingcap/tidb/server/packetio.go:80 github.com/pingcap/tidb/server.(*packetIO).readPacket /home/jenkins/agent/workspace/tidb_v3.0.12/go/src/github.com/pingcap/tidb/server/packetio.go:105 github.com/pingcap/tidb/server.(*clientConn).readPacket /home/jenkins/agent/workspace/tidb_v3.0.12/go/src/github.com/pingcap/tidb/server/conn.go:265 github.com/pingcap/tidb/server.(*clientConn).readOptionalSSLRequestAndHandshakeResponse /home/jenkins/agent/workspace/tidb_v3.0.12/go/src/github.com/pingcap/tidb/server/conn.go:471 github.com/pingcap/tidb/server.(*clientConn).handshake /home/jenkins/agent/workspace/tidb_v3.0.12/go/src/github.com/pingcap/tidb/server/conn.go:172 github.com/pingcap/tidb/server.(*Server).onConn /home/jenkins/agent/workspace/tidb_v3.0.12/go/src/github.com/pingcap/tidb/server/server.go:345 runtime.goexit /usr/local/go/src/runtime/asm_amd64.s:1357
python info_gathering.py 脚本执行报错如下
{‘tidb_log_dir’: ‘{{ deploy_dir }}/log’, ‘dummy’: None, ‘tidb_port’: 4000, ‘tidb_status_port’: 10080, ‘tidb_cert_dir’: ‘{{ deploy_dir }}/conf/ssl’}
系统信息
Traceback (most recent call last):
File "info_gathering.py", line 262, in <module>
table = execute(item, pro_url, tbl)
File "info_gathering.py", line 253, in execute
raise e
urllib2.URLError: <urlopen error [Errno -2] Name or service not known>