eureka
eureka copied to clipboard
eureka server heartbeat block
We saw many warning logs when things started, as shown below. (StuckThreadDetectionValve is inspired by tomcat)
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.

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~