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

Web App uses ~40 connections for a single request?? #287

Open
stephenreay opened this issue Dec 11, 2020 · 1 comment
Open

Web App uses ~40 connections for a single request?? #287

stephenreay opened this issue Dec 11, 2020 · 1 comment

Comments

@stephenreay
Copy link

We're using Qless in a non-ruby app, but we do use the ruby Web App for visibility of queue operations.

Today, after we had an event that produced a larger-than-normal load of jobs to be queued (i.e. the completed queue is now truncated at the last 50K), I notice the web app is either very slow to respond, or crashes with an error about connection being reset.

So I went into Redis, and monitored the client stats. Our regular application (which also uses redis for session data), plus our regular Qless workers mean we have a fairly stable connection count of around 70. Every time I try to load the Qless web UI, it jumps by about 40.

Regardless of these being pretty pedestrian numbers compared to Redis' own internal client limits: it doesn't seem at all normal to me that a single request to the Web UI would create 40 connections to the Redis server.

Is this something we can tune via environment variables or a config option?

@dlecocq
Copy link
Contributor

dlecocq commented Dec 11, 2020

Although it has been a while since I've used the webapp, that does seem wrong and not in line with my memory of how it would typically behave. Off hand I don't know of any setting or environment variable to adjust that :-/

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

2 participants