Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-12391

Limit RPC threads on Minion using bulkhead pattern

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 27.0.0
    • Component/s: None
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon 2020 - March 18th, Horizon 2020 - April 29th, Horizon 2020 - May 13, Horizon 2020 - May 27

      Description

      In case of Provisiond node scan, there is a chance that minion could receive too many RPC request at a given time. Although scanThreads is limited to 10 by default in Provisiond but as the requests from OpenNMS to Minion are async, RPC requests that could originate from one node scan are unlimited when those scans are happening on minion.

      To avoid this, we could limit the number of threads on Minion to a configurable limit with a default limit to 1000.

      To start with we could implement this for Kafka RPC.

        Attachments

          Activity

            People

            Assignee:
            cgorantla Chandra Gorantla
            Reporter:
            cgorantla Chandra Gorantla
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: