[zeromq-dev] Issues with large numbers of clients

Pieter Hintjens ph at imatix.com
Wed Jan 23 21:16:28 CET 2013

On Wed, Jan 23, 2013 at 8:01 PM, Will Moss <wmoss at bu.mp> wrote:

> I can certainly make a test case for the socket leakage, but as I said
> before, I thought this was a known issue, so I'm a little confused.

The issue the Guide talks about is application code that tracks peers.
I've not tested, and it's not documented, how the ROUTER socket
manages its internal tables. I'd expect the router socket to clean up
its internal tables when clients disconnect. So if it's not doing
this, we need a test case.

> I doubt I'm going to be able to come up with a test case that can get a
> socket into EPOLLERR or EPOLLHUP, but I think it's reasonably easy to see
> how this can happen from the code.

That may be enough to fix the problem.


More information about the zeromq-dev mailing list