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

Reevaluate default proxy.config.net.listen_backlog

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • Network
    • None

    Description

      Leif mentioned in TS-2395 that he was having some problems related to proxy.config.net.listen_backlog.

      According to this article:

      http://blog.dubbelboer.com/2012/04/09/syn-cookies.html

      the kernel takes the backlog value, adds 1 and rounds up to the nearest power of 2. It sets max queue length to the log2 value of this number.

      This is why backlog of 511 results in max queue length of 9 (what you want) where as setting backlog to 512 expecting a max queue length of 9 you end up with 10.

      The above article mentions that nginx and apache set a default backlog of 511.

      Attachments

        Issue Links

          Activity

            zwoop Leif Hedstrom added a comment -

            Lets close this in favor of TS-2523.

            zwoop Leif Hedstrom added a comment - Lets close this in favor of TS-2523 .

            People

              Unassigned Unassigned
              dcarlin David Carlin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: