[zeromq-dev] ZMQ Freezing Windows

Pieter Hintjens ph at imatix.com
Tue Aug 7 09:54:20 CEST 2012

On Tue, Aug 7, 2012 at 4:28 PM, Dave Rutlidge <anemailfordave at gmail.com> wrote:

> Thanks for that. I set the HWM at 10 for all the sockets. When I ran it I
> still got the assertion failure after a short time (couple of seconds, if
> that):
> Assertion failed: fds.size () <= FD_SETSIZE (..\..\..\src\select.cpp:69)

Sounds like you changed this in the wrong place or in a single source
file. There is in the MSVC project a definition for FD_SETSIZE; set
this to 1024 or more, and rebuild everything (and remove your
hand-made change).

> I changed the code to add a number to the "Hello" message. I got the
> assertion after about 1027 messages sent.

It's a matter of how many sockets you have open, not messages you send.


More information about the zeromq-dev mailing list