Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-2385

http.origin_max_connections is ignored when http.keep_alive_post_out is set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 3.0.5, 4.0.2
    • None
    • Core
    • None

    Description

      Using the following settings:

      CONFIG proxy.config.http.server_max_connections INT 0
      CONFIG proxy.config.http.origin_max_connections INT 200
      CONFIG proxy.config.http.keep_alive_post_out INT 1

      The origin_max_connections is NOT honored and at some point TS would start creating much much more than 200 connections to each origin server.

      To repeat:

      1) simulate 1000 clients and have each of them continuously send requests to TS. It doesn't matter if these are GET or POST requests.
      2) monitor the number of TCP connection to the origin server.
      3) The origin_max_connections might hold up for a few minutes, but after a while, it starts to "break" and you would see close to 1000 connections being created.

      If keep_alive_post_out is turned off, then using the same experiment, TS maintains the outgoing connection count pretty steadily at 200.

      Attachments

        Issue Links

          Activity

            People

              shinrich Susan Hinrichs
              ho Wilson Ho
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: