-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Daemon crashes when hyperdrive export
stays open for a while
#69
Comments
Thanks for the report @brechtcs, can you give me the output of |
Right, I knew I'd forgotten something:
|
Today, I unwittingly stopped the daemon while I still had one of those |
Ah yeah GRPC error code 13 is the very informative "Internal" error, and if the daemon gets shut down (or crashes) it looks like this is how that error propagates to the exporting client. I was able to repro it by doing just what you described, so thanks for updating the issue! I'll add some better error handling to the export/import commands to take this into account. This does mean that the first time this happened to you, something else must have killed the daemon. We only keep logs around for the last 2 daemon restarts, so you probably don't have the relevant error anymore, but do you remember seeing anything in |
I did have a look at the But now you mention it, I think it's possible I already restarted the daemon at that point. So the relevant logs could already have been moved to |
I have good news and bad news. The good news (kind of) is it crashed again, so I have the logs now: https://pastebin.com/gQRDkNWr. The bad news is that it seems to be full of info logs again, so I'm not sure you'll be able to get much useful information out of it. I also noticed this time the GRPC error code was 1, not 13. If it follows the Unix convention, I guess that's also a generic error code that doesn't give much information. |
I caught another one. This time I had two |
Describe the bug
On my server I always have some GNU Screen sessions open to keep alive
hyperdive export
for a couple of drives. Once every while this causes the following error, which will crash the entire daemon:I think it's unrelated to the drives that are being exported. At least, I've seen it happen independently for two different drives. Just in case it is relevant though, these are their pubKeys:
aceaaf66960fed56ce1b6e87181cbfbf8cc111bc8c28b7010417f1a4548b59d6/
9bda2b8b224a3a4fef10d6302d07de36e118e5065ea9bc16359091ba968bf13b/
OS
NixOS 20.03, Linux kernel 5.4.41
Node version
13.8.0
Was the daemon installed from NPM or bundled with Beaker?
NPM
The text was updated successfully, but these errors were encountered: