-
Notifications
You must be signed in to change notification settings - Fork 3
mxqd recover and pid wrap #90
Comments
What is a solid way to identifiy, whether a certain process is a mxqd reaper or not? Can't use "same program file as me" because we support upgrading and restarting the daemon without killing the jobs. |
rewrite $0 ? |
Would be possible. Potential caveat: $0 if overwritten in place, can only get shorter not longer. And "./mxqd" is just 6 characters. Maybe use comm ( |
Could you send it a signal ( |
Like not dying? :-) |
We've seen this:
mxqd could notice the reboot and declare all pids as dead. But similar events could happen without reboot if pids wrap:
So we might consider to further validate the processes.
The text was updated successfully, but these errors were encountered: