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

Multiple processes running when limit is set to 1 #50

Open
skorper opened this issue Jul 15, 2021 · 3 comments
Open

Multiple processes running when limit is set to 1 #50

skorper opened this issue Jul 15, 2021 · 3 comments

Comments

@skorper
Copy link

skorper commented Jul 15, 2021

We have a singleton process (only enabled on 1 worker, and limit is 1), but we are occasionally seeing 2 concurrent runs of that process.

It seems like this problem is more likely to occur when the process is failing.

@galenatjpl
Copy link
Contributor

One theory is that there are various increment and decrement counter points in the code, and it's probably some race condition where the counter is somehow 0 when it really should be 1 for a very short time, and the worker thinks it's okay to grab and launch another process.

@galenatjpl
Copy link
Contributor

This could be complicated and time-consuming to fix. Doesn't happen all that often..
Rough time estimate: 1 week

@kgrimes2
Copy link

Related to #61

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

No branches or pull requests

3 participants