[zeromq-dev] triggering process_commands on inactive sockets
Bill Torpey
wallstprog at gmail.com
Thu Aug 23 16:26:55 CEST 2018
I’m posting this here since not everyone on the list will necessarily see the Github issue, and I’m interested in getting as much feedback as possible.
The issue in question ( https://github.com/zeromq/libzmq/issues/3186 ) has to do with finding a good way to trigger process_commands on inactive sockets. In our tests, we see real-time memory utilization steadily increase for processes that only subscribe to data when other processes connect and disconnect from their publisher sockets. The root cause of the problem seems to be that the publisher sockets never get a chance to clean up if we never call zmq_send etc.
The Github issue goes into some detail on potential workarounds, along with their drawbacks. I would very much appreciate any suggestions that the group may have on how to deal with this problem — I can’t believe that we’re the first to run into it.
Thanks in advance for any suggestions!
More information about the zeromq-dev
mailing list