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

birth / death #227

Open
marcinn opened this issue Mar 3, 2020 · 2 comments
Open

birth / death #227

marcinn opened this issue Mar 3, 2020 · 2 comments

Comments

@marcinn
Copy link
Contributor

marcinn commented Mar 3, 2020

Hi.

My 4 servers are running scheduler, but 5th started crashing with "There's already an active RQ scheduler" message. But there is no active RQ scheduler on this particular machine. There is active scheduler on other machine.

I've inspected the code and I do not understand what for are registering birhts and deaths. There is lock already implemented. The scheduler_key is shared between all instances. There is no real difference between "local" and "remote" instances.

I think that briths and deaths can be removed. Any thoughts?

Edit: sometimes rqscheduler runs on two or more machines, sometimes just one can work at once. This is bad, because there is no redundancy (failover)

@oxalorg
Copy link
Contributor

oxalorg commented Apr 24, 2020

@marcinn I think this should be fixed on master as #212 was merged recently.

@marcinn
Copy link
Contributor Author

marcinn commented Apr 24, 2020

Thanks! I'll try if I had some time.

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