-
Notifications
You must be signed in to change notification settings - Fork 2.6k
help request: service health check interval #12067
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
How did you tally this information? Maybe try adding |
Through SkyWalking and the logs of my service, I have counted 20 heartbeat requests per second. It can be confirmed that only APISix will call this path "http_path": "/apisix/heartbeat". |
Can you provide the configuration file for APISIX? It would help to reproduce the problem. |
|
How did you deploy APISIX? Are there multiple instances running? |
I deployed two Apisix nodes, but the Spring Boot service log shows that heartbeat requests only come from the Apisix node with traffic. And when I turned off Apisix's health check, all heartbeat requests from the Spring Boot service disappeared. When I reopened it, heartbeat requests appeared again. |
Another interesting phenomenon is that when I modify the heartbeat path under the apisix service to |
When I restarted Apisix, the abnormal heartbeat disappeared. Guess it's caused by residual heartbeat tasks |
You need to check the apisix log to confirm the frequency of health check requests. |
If there is still a problem, please open it again. |
Description
service
Then I configured around 600 routes, each of which referenced this service. The observed situation is that each node of the upstream service has about 20 heartbeat requests per second, which is inconsistent with the configured interval of 1 second. why ?
Environment
apisix version
):3.11uname -a
):openresty -V
ornginx -V
):curl http://127.0.0.1:9090/v1/server_info
):luarocks --version
):The text was updated successfully, but these errors were encountered: