libzmq icon indicating copy to clipboard operation
libzmq copied to clipboard

Assertion failed: input_stopped (src/stream_engine.cpp:443) after setting send/receive high water marks

Open scottbrogden-iheartmedia opened this issue 4 years ago • 3 comments

Please use this template for reporting suspected bugs or requests for help.

Issue description

We have been seeing memory issues lately we think is related to zeromq, we had previously set the high water mark for send and receive to 0. Thinking setting the high water marks to 0 was contributing to our memory issue we set the high water mark to 1000. But after setting this we see random crashes with the debug line

Assertion failed: input_stopped (src/stream_engine.cpp:443)

Environment

  • libzmq version (commit hash if unreleased):
  • 4.2.5
  • OS:
  • Linux in docker container based off of runtime:3.1-bionic

This looks to be related to https://github.com/zeromq/libzmq/issues/3937. I have both rcvhwm and heartbeat_ivl set. I have turned off rcvhwm and left sndhwm set to 1000 and no crashes after 9 hours.

Has that issue been fixed in later versions, I'm using 4.2.5 now installed through apt-get install -y libzmq3-dev

@scottbrogden-iheartmedia if your issue is indeed related to #3937 then no, 4.3 does not fix it. In our case we disabled heartbeat_ivl and worked it around with custom heartbeats via ordinary zmq messages.

lukaszsamson avatar Sep 17 '21 12:09 lukaszsamson

bug is still exist

ABlueLight avatar May 07 '22 03:05 ABlueLight