客户端不进行health report,不上报健康状况。
Describe the bug A clear and concise description of what the bug is. 我们使用powerjob进行几个client的定时调度。其中有一个client的health report,开始时可以正常上报,程序运行一段时间后,就没有上报health的日志了,也没有报错日志。server端上这个实例变成灰色,任务下发失败。把client重启,也是同样的现象,过一段时间heal report就没有了。
我看了下代码是,dump了堆内存。 这个健康上报是通过coreExecutor scheduleAtFixedRate设置的,线程池也没有shutdown,线程池的队列里面只有两个任务。总共有三个worker线程,其中两个worker是waiting状态,一个worker是timedWaiting。
线程池的负载并不高,这个线程池里面除了健康上报,还有别的任务。是否有可能是什么任务阻塞住了。
To Reproduce Steps to reproduce the behavior.
Expected behavior A clear and concise description of what you expected to happen.
Environment
- PowerJob Version: [5.1.0]
- Java Version: [jdk21]
- OS: [server和client都是k8s下centos7的docker镜像]
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.
线程dump日志能上传吗?