Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26
  1. #11
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Hi Kevin,

    Have you the chance to take some thread dumps at short intervals?

  2. #12
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Furthermore, please be sure that in lightstreamer_log_conf.xml configuration file the log level for LightstreamerMonitorText is TRACE:
    Code:
    <logger name="LightstreamerMonitorText" level="TRACE">
    and send us (support@lightstreamer.com) the server log (lightstreamer.log).

  3. #13
    Power Member
    Join Date
    Nov 2012
    Posts
    182
    UPDATE: I reconfigured the servers "allow_access_from" setting to something erroneous so that it had no client connections at all to handle.

    It still exhibited the same issue. That at least rules out connection handling as SSL errors as a cause.

  4. #14
    Power Member
    Join Date
    Nov 2012
    Posts
    182
    Hello Giuseppe

    I afraid I have no idea how to take thread dumps at short intervals. Can you give me a clue?

    I will switch on the tracing option now.

  5. #15
    Power Member
    Join Date
    Nov 2012
    Posts
    182
    My lightstreamer_log_conf.xml file contains this:
    Code:
    <logger name="LightstreamerMonitorText" level="TRACE">              
      <appender-ref ref="LSDailyRolling" />                             
    </logger>
    but I don't see anything extra appearing in the log file. Am I missing something? Can I tell from the stdout when the server is running whether or not it is using this setting because it would appear not

  6. #16
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Usually the JDK provide a tool to do that. Typically, the command is something like this:

    Code:
    jstack [pid]
    But I'm not sure if you're using an IBM JDK and which is the specific command.

  7. #17
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    Can you confirm that the level was previously set to ERROR? In this case, the new setting requires a restart of the server.

    In any case, if it is possible, a Lightstreamer server restart is advisable. Then, if the issue reappears send us the log (lightstreamer.log).

    Thank you.

  8. #18
    Power Member
    Join Date
    Nov 2012
    Posts
    182
    Yes I am using the IBM JDK. There may be a way to do it but I will have to check. The server runs in a batch process so I very much doubt I will be able to get what you want.

    As for the TRACE - I did as asked (and I have now confirmed that the server is loading the file that I have altered) but I don't see any extra information in the log file. The only entries for MonitorText are INFO.

  9. #19
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    521
    This might help in getting the thread dump on IBM JDK:
    http://publib.boulder.ibm.com/infoce...Fjavadump.html

    Basically, you should add "–Xdump:java" to the JAVA_OPTS variable in LS.sh.
    Then, you can trigger a dump by calling "kill -QUIT pid" on the PID of the JVM (which will not be terminated).

  10. #20
    Power Member
    Join Date
    Nov 2012
    Posts
    182
    I have found the simplest way of generating the thread dumps is via the normal command line interface like this:
    GENJVMDMP JOB(050177/LIGHTSTRM/QP0ZSPWP)

    Now the difficult bit is to get them to you, because I have no FTP access to that server. This may take me a while.

    In the meantime, any ideas about the MonitorText not outputting any trace information ?

 

 

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 09:48 PM.