-
Notifications
You must be signed in to change notification settings - Fork 178
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
Suspending system crashes lbrycrd #313
Comments
Was this version 17.2.1? And was it an official build or a custom one? |
You use wireless or wired connection? On suspend network is suspended as well, when you wake up connection can be up again (if it's a kind of VPN it can take a long) say if network takes long that we have in wait, it will throw. After all on exception we should flush data as well, if we did data was corrupt. |
We cannot flush the disk buffers when any arbitrary exception kills the process. The exception may have come from the disk flush itself. However, if there is a specific one that we know doesn't affect the data on disk -- we could catch that one and restart that component or shut-down cleanly. |
I'm unable to reproduce this with |
Sorry for the delayed answer. My PC is wired so I am unsure why this would have happened. It was also the first time of me seeing this. |
I've test it, at least 3 times and can't reproduce with my settings |
I had this happen to me another time a couple of weeks ago, but it's rather sporadic and probably not worth investigating further as a node will not likely suspend every day. |
I have a theory that this is fixed here: bitcoin/bitcoin#18284 . I'm going to bring it into the v19 build. |
On my Kubuntu 18.04 system
I left lbrycrd running before suspending the system to RAM. After resuming I found this in the logs after realizing lbrycrd had crashed:
The expected behavior would be that it continues operating normally
I had to reindex the whole chain to be able to start it again.
The text was updated successfully, but these errors were encountered: