[zeromq-dev] Assertion failed: fds.size() <= FD_SETSIZE in select.cpp:67

Олег Севостьянов oleg.sev at gmail.com
Tue Nov 16 10:27:37 CET 2010


2010/11/16 Martin Sustrik <sustrik at 250bpm.com>:
> Nope. Yust set FD_SETSIZE to 1024 in 0MQ MSVC project.

I try to change select.cpp - remove FD_SETSIZE and set 1024 as const,
and then run my test.

    //  Ensure we do not attempt to select () on more than FD_SETSIZE
    //  file descriptors.
    zmq_assert (fds.size () <= 1024);

Test failed on 511 cycle with message "zmq error: Too many open files".

-- 
С уважением,
  Олег Севостьянов

JabberID: boojab at jabber.ru



More information about the zeromq-dev mailing list