appsgate2015 / appsgate

Appsgate
0 stars 5 forks source link

Infinity loop slows down appsgate #306

Closed jandernascimento closed 9 years ago

jandernascimento commented 9 years ago

Description

After installing the new version, i've realized some actions was really slow. After analysing the log some kind of infinity loop may be causing this issue. ('message sent' evety couple miliseconds)

Log

20:15:16.376 [pool-7-thread-3] DEBUG a.l.m.c.c.ClientCommunicationManager - retreiving web sockets... 20:15:16.384 [pool-7-thread-8] DEBUG a.l.m.c.c.ClientCommunicationManager - retreiving web sockets... 20:15:16.381 [pool-7-thread-9] DEBUG a.l.m.c.c.ClientCommunicationManager - retreiving web sockets... 20:15:16.457 [pool-7-thread-3] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:16.459 [pool-7-thread-3] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:16.473 [pool-7-thread-8] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:16.476 [pool-7-thread-8] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:16.480 [pool-7-thread-9] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:16.562 [pool-7-thread-8] DEBUG a.l.m.c.c.ClientCommunicationManager - retreiving web sockets... 20:15:16.575 [pool-7-thread-9] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:16.644 [pool-7-thread-9] DEBUG a.l.m.c.c.ClientCommunicationManager - retreiving web sockets... 20:15:16.655 [pool-7-thread-8] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:16.692 [pool-7-thread-8] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:16.719 [pool-7-thread-9] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:16.753 [pool-7-thread-9] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:16.798 [pool-10-thread-1] DEBUG a.l.m.c.c.ClientCommunicationManager - retreiving web sockets... 20:15:16.818 [pool-10-thread-1] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:16.843 [pool-7-thread-3] DEBUG a.l.m.c.c.ClientCommunicationManager - retreiving web sockets... 20:15:16.875 [pool-10-thread-1] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:16.889 [pool-7-thread-9] DEBUG a.l.m.c.c.ClientCommunicationManager - retreiving web sockets... 20:15:16.891 [pool-7-thread-9] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:16.893 [pool-7-thread-9] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:16.898 [pool-7-thread-3] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:16.877 [pool-7-thread-8] DEBUG a.l.m.c.c.ClientCommunicationManager - retreiving web sockets... 20:15:16.922 [pool-7-thread-8] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:16.925 [pool-7-thread-8] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:16.936 [pool-7-thread-3] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:16.855 [pool-7-thread-2] DEBUG a.l.m.c.c.ClientCommunicationManager - retreiving web sockets... 20:15:16.966 [pool-7-thread-2] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:16.996 [pool-7-thread-2] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:17.032 [pool-7-thread-8] DEBUG a.l.m.c.c.ClientCommunicationManager - retreiving web sockets... 20:15:17.053 [pool-7-thread-9] DEBUG a.l.m.c.c.ClientCommunicationManager - retreiving web sockets... 20:15:17.064 [pool-7-thread-3] DEBUG a.l.m.c.c.ClientCommunicationManager - retreiving web sockets... 20:15:17.072 [pool-7-thread-8] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:17.090 [pool-7-thread-9] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:17.074 [pool-7-thread-3] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:17.111 [pool-7-thread-2] DEBUG a.l.m.c.c.ClientCommunicationManager - retreiving web sockets... 20:15:17.120 [pool-7-thread-9] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:17.123 [pool-7-thread-8] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:17.134 [pool-7-thread-2] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:17.144 [pool-7-thread-3] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:17.177 [pool-7-thread-2] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:17.220 [pool-7-thread-9] DEBUG a.l.m.c.c.ClientCommunicationManager - retreiving web sockets... 20:15:17.229 [pool-7-thread-8] DEBUG a.l.m.c.c.ClientCommunicationManager - retreiving web sockets... 20:15:17.277 [pool-7-thread-8] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:17.289 [pool-7-thread-3] DEBUG a.l.m.c.c.ClientCommunicationManager - retreiving web sockets... 20:15:17.285 [pool-7-thread-9] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:17.312 [pool-7-thread-2] DEBUG a.l.m.c.c.ClientCommunicationManager - retreiving web sockets... 20:15:17.316 [pool-7-thread-9] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:17.324 [pool-7-thread-2] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:17.324 [pool-7-thread-3] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:17.341 [pool-7-thread-3] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:17.317 [pool-7-thread-8] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:17.358 [pool-7-thread-2] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:17.364 [pool-7-thread-8] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:17.369 [pool-10-thread-1] DEBUG a.a.p.ARDMessageGreedyListener - Apam Message received var name switchNumber old value new value 7 20:15:17.372 [pool-7-thread-3] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:17.374 [pool-7-thread-9] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:17.407 [pool-7-thread-2] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:25.417 [Thread-150] DEBUG o.o.c.f.d.p.BridgeSearchScheduler - Search finished. New search scheduled to run in 10000 ms. 20:15:25.836 [pool-10-thread-1] DEBUG a.l.m.c.c.ClientCommunicationManager - retreiving web sockets... 20:15:25.860 [pool-10-thread-1] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:25.883 [pool-10-thread-1] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:26.595 [pool-10-thread-1] DEBUG a.l.m.c.c.ClientCommunicationManager - retreiving web sockets... 20:15:26.675 [pool-10-thread-1] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:26.737 [pool-10-thread-1] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:26.971 [pool-10-thread-1] DEBUG a.l.m.c.c.ClientCommunicationManager - retreiving web sockets... 20:15:27.117 [pool-10-thread-1] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent. 20:15:27.160 [pool-10-thread-1] DEBUG a.l.m.c.c.ClientCommunicationManager - message sent.

jandernascimento commented 9 years ago

Invalid bug, not reproductable.