[zeromq-dev] zmq+openpgm : memory grow without bound

Steven McCoy steven.mccoy at miru.hk
Fri Jul 19 01:17:35 CEST 2013

On 18 July 2013 18:27, Leo Wu <mail.leowu at gmail.com> wrote:

> 3.  Set the socket rate (100000) and socket recovery ivl (10).

This is quite large,  100mbit over 10s is 125MB plus any queuing within 0mq
due to throttling.

Because the default configuration does not use congestion control there is
no feedback on network congestion or poor performance, if you send as fast
as possible you will first fill the UDP queue, second fill the PGM transmit
window, and third fill all memory with the 0mq deferred send queue.

In basic terms this means you must always throttle what you send into 0mq
when using a congestion free protocol.  The alternative is to set a
watermark and silently discard enqueuing messages.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130718/28cafe63/attachment.htm>

More information about the zeromq-dev mailing list