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

ql:tracked set is leaking canceled jobs #40

Open
databus23 opened this issue Feb 17, 2014 · 0 comments
Open

ql:tracked set is leaking canceled jobs #40

databus23 opened this issue Feb 17, 2014 · 0 comments

Comments

@databus23
Copy link
Contributor

I just noticed that the ql:tracked set in my productive Qless installation contained ~ 450.000 entries while there are only < 8.000 jobs this Qless installation is still aware off.

Digging into it a little is seems to me jids are only removed from the ql:tracked key when they are explicitly untracked. The jid is not removed from the ql:tracked set when the job is canceled. This leads to an ever growing ql:tracked sorted set which breaks the qless webui as soon as the tracked lua script takes longer then 5 seconds to loop through the set.

I'm still running on qless 0.9.3 but having a quick glimse at the current master of qless-core it seems to me this problem still exists.

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