-
Notifications
You must be signed in to change notification settings - Fork 338
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
Feature Request: Graceful shutdown and graceful restart option #113
Comments
In next version (2.5) will be added graceful reload (config reload without loosing state) but there no reason for waiting, mining work is pure random here is no any kind of final share. One true solution is switch job as fast as possible. |
In dev branch added graceful reload support, more details: #119 |
More details about remote configuration change #40 (comment) |
I figured it out, it expired share, itself it not issue and sometimes happen. |
Fixed. |
could it be possible to send 'old shares' received after the switch to the previous pool? |
It possible, but required non trivial logic to track both connections new one and old one for some time, but in worst case on few second can be loose (network latency + miner latency, especially for GPU). |
I think the original way I thought this would work is to essentially wait for shares to come in per connection and upon receipt of a share from an 'old' pool, send the share to the old pool and redirect the connection to the new one. If it can work this way that would be awesome. Thanks for your help I appreciate it! |
I hope this is in the right place... but I have a feature request for xmrig-proxy....
A graceful shutdown/restart option whereby when the shutdown request is received, xmrig-proxy 'waits' for workers to finish up their work and then stops accepting work from them.
Process flow example using 2 mining rigs connecting to a proxy:
Graceful shutdown/restart request received:
Configurable option "Timeout" : Wait X number of seconds for shares when shutdown received.
Hopefully self-explanatory why I'm asking for this... but I'll explain anyway:
The idea here being that when the shutdown/restart request is received, the miners aren't losing the work they are currently doing.
The text was updated successfully, but these errors were encountered: