nacos 微服务运行一段时间宕机

rt4zxlrg  于 2021-12-26  发布在  Java
关注(0)|答案(2)|浏览(2125)

服务在k8s上运行,配置中心,注册中心使用nacos,
nacos-server 2.0.3集群
nacos-client 2.0.3

宕机前日志

2021-12-11 11:17:21,785 WARN 1 TID:N/A [ Thread-5] c.a.n.common.http.HttpClientBeanHolder : [HttpClientBeanHolder] Start destroying common HttpClient
2021-12-11 11:17:21,787 INFO 1 TID:N/A [ Thread-30] c.n.l.PollingServerListUpdater : Shutting down the Executor Pool for PollingServerListUpdater
2021-12-11 11:17:21,787 WARN 1 TID:N/A [ Thread-12] c.a.nacos.common.notify.NotifyCenter : [NotifyCenter] Start destroying Publisher
2021-12-11 11:17:21,787 WARN 1 TID:N/A [ Thread-12] c.a.nacos.common.notify.NotifyCenter : [NotifyCenter] Destruction of the end
2021-12-11 11:17:21,794 WARN 1 TID:N/A [ Thread-5] c.a.n.common.http.HttpClientBeanHolder : [HttpClientBeanHolder] Destruction of the end
2021-12-11 11:17:21,963 INFO 1 TID:N/A [extShutdownHook] o.s.s.c.ThreadPoolTaskScheduler : Shutting down ExecutorService 'Nacos-Watch-Task-Scheduler'
2021-12-11 11:17:21,999 INFO 1 TID:N/A [extShutdownHook] c.a.c.n.registry.NacosServiceRegistry : De-registering from Nacos Server now...
2021-12-11 11:17:22,002 INFO 1 TID:N/A [extShutdownHook] c.a.c.n.registry.NacosServiceRegistry : De-registration finished.
2021-12-11 11:17:22,315 INFO 1 TID:N/A [extShutdownHook] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'taskExecutor'

jvlzgdj9

jvlzgdj92#

看了下你的宕机前日志,应该是你的服务在运行过程中发生了某种异常,导致 Nacos 从 Common 模块开始 Shutdown 了你的服务线程,能否提供下服务监控日志,或者服务发生宕机的日志。

相关问题