You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Susan Hinrichs (JIRA)" <ji...@apache.org> on 2016/09/28 01:18:20 UTC

[jira] [Created] (TS-4902) Http2ConnectionState::stream_list gets in bad state

Susan Hinrichs created TS-4902:
----------------------------------

             Summary: Http2ConnectionState::stream_list gets in bad state
                 Key: TS-4902
                 URL: https://issues.apache.org/jira/browse/TS-4902
             Project: Traffic Server
          Issue Type: Bug
          Components: HTTP/2
            Reporter: Susan Hinrichs


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.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)