[zeromq-dev] multiprocessing forked children kill zeromq server

2013-08-30 Thread Townsend, Scott E. (GRC-RTM0)[Vantage Partners, LLC]
We have a system which uses Python multiprocessing to run multiple simulations concurrently in child processes, with main server - child process communication using multiprocessing. This works fine standalone. For a GUI, we use zeromq and tornado for communications between the main server and

[zeromq-dev] multiprocessing forked children kill zeromq server

2013-08-30 Thread Townsend, Scott E. (GRC-RTM0)[Vantage Partners, LLC]
MInRk noted that: You cannot continue to use zmq sockets after a fork - you have to take care in your application that no sockets created before the fork will be [not be] used by any calls in the child process.​ Thanks, that makes sense. But can anyone provide guidance in how to do that?