Reduce the default Inactive timeout of remote agents

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Fixed
    • 9.4.0
    • Component/s: Agents
    • None
    • 61

      Problem

      The socket inactivity timeout of remote agents is 5min this means, an agent can be dead for 5 mins before Bamboo will close the transport. For this, one single bamboo agent terminated non-gracefully will within minutes lead to a disconnect of all bamboo agents due to the ActiveMQ broker blocking all queues after 5 min of the event if the dead transport is used.

      This was discussed in the community also

      https://community.atlassian.com/t5/Answers-Developer-Questions/Tuning-AMQ-for-Large-Bamboo-Instances/qaq-p/471253

      Suggestion

      Possible reduction of the following defaults may be useful;

      • maxInactivityDuration (in bamboo.cfg.xml) from 5min to 90s
      • Introduce a socket timeout on the transport of 45s

      Example Broker URI configuration:

      nio://0.0.0.0:54663?wireFormat.maxInactivityDuration=90000&transport.soWriteTimeout=45000
      

      If using bamboo.cfg.xml:

      nio://0.0.0.0:54663?wireFormat.maxInactivityDuration=90000&transport.soWriteTimeout=45000
      

       

            Assignee:
            Mateusz Szmal
            Reporter:
            VICTOR-OSEGHALE (Inactive)
            Votes:
            9 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved: