Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Dec 2008
    Location
    Bangalore
    Posts
    20

    Unexpected empty selected list

    Hi,

    I am getting the below message on the server. Please let me know what it means.


    Code:
    09.Apr.09 09:59:48,135 < WARN> Unexpected empty selected list (76 times in last 16 ms)
    Thanks,
    Shreyas

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    972
    The Server issues this warning when a java NIO "select" call returns with nothing selected.
    This is possible only in particular conditions, but it should not happen in a general case.

    As long as a few calls experience this outcome, this is less than a problem. Under a heuristic threshold, no warn is prompted.
    If more occurrences happen, as in your case (76 times in 16 ms), this can be a waste of CPU, but still not a problem.
    We keep an eye open on this phenomenon, because "select" is called in a loop, but we are confident that the NIO implementation will not allow a strict loop of "select" calls returning nothing.

  3. #3
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    515
    Hi Shreyas,

    What Java version are you using exactly? And on which operating system?

  4. #4
    Member
    Join Date
    Dec 2008
    Location
    Bangalore
    Posts
    20
    Hi Dario,

    I get these messages a lot, continuously for some time, and then it stops.

    @ Alessandro,

    I am running on JDK 1.6.0_07.

    Thanks,
    Shreyas

  5. #5
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    515
    Shreyas,

    Are you using Linux?

    Is "76 times in last 16 ms" the highest number of occurrences you had?

    We report such statistical info in the log because there is a known bug in Sun's implementation of Java NIO for Linux, which Lightstreamer can work around. Only if much higher numbers of occurrences of empty selectors are reported, it makes sense to activate the workaround.

    Cheers,
    Alessandro

 

 

Similar Threads

  1. SSL certificate compatibility list
    By anselme in forum General
    Replies: 6
    Last Post: February 12th, 2013, 03:46 PM
  2. GroupListDescriptor Item names cannot be empty
    By vaduganathan in forum Client APIs
    Replies: 3
    Last Post: April 27th, 2010, 02:00 PM
  3. Get selected value
    By georgeeapen in forum Client APIs
    Replies: 2
    Last Post: May 4th, 2009, 02:04 PM
  4. Item Names cannot be empty
    By d.verzolini in forum Client APIs
    Replies: 2
    Last Post: September 22nd, 2008, 10:34 AM
  5. Stock List Adapter
    By minhphan200677 in forum Adapter APIs
    Replies: 1
    Last Post: April 14th, 2008, 09:26 AM

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 05:25 PM.