[zeromq-dev] ZeroMQ Client Lose Connection

Martin Hurton hurtonm at gmail.com
Tue Oct 9 13:08:36 CEST 2012

Hi Ji, did you try to set ZMQ_TCP_KEEPALIVE socket option on the client?

- Martin

On Mon, Oct 8, 2012 at 11:30 AM, Ji Zhang <zhangji87 at gmail.com> wrote:
> Hi,
> I have a client (PULL) connect to the server (PUSH). At first they
> work just fine. But later the connection is broken, and client-side
> ZeroMQ doesn't try to reconnect to server.
> One mysterious thing is that if I do netstat in client side and server
> side, the client side shows the connection is still ESTABLISHED, while
> the server side doesn't have the corresponding entry. I suppose this
> is the reason why client-side doesn't do reconnecting.
> Client and server are in differenct IDC, and there is a band limit
> between them. But when the disconnection happens, our monitor shows it
> does not hit the band limit.
> And, when I do netstat in server side (when the connection is fine),
> sometimes the Send-Q column is very big, and then drop down to 0.
> That's all the information I have. If you need more details please tell me.
> Thanks.
> _______________________________________________
> 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