eureka icon indicating copy to clipboard operation
eureka copied to clipboard

eureka server heartbeat block

Open dpy1123 opened this issue 4 years ago • 0 comments

We saw many warning logs when things started, as shown below. (StuckThreadDetectionValve is inspired by tomcat) image so we think that the networking nio threads are all blocking and there is no thread for new coming request. with the threaddump, we confirmed this. image image

https://github.com/Netflix/eureka/blob/ed0da19ca1c049c87e3dbf75b6015c1861d5c2d0/eureka-core/src/main/java/com/netflix/eureka/resources/PeerReplicationResource.java#L152 this config could be read only once, not everytime when process the heartbeat.

Besides, sinces heartbeat is triggered by request, normally it will not run into any race condition and cause block. I also want to know why this could happen.

Thx~

dpy1123 avatar Jan 04 '22 03:01 dpy1123