go-zero
go-zero copied to clipboard
Infinite output of ETCD logs, causing service crashes
Describe the bug A large number of identical error logs without any pauses result in 100% CPU usage. The log files exceeded a few gigabytes in a short amount of time, causing the server to crash.
To Reproduce
The program started working normally, but after running for a period of time, it began to output the same logs without restrictions, causing the server to crash
- The code is
Etcd: Hosts: - ...:379 Key: *.rpc User: user Pass: *
- The error is
"etcd monitor chan has been canceled, error: rpc error: code = Unauthenticated desc = etcdserver: invalid auth token","level":"error"}
Environments (please complete the following information):
- etcd:docker
- go-zero version v1.6.1
We have also encountered this problem. You can try to downgrade the version of gRPC a bit; that's how we resolved it.
We have also encountered this problem. You can try to downgrade the version of gRPC a bit; that's how we resolved it.
Thank you very much. Can you tell me which specific version of GRPC you are using
Has it been resolved yet?