[zeromq-dev] mailbox.cpp Assertion

Chuck Remes lists at chuckremes.com
Mon Jul 9 21:14:24 CEST 2012


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

> On Mon, Jul 9, 2012 at 12:52 PM, Ian Barber <ian.barber at gmail.com> wrote:
> 
> 
> On Mon, Jul 9, 2012 at 7:13 PM, Thomas S Hatch <thatch45 at 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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120709/23e20240/attachment.htm>


More information about the zeromq-dev mailing list