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

Connection to the origin can allocate 1MB of iobuffers

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.3.0, 6.0.0
    • Fix Version/s: 7.1.0
    • Component/s: HTTP
    • Labels:

      Description

      When connecting to an origin there can be 1MB of iobuffers allocated. This happens under TLS and non-TLS. Seems like it happens when the origin doesn't supply a content-length. More investigation is needed.

      Configuration:

      [bcall@homer trafficserver]$ tail -1 /usr/local/etc/trafficserver/remap.config
      map / https://www.flickr.com
      

      Client:

      [bcall@homer trafficserver]$ curl -D - -k https://127.0.0.1:4443/
      [bcall@homer trafficserver]$ sudo kill -SIGUSR1 $(pidof traffic_server)

      Server:

           allocated      |        in-use      | type size  |   free list name
      --------------------|--------------------|------------|----------------------------------
                  1048576 |                  0 |      32768 | memory/ioBufAllocator[8]
      

        Attachments

          Activity

            People

            • Assignee:
              bcall Bryan Call
              Reporter:
              bcall Bryan Call
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: