Results 1 to 10 of 39

Hybrid View

  1. #1
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Hi Kevin,

    Please note that a new connection does not always mean new client. Sometimes, especially for no webscoket case, clients already connected may require a new connection (for a rebind, or a polling request or a new subscription).
    Thus limiting the number of connections can affect the proper functioning of sessions also already established.

    The parameters that protect the server from your critical situation are:

    and in your specific case it seems that the second might work.
    However, for a typical DoS attack scenario, we expect that the firewall should actually apply the necessary countermeasures.


    It seems strange to me that it might be a bug in the client side, since the huge difference between the number of sessions and connections. Also because the browser typically limit by itself the number of connections to the same URL.

    Please, if the server log of the Saturday episode is available send us it at support@lightstreamer.com. We will check it in search of clues.

  2. #2
    Power Member
    Join Date
    Nov 2012
    Posts
    182
    Update: The number of connections are roughly equivalent to the number of sessions. If I take the server offline for a short period and restart it, the number of connections looks roughly double the number of sessions.....but appear to fall slightly as time goes on.

    No scientific proof - but a speculative observation: The longer I leave the server offline the more connections I get for the same number of sessions. Also the more time I take the server offline, the more connections I get:

    On startup: 32 sessions and 32 connections
    Stop and restart: 32 sessions and approx 50 connections (falling to about 40)
    Stop and restart: 32 sessions and approx 90 connections (falling to about 60)
    and so on

    So if I have 1000 sessions, and the server goes offline for a long period of time and then gets restarted, I think I am going to see some big numbers in the connections statistics compared to the sessions.

    I think this only happens with clients that had a good connection, then lost it. They go into an endless connection/fail/retry cycle - and when the server comes on they seem to have more connections than they need.

    This may be completely normal and expected of course.

 

 

Similar Threads

  1. "Out of memory" errors in Safari
    By kpturner in forum Client SDKs
    Replies: 25
    Last Post: April 8th, 2014, 09:36 AM
  2. ARC memory management
    By ebrahim in forum Client SDKs
    Replies: 3
    Last Post: May 28th, 2013, 09:46 AM
  3. Replies: 3
    Last Post: July 29th, 2011, 08:56 AM
  4. Memory leak on Firefox only
    By riwang in forum Client SDKs
    Replies: 10
    Last Post: July 27th, 2009, 11:13 AM
  5. Memory Leaks
    By igindex in forum Client SDKs
    Replies: 1
    Last Post: November 11th, 2006, 09:45 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 06:45 PM.