On Sat, Nov 12, 2011 at 11:37 PM, Thomas S Hatch <[email protected]> wrote:

> I am seeing something interesting that I suspect is a pyzmq issue. I have
> some code that connects to a REP server and shoots off a REQ,
> then receives. I am changing the code to not hang if the REP server is not
> responding but it hangs when the python function returns. Any ideas what
> could be causing this?
>
> Here is the code (same issue with a poller):
> http://pastebin.com/XGzLxM0j
>
>
> Any ideas?
>

With some added info, when the application hangs and I hit ctrl-C I get
this error:

Exception KeyboardInterrupt in <zmq.core.context.Context object at
0x2722cb0> ignored

Which leads me to believe that the context is not being cleaned up
correctly.
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to