[zeromq-dev] missing events ZMQ_FD / ZMQ_EVENTS

Gerhard Lipp gelipp at googlemail.com
Mon Apr 23 14:53:26 CEST 2012


Hello,

I can observe the same behavior as stated here
(http://lists.zeromq.org/pipermail/zeromq-dev/2011-November/014615.html).
What I observe is also a XREP/XREQ (ROUTER/DEALER) prob, where the
XREQ is waiting forever to receive a message (which has been
definitely sent). When I poll (timer based) the ZMQ_EVENTs, the XREQ
is readable as expected. I am using libev (select based) for doing IO
and I am aware of the edge-based trigger behaviour (I am
reading/forwarding messages until ZMQ_EVENTs does not include the
ZMQ_POLLIN bit any more).

What is the status of this issue?
Unfortunately my setup is a bit complicated to share, but i would like
to help as much as possible.

Regards,
Gerhard

A libev workaround is to use both EV_READ and EV_WRITE bits, though
this adds a lot of unnecessary wake ups / callbacks etc.



More information about the zeromq-dev mailing list