-
Notifications
You must be signed in to change notification settings - Fork 56
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
Flush beeshash.dat on SIGUSR1 #297
Comments
I think it already does that on non-fatal termination... That is, if you send a friendly SIGTERM instead of SIGKILL. |
Nice, that means I never loose progress when stopping via CTRL+C? |
It should log the flushing if you do so: Lines 1140 to 1209 in 3a33a53
|
SIGTERM (plain There is a problem with crashes, though: |
Ok, then you could either close the issue or keep it open if you want to have the delayed |
Afaik when killing bees or stopping via CTRL+C some amount of work is lost because beeshash.dat is flushed only every few minutes. Could you create some special signal like SIGUSR1 to flush the data and terminate?
kill -USR1 $(pidof bees)
The text was updated successfully, but these errors were encountered: