[zeromq-dev] mailbox.cpp Assertion

Thomas S Hatch thatch45 at gmail.com
Mon Jul 9 21:17:06 CEST 2012


On Mon, Jul 9, 2012 at 1:14 PM, Chuck Remes <lists at chuckremes.com> wrote:

>
> 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
>
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
> Yes, they are, here is the code:
https://github.com/saltstack/salt/blob/develop/salt/minion.py#L470

I do not doubt that I have made a mistake in here
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120709/fead149c/attachment.htm>


More information about the zeromq-dev mailing list