Uploaded image for project: 'Puppet Server'
  1. Puppet Server
  2. SERVER-2696

503 responses sent when the JRuby pool is overloaded should include Connection: close headers

    XMLWordPrintable

    Details

    • Template:
    • Team:
      Froyo
    • Release Notes:
      Not Needed
    • QA Risk Assessment:
      Needs Assessment

      Description

      Puppet Version: 5.5.x, 6.x
      Puppet Server Version: 5.x, 6.x
      OS Name/Version: Any

      Describe your issue in as much detail as possible…

      • Install Puppet Server along with a pool of agents
      • Re-start the puppet service on the agents all at once so they form a thundering herd
      • Configure puppetserver with max-queued-requests set less than the herd size
      • Observe connection state via netstat when an agent receives a 503 response

      Desired Behavior:

      Agents close their connections in response to a 503 before sleeping and re-trying.

      Actual Behavior:

      Agents retain open TCP connections to the server while sleeping due to the default behavior being Connection: keep-alive.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              chuck Charlie Sharpsteen
              Reporter:
              chuck Charlie Sharpsteen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support