We are getting regular "bursts" of Redis::CannotConnectError reported by HoneyBadger.
Here is one: https://app.honeybadger.io/projects/58989/faults/126038285
They show up in "bursts" of multiple reports from HB, which is a bit weird in that we'd expect HB to "group" them but I guess they appear as different groups? Haven't gotten to the bottom of that.
Some investigation of previous burst...
-
3 reports at 2am, each report is only 1-5 isntances, so it wasn't a lot
- These are on our
Rails.cache ephemeral redis, not our persistent Redis used for ActiveJob.
- But, I hadn't realized before, we actually had THOUSANDS of these occuring on May 3rd between 6:50 am and at 7:45am... since it's just cache, it's not necessarily a visible problem to users, but interesting. And maybe some times before that.
-
Connect timeout.
- Could be from CPU exhaustion? But the cache redis is currently only using 1% of CPU… it doesn't look like historical data is available from stackhero
- If it’s actual network troubles that is annoying. From error message it looks like we have 1s set for connection timeout, which ought to be plenty and is already too long.
-
all the resource usage looks fine — at this point in time, haven’t found historical.
-
Nothing seen in the very limited logs available in stackhero
-
There is a rails-managed connection pool in use for cache, but ConnectionTimeout error has stacktrace in netwroking stack, suggesting this is actual network to redis issue, not connection pool running out of max connections.
-
Updating to latest redis might not hurt, it’s in our Ready, when we get to it, we can go from a 7.x to latest 8.x.
We are getting regular "bursts" of
Redis::CannotConnectErrorreported by HoneyBadger.Here is one: https://app.honeybadger.io/projects/58989/faults/126038285
They show up in "bursts" of multiple reports from HB, which is a bit weird in that we'd expect HB to "group" them but I guess they appear as different groups? Haven't gotten to the bottom of that.
Some investigation of previous burst...
3 reports at 2am, each report is only 1-5 isntances, so it wasn't a lot
Rails.cacheephemeral redis, not our persistent Redis used for ActiveJob.Connect timeout.
all the resource usage looks fine — at this point in time, haven’t found historical.
Nothing seen in the very limited logs available in stackhero
There is a rails-managed connection pool in use for cache, but ConnectionTimeout error has stacktrace in netwroking stack, suggesting this is actual network to redis issue, not connection pool running out of max connections.
Updating to latest redis might not hurt, it’s in our Ready, when we get to it, we can go from a 7.x to latest 8.x.