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

enable_read_while_writer not working in 3.2.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.3.1
    • Cache
    • None
    • Ubuntu 10.04

    Description

      enable_read_while_writer is not currently working as it should

      with the settings
      CONFIG proxy.config.cache.enable_read_while_writer INT 1
      CONFIG proxy.config.cache.max_doc_size INT 0
      CONFIG proxy.config.http.background_fill_active_timeout INT 0
      CONFIG proxy.config.http.background_fill_completed_threshold FLOAT 0

      If I do
      wget http://127.0.0.1:8080/largefile.mpg g -O /dev/null
      and then on the same box 30 seconds later (while the first one is still going I do)
      wget http://127.0.0.1:8080/largefile.mpg g -O /dev/null
      again

      The master server (after I kill them both) gets

      012-09-03T10:49:32.007667+09:18 master1-adl6 nginx: 1.1.1.1 - - [03/Sep/2012:10:49:32 +0930] "GET /largefile.mpg HTTP/1.1" 200 306253448 "" "Wget/1.12 (linux-gnu)" ""
      2012-09-03T10:49:32.879914+09:18 master1-adl6 nginx: 1.1.1.1 - - [03/Sep/2012:10:49:32 +0930] "GET /largefile.mpg HTTP/1.1" 200 226717704 "" "Wget/1.12 (linux-gnu)" ""

      Attachments

        1. connections.png
          17 kB
          Kingsley Foreman
        2. read_from_writer.try_master.diff
          5 kB
          Wei Jin
        3. ts.3.2.x-1433.try3.diff
          1 kB
          Wei Jin
        4. ts-1433.try2.diff
          1 kB
          Wei Jin
        5. ts-1433.try1.diff
          0.6 kB
          Wei Jin

        Issue Links

          Activity

            People

              weijin Wei Jin
              punkley Kingsley Foreman
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: