Open rct opened 2 months ago
Before posting, I had referenced this previous issue and explanation: https://github.com/louislam/uptime-kuma/issues/3157#issuecomment-2059556877
It doesn't seem to me that I'm spamming a particular endpoint, since all the requests are to a different destination. The DNS monitors have some overlap.
Also, I restarted the container with all monitors paused and got RATE-LIMIT messages logged within 5 seconds of the process starting:
Sep 20 15:23:09 hasstst addon_a0d7b954_uptime-kuma[506]: 2024-09-20T11:23:09-04:00 [RATE-LIMIT] INFO: remaining requests: 60
Sep 20 15:23:09 hasstst addon_a0d7b954_uptime-kuma[506]: 2024-09-20T11:23:09-04:00 [RATE-LIMIT] INFO: remaining requests: 59.01
Sep 20 15:23:18 hasstst addon_a0d7b954_uptime-kuma[506]: 2024-09-20T11:23:18-04:00 [RATE-LIMIT] INFO: remaining requests: 60
Sep 20 15:23:19 hasstst addon_a0d7b954_uptime-kuma[506]: 2024-09-20T11:23:19-04:00 [RATE-LIMIT] INFO: remaining requests: 59.007
Sep 20 15:23:29 hasstst addon_a0d7b954_uptime-kuma[506]: 2024-09-20T11:23:29-04:00 [RATE-LIMIT] INFO: remaining requests: 60
Sep 20 15:23:29 hasstst addon_a0d7b954_uptime-kuma[506]: 2024-09-20T11:23:29-04:00 [RATE-LIMIT] INFO: remaining requests: 59.009
Sep 20 15:23:39 hasstst addon_a0d7b954_uptime-kuma[506]: 2024-09-20T11:23:39-04:00 [RATE-LIMIT] INFO: remaining requests: 60
So I guess the backlog of requests must be persisted in the database?
Is there any way to clear the backlog?
We are clearing up our old help
-issues and your issue has been open for 60 days with no activity.
If no comment is made and the stale label is not removed, this issue will be closed in 7 days.
I still have this issue
Based on the number 60, it should be the API rate limiter. I think it should be changed to debug message (hidden by default).
β οΈ Please verify that this question has NOT been raised before.
π‘οΈ Security Policy
π Describe your problem
I'm trying to diagnose/solve getting this message logged every 10 seconds
[RATE-LIMIT] INFO: remaining requests: 60
. Based on other closed issues, I got the impression that some of my monitors are getting throttled.But how do I determine what's getting throttled and creating this backlog?
The first thing I tried was to pause all monitors by pausing each monitoring group. However, even with all monitors paused, I'm still getting the log message every 10 seconds.
Does pausing freeze the backlogged queue of requests?
Is there anyway to see some counters/stats that will give an overview of what might be queued / backlogged?
Currently I have 44 monitors, all pretty generic. The majority are just pings, There are about 6 HTTP and 6 DNS monitors.
Thanks for any insights.
π Error Message(s) or Log
π» Uptime-Kuma Version
1.23.13
π» Operating System and Arch
Home Assistant Add On 0.12.2
π Browser
Firefox 130.0.1
π₯οΈ Deployment Environment