[zeromq-dev] zmq_msg_send blocks reading from zmq::mailbox_t
Pieter Hintjens
ph at imatix.com
Thu Jul 2 20:16:43 CEST 2015
Can you make a minimal test case?
On Thu, Jul 2, 2015 at 2:12 AM, Marcin Romaszewicz <marcin at brkt.com> wrote:
> Hi Guys,
>
> We had our prod systems running on 3.2.4, and to work around some file
> descriptor leaks, I'm testing 4.1.2 before back-porting jbreams' heartbeats
> patch, and testing unmodified 4.1.2 is failing for me in production.
>
> I've got ZMQ_ROUTER sockets wedged in zmq_msg_send, spinning in a while
> (True) loop calling recv() on mailbox in zmq::socket_base_t::send().
>
> Before I start chasing the cause of this, is there a known mistake on my
> part which could cause this?
>
> The socket is a ZMQ_ROUTER, with all settings at default except for
> ZMQ_LINGER=0 and ZMQ_ROUTER_MANDATORY=1
>
> I'm pretty sure I'm sending stuff to a dead peer, but not 100% certain yet.
>
> Any tips on what I should be looking for to diagnose this? The same code,
> unmodified, doesn't have this issue against zmq 3.2.4.
>
> Thanks,
> -- Marcin
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
More information about the zeromq-dev
mailing list