[zeromq-dev] Is HWM supported for PUSH/PULL

James Harvey jamesdillonharvey at gmail.com
Wed Oct 10 11:59:48 CEST 2018

Which side (send or recv) has the issue with the growing queue?

If it's the recv side and your "extremely slow" process is only calling
recv rarely then there may be no events to trigger the queue to check the

Try calling zmq_getsockopt[3] with ZMQ_EVENT intermittently on the recv
socket to see if the issue resolves itself

On Tue, Oct 9, 2018 at 5:40 PM Anoop K Prabhu <anoop.kp at uncannyvision.com>

> Hi all,
> I had been working on zmq using push/pull. Assuming that my receiver is
> extremely slow, I would like the sender to keep sending to the queue of HWM
> of 100 and keep replacing the data in the queue. Right now, HWM doesn't
> seem to work and the queue keeps on getting too large (GB's of size). How
> can I avoid this? Is this a bug with HWM on push/pull technique.
> Regards,
> Anoop
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20181010/181b1ddd/attachment.htm>

More information about the zeromq-dev mailing list