tidb 5.4 tiflash 疯狂爆 debug 日志

tiup 整体安装的集群, 完成后, tiflash 节点 每日爆大量的debug

请问这是什么原因,怎么解决,谢谢

1赞

是不是默认日志级别高了

因为刚装不久,再调试,所以日志级别配的 info ;
但tiflash 这个日志量非常夸张,每天 2,3个G 了;
而且这个日志看不太明白, 有遇到这种情况的 兄弟吗?

重新配一下日志级别

调整到 warn 后, 还有大量如下日志:

image

[2022/04/02 14:19:23.442 +08:00] [DEBUG] [] [“grpc:/tmp/tzg/release-centos7/prepare-environments/grpc/src/core/lib/iomgr/tcp_posix.cc, line number: 1261, log msg : cannot set inq fd=1912 errno=92”] [thread_id=13]
[2022/04/02 14:19:23.687 +08:00] [DEBUG] [] [“grpc:/tmp/tzg/release-centos7/prepare-environments/grpc/src/core/lib/iomgr/tcp_posix.cc, line number: 1261, log msg : cannot set inq fd=1912 errno=92”] [thread_id=13]
[2022/04/02 14:19:23.801 +08:00] [DEBUG] [] [“grpc:/tmp/tzg/release-centos7/prepare-environments/grpc/src/core/lib/iomgr/tcp_posix.cc, line number: 1261, log msg : cannot set inq fd=1912 errno=92”] [thread_id=13]
[2022/04/02 14:19:23.930 +08:00] [DEBUG] [] [“grpc:/tmp/tzg/release-centos7/prepare-environments/grpc/src/core/lib/iomgr/tcp_posix.cc, line number: 1261, log msg : cannot set inq fd=1912 errno=92”] [thread_id=13]
[2022/04/02 14:19:24.245 +08:00] [DEBUG] [] [“grpc:/tmp/tzg/release-centos7/prepare-environments/grpc/src/core/lib/iomgr/tcp_posix.cc, line number: 1261, log msg : cannot set inq fd=1912 errno=92”] [thread_id=13]
[2022/04/02 14:19:24.444 +08:00] [DEBUG] [] [“grpc:/tmp/tzg/release-centos7/prepare-environments/grpc/src/core/lib/iomgr/tcp_posix.cc, line number: 1261, log msg : cannot set inq fd=1912 errno=92”] [thread_id=13]
[2022/04/02 14:19:24.688 +08:00] [DEBUG] [] [“grpc:/tmp/tzg/release-centos7/prepare-environments/grpc/src/core/lib/iomgr/tcp_posix.cc, line number: 1261, log msg : cannot set inq fd=1912 errno=92”] [thread_id=13]
[2022/04/02 14:19:24.803 +08:00] [DEBUG] [] [“grpc:/tmp/tzg/release-centos7/prepare-environments/grpc/src/core/lib/iomgr/tcp_posix.cc, line number: 1261, log msg : cannot set inq fd=1912 errno=92”] [thread_id=13]
[2022/04/02 14:19:24.931 +08:00] [DEBUG] [] [“grpc:/tmp/tzg/release-centos7/prepare-environments/grpc/src/core/lib/iomgr/tcp_posix.cc, line number: 1261, log msg : cannot set inq fd=1912 errno=92”] [thread_id=13]
[2022/04/02 14:19:25.246 +08:00] [DEBUG] [] [“grpc:/tmp/tzg/release-centos7/prepare-environments/grpc/src/core/lib/iomgr/tcp_posix.cc, line number: 1261, log msg : cannot set inq fd=1912 errno=92”] [thread_id=13]
[2022/04/02 14:19:25.446 +08:00] [DEBUG] [] [“grpc:/tmp/tzg/release-centos7/prepare-environments/grpc/src/core/lib/iomgr/tcp_posix.cc, line number: 1261, log msg : cannot set inq fd=1912 errno=92”] [thread_id=13]
[2022/04/02 14:19:25.689 +08:00] [DEBUG] [] [“grpc:/tmp/tzg/release-centos7/prepare-environments/grpc/src/core/lib/iomgr/tcp_posix.cc, line number: 1261, log msg : cannot set inq fd=1912 errno=92”] [thread_id=13]
[2022/04/02 14:19:25.804 +08:00] [DEBUG] [] [“grpc:/tmp/tzg/release-centos7/prepare-environments/grpc/src/core/lib/iomgr/tcp_posix.cc, line number: 1261, log msg : cannot set inq fd=1912 errno=92”] [thread_id=13]
[2022/04/02 14:19:25.932 +08:00] [DEBUG] [] [“grpc:/tmp/tzg/release-centos7/prepare-environments/grpc/src/core/lib/iomgr/tcp_posix.cc, line number: 1261, log msg : cannot set inq fd=1912 errno=92”] [thread_id=13]
[2022/04/02 14:19:26.246 +08:00] [DEBUG] [] [“grpc:/tmp/tzg/release-centos7/prepare-environments/grpc/src/core/lib/iomgr/tcp_posix.cc, line number: 1261, log msg : cannot set inq fd=1912 errno=92”] [thread_id=13]
[2022/04/02 14:19:26.447 +08:00] [DEBUG] [] [“grpc:/tmp/tzg/release-centos7/prepare-environments/grpc/src/core/lib/iomgr/tcp_posix.cc, line number: 1261, log msg : cannot set inq fd=1912 errno=92”] [thread_id=13]
[2022/04/02 14:19:26.690 +08:00] [DEBUG] [] [“grpc:/tmp/tzg/release-centos7/prepare-environments/grpc/src/core/lib/iomgr/tcp_posix.cc, line number: 1261, log msg : cannot set inq fd=1912 errno=92”] [thread_id=13]
[2022/04/02 14:19:26.805 +08:00] [DEBUG] [] [“grpc:/tmp/tzg/release-centos7/prepare-environments/grpc/src/core/lib/iomgr/tcp_posix.cc, line number: 1261, log msg : cannot set inq fd=1912 errno=92”] [thread_id=13]
[2022/04/02 14:19:26.935 +08:00] [DEBUG] [] [“grpc:/tmp/tzg/release-centos7/prepare-environments/grpc/src/core/lib/iomgr/tcp_posix.cc, line number: 1261, log msg : cannot set inq fd=1912 errno=92”] [thread_id=13]

怎么调整的日志级别,是不是没生效

tiup cluster edit-config az_tidb_pro

server_configs:
tidb:
log.level: info
prepared-plan-cache.enabled: true
tikv:
log-level: info
storage.block-cache.capacity: 54GB
pd: {}
tiflash:
log-level: error
tiflash-learner:
log-level: error

tiup cluster reload az_tidb_pro -R tiflash

error级别了,还爆

logger.level: info
改成这个试试
image

生效了,thx