[zeromq-dev] Can't get ZMQ_REQ_RELAXED to run

Christian Kamm kamm at incasoftware.de
Tue Nov 19 16:42:56 CET 2013

Hi Björn,

It'd be great if you could try reducing the issue to a test case. Right
now I can't determine what's going on.

On 11/19/2013 03:54 PM, Björn Kuhlbrodt wrote:
> * It is the very first send on that socket that fails. But I'm
> gaining the impression that to 10% case where the send succeeds are
> those where I haven't started the application in a while (>~10
> minutes, not confirmed). I'm propertly closing the socket and context
> properly afaik, but may be something is hanging for ~minutes before
> it kills itself. Procexp shows no processed left from my app though.

The new process should succeed with connect() and send() even if the old
one were still running.

> * Right, timeout is infinite. If I set a timeout, I get a res = 11 of
> which neither I nor zmq_strerror can make any sense.

11 is EAGAIN. But you shouldn't be seeing it directly after a connect()!
A test case would be appreciated.


More information about the zeromq-dev mailing list