I ensure, dispynode is running on the plethora of nodes using Ansible. Unfortunately, Ansible has a nasty habit of killing any processes started during the run -- see ansible/ansible#33410.
With 4.9.1 I was able to work-around this by using nohup:
Ideally, the use of --daemon would cause the program to properly disconnect itself from the tty -- doing, what daemon(3) does on Linux and BSD -- and become a proper daemon.
Less ideally, some way of telling it to ignore certain signals would be needed... I had to revert back to 4.9.1 because of this problem :(
Sorry about that. In 4.10.0 I added signal handling for SIGQUIT and SIGHUP. The fix just committed doesn't handle those signals if dispynode is started with --daemon option.
I ensure,
dispynode
is running on the plethora of nodes using Ansible. Unfortunately, Ansible has a nasty habit of killing any processes started during the run -- see ansible/ansible#33410.With 4.9.1 I was able to work-around this by using
nohup
:Unfortunately, the trick no longer works with 4.10 and the
dispynode
process dies as soon Ansible finishes running:Ideally, the use of
--daemon
would cause the program to properly disconnect itself from the tty -- doing, whatdaemon(3)
does on Linux and BSD -- and become a proper daemon.Less ideally, some way of telling it to ignore certain signals would be needed... I had to revert back to 4.9.1 because of this problem :(