Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-25951 Support Bigtop stack 3.3.0
  3. AMBARI-25928

Continuous increase of websocket connections in Ambari web UI

    XMLWordPrintableJSON

Details

    • Technical task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8.0
    • 3.0.0
    • ambari-server
    • None

    Description

      How to reproduce: Open Ambari UI page and use Chrome to view the websocket connections. At the beginning, there is only one connection. After a few minutes, it is observed that the connections keep increasing infinitely. If the page is refreshed, the number of connections will return to one, and then continue to increase.

       

      2023-04-14 14:23:19,062  INFO [MessageBroker-1] WebSocketMessageBrokerStats:128 - WebSocketSession[2 current WS(2)-HttpStream(0)-HttpPoll(0), 258459 total, 0 closed abnormally (0 connect failure, 0 send limit, 171 transport error)], stompSubProtocol[processed CONNECT(258377)-CONNECTED(258377)-DISCONNECT(0)], stompBrokerRelay[null], inboundChannel[pool size = 4, active threads = 0, queued tasks = 0, completed tasks = 2109843], outboundChannel[pool size = 4, active threads = 3, queued tasks = 0, completed tasks = 1747340], sockJsScheduler[pool size = 2, active threads = 1, queued tasks = 0, completed tasks = 193]
      2023-04-14 14:23:20,256  INFO [MessageBroker-1] WebSocketMessageBrokerStats:128 - WebSocketSession[3 current WS(3)-HttpStream(0)-HttpPoll(0), 18 total, 0 closed abnormally (0 connect failure, 0 send limit, 0 transport error)], stompSubProtocol[processed CONNECT(18)-CONNECTED(18)-DISCONNECT(15)], stompBrokerRelay[null], inboundChannel[pool size = 10, active threads = 0, queued tasks = 0, completed tasks = 415155], outboundChannel[pool size = 10, active threads = 0, queued tasks = 0, completed tasks = 138408], sockJsScheduler[pool size = 2, active threads = 1, queued tasks = 0, completed tasks = 193] 

       

       

       

       

      Attachments

        1. WebSocketLeakAtAmbariUI.mov
          42.11 MB
          Sandeep Kumar
        2. image-2023-04-14-14-54-25-386.png
          417 kB
          Jialiang Cai
        3. image-2023-04-14-14-48-36-956.png
          74 kB
          Jialiang Cai

        Issue Links

          Activity

            People

              zrain zrain
              jialiang Jialiang Cai
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 20m
                  2h 20m