-
-
Notifications
You must be signed in to change notification settings - Fork 366
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
Driver restart fails to kill older sibling and never retries #1423
Comments
Some findings:
|
Remaining issues to investigate (another time):
|
Now that the fix is deployed on a test system, I see the driver reporting loss of connection fairly often, so the point on locking up in reads (probably) feels urgent. However now the scripted recovery from this works, being able to kill the other driver. |
Now that #1422 is merged, I hope to see if that fixes the root problem of driver stalling in this case; built and left running... |
Empirically, it did not help, after ~30 min give or take, the driver stalls and my cronjob restarts it. |
SIGKILL an earlier driver instance if SIGTERM does not cut it [part of #1423 fix]
Remaining ideas offloaded into other tickets, so this one can be closed. |
While troubleshooting a loss of connection on a system where crontab has scripts trying to restart NUT driver (and OS USB stack) upon hiccups, I found a sort of race:
upsc
response is seen, script does it):TODO:
upsc
(and/or socket file got replaced along with PID file?) and does not log regular device walks.The text was updated successfully, but these errors were encountered: