Giuseppe Corti Usually the JDK provide a tool to do that. Typically, the command is something like this: jstack [pid] But I'm not sure if you're using an IBM JDK and which is the specific command.
Giuseppe Corti 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.
kpturner 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.
Alessandro Alinone This might help in getting the thread dump on IBM JDK: http://publib.boulder.ibm.com/infocenter/realtime/v1r0/index.jsp?topic=%2Fcom.ibm.rt.doc.10%2Fdiag%2Ftools%2Fjavadump.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).
kpturner 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 ?
Alessandro Alinone Please, send the dump to support@lightstreamer.comvia https://www.wetransfer.com/ My collegaues will answer regarding MonitorText.
Giuseppe Corti Hi Kevin, Please note that in the log file the LightstreamerMonitorText lines are always labeled as INFO. The difference lies in the frequency that passes from 2 minutes(INFO) to 2 seconds(TRACE).
kpturner OK - will send you the log for now. I have requested that they send me the thread dumps (they are very quick to complain about the problem, but not so quick in giving me what I need - a bit like me really :Smile_Ab: )
kpturner Actually - getting the log is just as difficult for me as the dumps :Smile_Ac: I have requested that they send me these also.