-
Notifications
You must be signed in to change notification settings - Fork 418
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
PIGPIOD restart problem #276
Comments
I added the following line:
to pigpiod.c and this error don't happen anymore. However, since so many signals are handled by terminating, my program is in a loop right now. |
That is bad in multiple ways! 😱 You should only use Also - by definition - SIGKILL cannot be caught/handled/ignored (https://en.wikipedia.org/wiki/Signal_%28IPC%29#SIGKILL) {and it is one of the signals (the other is |
We gave up forking and it solved our problems. This daemon seems to have some issues with it, plus the way it handle signals probably doesn't help. I'll take a look into the issue you mentioned, thank you for your answer. |
I shall not be making any changes in this area. |
Greetings,
I've been having a problem when trying to restart my pigpiod daemon after killing the process with a SIGKILL. Usually the first boot happens with no problem at all but after killing the process and trying to restart it, the following error arises:
st-one pigpiod[9877]: 2019-05-06 10:56:10 initMboxBlock: init mbox zaps failed
This is the code for my service:
And this is my setup:
A few days ago I found a post where someone suggested this was a memory problem. But even after terminating the previous running daemon? After that, I tried to change de memory allocation mode to PMAP, however I couldn't say if the problem persisted or not because the whole system froze when the daemon was killed.
Any suggestions?
Ty
The text was updated successfully, but these errors were encountered: