Uploaded image for project: 'libzmq'
  1. libzmq
  2. LIBZMQ-323

Unexpected behaviour epgm pub/sub socket in case of intensively use

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Incomplete
    • Affects Version/s: 2.1.11, 3.2.0
    • Fix Version/s: None
    • Component/s: core
    • Labels:
    • Environment:

      Win7, x86/x64

      Description

      It seems that applications which using 0MQ library intensively (>1k requests/sec) behave in unexpected way .

      When I try to send many messages(~1M) between 2 computers using epmg broadcast (pub/sub), and at some moment (after >200-500k messages which were sent and received successfully) something is going wrong and one computer stops receiving all messages from the other. I tried to stop sending messages for a while, wait some time- all is useless.
      Only if I restart one socket (no matter which one: on the first or on the second computer), at the beginning everything is good, but then problem repeats.

      Here you can find small test application in attachment:
      To test:
      Run application on 2 computers on one local net.
      Expected output:
      "Send

      {0} messages"
      and "Received multi {0}

      "
      Real output:
      at the beginning: as expected, afters some time only "Send

      {0}

      messages"

      P.S.
      Since I use .NET binding, initially I have created issue on clrzmq queue(https://github.com/zeromq/clrzmq/issues/45), but they advised me to report bug here.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              suilevap Pavel Raliuk
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: