-
Notifications
You must be signed in to change notification settings - Fork 47
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
Failed with result 'signal' , Restart=on-failure ? #52
Comments
You can uncomment restart on failure, but that shouldn’t be necessary. (It’s a band-aid). it looks like you may be running out of disk space and that’s what’s causing the crash. I say that due to the system messages just before. Have you dried ‘df’ After the crash just to See if anything is full. |
It doesn't look like it's running out of space to me, but this is basically the extent of my linux knowledge. It crashed last night when I was using it, but it restarted itself so quick I didn't even notice until I checked the log this morning:
Just as before, no logs generated for 20 minutes or more before it fails. Having it restart on it's own fixes the practical usability but you are right about it being a band aid. |
It doesn't look like disk space. Can you set logging to debug, and post the information from the log file just before it crashes? Hopefully that will give me a better understanding of why. |
You can follow these instructions to enable core files https://pve.proxmox.com/wiki/Enable_Core_Dump_systemd rebuild the code with debug symbols (you don't have to install the debug version) when it crashes "sudo -i" to become root, run gbd and dump the back trace with the bt command Note this is an example where I forced it to crash and not a real issue....
|
BTW it says it failed with signal SEGV (segment violation) which means it tried to dereference a pointer that was NULL or uninitialized. |
I'm running a different version of aqaulinkd but I see crashes every couple days. I captured a core and there is a function callback pointer with an invalid value. Perhaps this is fixed in a newer version of mongoose or there is a data structure being passed in that is not initialized.
|
So I have been monitoring my logs, and it looks like I haven't had any crashes for a few weeks. I did a complete reinstall on a freshly flashed card a while back after I screwed up some network settings. So maybe that fixed it somehow, even though I had tried that before like twice and the problem persisted. I am going to close this issue for now, but I will post again if anything comes up. Thanks for your help. |
I've been getting crashes of aqualinkd for the few weeks I've had it installed. Running on a pi zero w on rasbian stretch lite. Not too big of a deal but I have to restart the service or reboot the pi which I can't do from the spa ;)
system error logs upon crashes are these:
I've searched all my logs and can't find any bad checksums or bad packets like here in issue #30
do i need to enable DEBUG_SERIAL to find checksum errors?
I noticed that
Restart=on-failure
is commented out in aqualinkd.service . Is this for a reason? Will I run into problems if I enableRestart=on-failure
The text was updated successfully, but these errors were encountered: