caijialiang created AMBARI-25928:
------------------------------------

             Summary: Continuous increase of websocket connections in Ambari 
web UI
                 Key: AMBARI-25928
                 URL: https://issues.apache.org/jira/browse/AMBARI-25928
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.8.0
            Reporter: caijialiang
         Attachments: image-2023-04-14-14-48-36-956.png

How to reproduce: Open Ambari UI page and use Chrome to view the websocket 
connections. 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.

 
{code:java}
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] {code}
 

 

 

!image-2023-04-14-14-48-36-956.png!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to