On 07/10/2011 05:19 PM, Tim Cooijmans wrote:

> This was all the code I was using. When I'm only creating a single context and
> pre-allocating sockets as you suggested, I'm hitting the limit at 300. Which
> seems logical given the 1024 limit.

Pair of 0MQ sockets with a single TCP connection between them consumer 3 
file descriptors on each peer. One for the TCP socket itself, two for 
the socketpair used by the 0MQ socket for internal eventing.

1024/3 = 341. That sounds more reasonable than 70.

Martin
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to