[zeromq-dev] zmq_msg_send blocks reading from zmq::mailbox_t
Marcin Romaszewicz
marcin at brkt.com
Thu Jul 2 02:12:49 CEST 2015
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150701/134b6e77/attachment.htm>
More information about the zeromq-dev
mailing list