[zeromq-dev] MAX ZMQ Sockets in a Context

Praveen Baratam praveen.baratam+zmq at gmail.com
Wed Feb 23 14:34:27 CET 2011

Dear All,

There seems to be a *limit* on the number of zmq_sockets that can be created
in a zmq_context. I am using *inproc* transport.

In my tests the maximum possible is between *500-515 sockets per context *on
my linux development box (Ubuntu 10.10 Desktop, Core i3 530, 4 Gb DDR3 Ram).

Is this a configurable value?

How can we increase this limit?

Moreover the zmq_socket call fails with errno set to 24 which is not equal
to EMTHREAD as per documentation.

Thank you,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110223/794c54b1/attachment.htm>

More information about the zeromq-dev mailing list