Menu

Assertion failure: (fds.size() >= FD_SETSIZE)

Blaz Kelbl
2017-10-03
2017-10-23
  • Blaz Kelbl

    Blaz Kelbl - 2017-10-03

    Hi,

    when receiving packets to a ROUTER socket from more than 64 clients I get the attached error. . From a cursory search on the net the problem appears to be the windows limit of 64 file descriptors per pollset. I believe this is configured in the undelying zmq library that gets used by the labVIEW wrapper. Is it possible for you to reconfigure this to a bigger number with the next distibution of the labview zmq library?

    https://github.com/zeromq/libzmq/issues/109

    Cheers,
    Blaž

     

    Last edit: Blaz Kelbl 2017-10-03
  • Martijn Jasperse

    Hi,
    Do you have a suggestion of what a better size would be? I can see there might be problems making it too large by default. I could try 256, for example.

    Cheers,
    Martijn

     
  • Martijn Jasperse

    I had a quick go at rebuilding the DLL with a 1024 limit, but since I don't have a test case, I can't verify whether it worked or not. Please try the attached DLLs and let me know if it resolves the issue.

    Cheers,
    Martijn

     
  • Blaz Kelbl

    Blaz Kelbl - 2017-10-23

    Hi!

    The rebuilt version works good. Thank you!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.