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

Http2ConnectionState::stream_list gets in bad state

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 7.1.0
    • HTTP/2
    • None

    Description

      Saw this in one of my runs while debugging TS-4900 and TS-4813. It might have been due to my attempted fix, but I don't think so.

      I left current master running in production for an hour. When I returned, CPU utilization had jumped from 70% to 400%. perf top showed that the majority of time was being spent in Http2ConnectionState::restart_streams. Connected with debugger and two threads were spinning in that method. In each case this->stream_list.head->link.next == this->stream_list.head->link.prev and this->thread_list.head->link.next != NULL.

      I assume that was are missing some locking and the stream_list is being manipulated by two threads in parallel.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              shinrich Susan Hinrichs
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: