On Jul 9, 2012, at 1:58 PM, Thomas S Hatch wrote:

> On Mon, Jul 9, 2012 at 12:52 PM, Ian Barber <ian.bar...@gmail.com> wrote:
> 
> 
> On Mon, Jul 9, 2012 at 7:13 PM, Thomas S Hatch <thatc...@gmail.com> wrote:
> No, I am confident that we are not passing sockets through threads or 
> processes.
> Could this have anything to do with closing and re opening connections?
> 
> Do you pull the FD out directly, or is this just from accessing via the 
> regular ZMQ_ functions? Also, do you have any idea how quickly a socket might 
> be destroyed and recreated or similar? 
> 
> Ian
> 
> 
> There is an option in Salt that makes the SUB socket close and reconnect to 
> the master every N seconds to recover from disconnection over unreliable 
> connections, aka the internet. The default is every 60 seconds
> 
> It just uses the regular ZMQ function via pyzmq

Can we assume that this socket is removed from the poll items list that 
zmq_poll() uses? (I am assuming you are using zmq_poll() in Salt and that these 
SUB sockets are added/deleted as necessary.)

cr


_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to