Re: [zeromq-dev] multiprocessing forked children kill zeromq server

2013-08-30 Thread MinRK
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 used by any calls in the child process.​ ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org

Re: [zeromq-dev] multiprocessing forked children kill zeromq server

2013-08-30 Thread MinRK
On Fri, Aug 30, 2013 at 11:50 AM, Townsend, Scott E. (GRC-RTM0)[Vantage Partners, LLC] scott.e.towns...@nasa.gov wrote: 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

Re: [zeromq-dev] multiprocessing forked children kill zeromq server

2013-08-30 Thread Matt Connolly
I've been looking at a similar scenario using ruby. As far as I can tell you cannot even touch anything relating to the parents context in the child, including closing it. I haven't fully tested it out but it looks to me like the pipes used for internal communication in the context will cause

Re: [zeromq-dev] multiprocessing forked children kill zeromq server

2013-08-30 Thread MinRK
On Fri, Aug 30, 2013 at 3:12 PM, Matt Connolly matt.conno...@me.com wrote: I've been looking at a similar scenario using ruby. As far as I can tell you cannot even touch anything relating to the parents context in the child, including closing it. I haven't fully tested it out but it looks to