Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-8683

Change http_read_timeout and runtimeout defaults to be less than infinite

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 6.0.0
    • None
    • None
    • Bug Fix
    • Hide
      The http_read_timeout default changed from infinite to 10 minutes. This prevents the agent from hanging if there are network disruptions after the agent has sent an HTTP request and is waiting for a response which might never arrive.

      Similarly, the runtimeout default also changed from infinite to 1 hour.
      Show
      The http_read_timeout default changed from infinite to 10 minutes. This prevents the agent from hanging if there are network disruptions after the agent has sent an HTTP request and is waiting for a response which might never arrive. Similarly, the runtimeout default also changed from infinite to 1 hour.
    • Needs Assessment

    Description

      Puppet's http_read_timeout currently defaults to 0 which means infinite. If the agent sends an HTTP request and is waiting for a response, but the response never arrives (eg hard server crash, cable disconnect, router crash, etc), then the agent will hang indefinitely unless runtimeout is set to a non-zero default, or TCP keepalive detects if the connection is still valid.

      In Puppet 6, we should change the http_read_timeout to something less. It also needs to be greater than the amount of time it takes the server to process catalog, report, etc requests.

      We should also change the runtimeout to be something less than infinite as well.

      Attachments

        Issue Links

          Activity

            People

              jacob.helwig Jacob Helwig
              josh Josh Cooper
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support