huaweicloud / spring-cloud-huawei

Spring Cloud Huawei is a framework that makes it easier and productive to develop microservices with Spring Cloud.
https://github.com/huaweicloud/spring-cloud-huawei/wiki
Apache License 2.0
516 stars 221 forks source link

服务实例进程正常,服务与注册中心通讯不正常,耗时过久,导致在注册中心下线,这种情况如何修复 #1009

Closed jerome2018 closed 1 year ago

jerome2018 commented 1 year ago

Describe the problem 服务实例进程正常,服务与注册中心通讯不正常,耗时过久,导致在注册中心下线

Sample code |WARN|Service Center Task [java.util.concurrent.ThreadPoolExecutor$Worker@764f0161[State = -1, empty queue][77]]|o.a.s.s.t.ServiceCenterTaskMonitor|endCycle||||51|||sc task taken more than 16489ms to execute

Information service-center-1.3.0

jerome2018 commented 1 year ago

重启服务后解决了,但是不清楚在注册中心下线的原因,网络问题可以排除

lbc97 commented 1 year ago

日志能不能给多点儿 你们框架版本是多少 看起来就是链接超时导致的

jerome2018 commented 1 year ago

框架版本:org.apache.servicecomb:java-chassis-dependencies-springboot2:1.3.0 在业务日志中涉及与servicecenter相关的只有上面那一条,sc的日志还不知道咋看

lbc97 commented 1 year ago

如果你用的java chassis 就去java chassis社区下面提issue吧 把你的业务日志给全点儿 sc的日志如果你用的云上引擎你是看不了的 这是spring cloud huawei的社区