Skip to content
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

Too many Redis calls happen randomly #471

Open
SlavaSkvortsov opened this issue Jul 19, 2024 · 0 comments
Open

Too many Redis calls happen randomly #471

SlavaSkvortsov opened this issue Jul 19, 2024 · 0 comments

Comments

@SlavaSkvortsov
Copy link

SlavaSkvortsov commented Jul 19, 2024

From time to time we notice that ARQ starts to produce a lot of calls to Redis. It consumes a lot of connections and puts a lot of load on Redis
Here how it looks like during the incident:
image

And most of the time it looks like this:
image

It feels like it starts to attempt to execute jobs over and over nonstop. I think this behaviour could happen when you have queue_read_limit lower than max jobs on all servers, but that's not the case for us.

We're using:

python==3.11.3

arq==0.26.0
redis==4.6.0

Unfortunately, I can't reproduce the issue locally, but it happens a couple times a month on prod

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant