mpi-sws-rse/datablox — Issue #19: When the Caretaker receives a sigterm, it should tell its children to stop
Author: jfischer
Created: 2011-12-27 16:30:08+00:00
State: open

The caretaker should stop its children (processes running individual blocks) when it receives a SIGTERM or otherwise exits its main loop. Currently, the children are left as zombies.

A couple options for telling the children to stop:
* Send a special stop message to their queue
* Send a SIGTERM to each child
* Run the children as slave processes using Python multiprocess package. The only issue with this approach is that it may make it more difficult to implement blocks in C/C++ or other non-python languages.