Back to Geneos FAQ

Internal documentation only

This page has been marked as draft.

How do I read and understand AC and GSE Diagnostic Files

This page contains details about the AC2 and GSE diagnostic file feature. It explains when it is useful, how to create it, what is contained within it, how to interpret the contents, and a summary of the times it has been requested and how useful it proved to be.

Why did we introduce diagnostics files? Copied

In the absence of a diagnostics function, an issue could still be diagnosed, but there would have to be a series of questions, answers, and files bounced backwards and forwards between the client and ITRS. A certain amount of guesswork would also have to be employed about where to start a search for a problem. It is likely that the lead time to finding a solution or raising a change request would be considerably longer, and the client would have to be more involved in the process.

When is a diagnostic file useful? Copied

A diagnostic file is useful under the following conditions:

Note: A diagnostic file is useful even after a defect has been witnessed and can no longer be observed (like in the case of a crash) because the logs, exceptions, and core file data remain on the HDD of the affected PC. This means that restarting the AC and getting the diagnostics is still valuable even though you have started a new session.

How to generate a diagnostics file? Copied

See here for how to create a diagnostics file

What is in a diagnostics? Copied

An AC2 diagnostics contains the following resources:

Running through the basic sanity checks Copied

Independently of the specific issue that is being investigated, and that required the diagnostics file, there are a few basic checks that should almost always be performed to ensure the health of the AC installation, they are covered here:

Check Description Likely observables Action
Ensure that all files named : FILEVERSION GAXXX.txt all have the same value for XXX The installation of the console is a simple extract of a zip file, but it has been known for users to extract a copy over the top of an existing version, this can be easily spotted since there are multiple copiers of the FILVERSION XXX.txt. This is somewhat of an all bets are of situation, the AC comes with a JVM as well as the application, so all kinds of unexplained behavior could be caused by this Install a fresh version of the console in its own directory. The version file also tells you what version of the console they are running, anything more than 2 major versions back and an upgrade will be required
Presence of hs_err_pidXXX_XXX.log files These are log files produced when Java has crashed, and of course the AC process with it. For the most part it will be someone with access to the code base that will have to review these logs, so sending them on to dev is best. Just make sure that if the user has reported a crash then the date of the file corresponds with the time of the crash The Active console crashes, meaning the process is no longer running. Attempt to pin down the steps which lead to the crash
Review the ActiveConsole.gci file for a modified memory setting Its common place for users to add user specific flags to the ActiveConsole.gci file, but there are also lines that it is strongly recommended that are not changed. This is the standard file for all 3.X and beyond consoles. The lines marked blue are some times changed for specific problems but as a rule would would strongly advise against this. ########################### #### The java class that has ‘main’ ########################### -mainclass com.itrsgroup.activeconsole.Splasher ########################### #### The JVM to use and arguments ########################### -jvm .\JRE\bin\client\jvm.dll -jvmargs Xmx512M XX:MaxPermSize=256M XX:+HeapDumpOnOutOfMemoryError Ddocking.floatingContainerType=frame Dsun.java2d.d3d=false Dorg.quartz.threadPool.threadCount=1 Djava.endorsed.dirs=.\jars\endorsed ########################### #### For the legacy ActiveConsole (Setup editor) ########################### -legacyjarargs Xms123M Xmx456M -legacyjavaexe .\JRE\bin\javaw.exe Some clients increase the memory allocated to Java, but in reality this is just covering up a problem. In some cases increasing memory (notably 756Mb) has been proven to cause significant instability A better solution is to work out why the memory is high. One option being to start a new workspace, assert the memory is low, then start adding in the dockables one by one from the workspace that exhibited high memory. Tools like VisualVM, which is shipped with the JDK can give detailed insights into where the memory is being used.
Review the ActiveConsole.gci file for the use of the -wsp flag Check whether the user has added the -wsp flag to the activeconsole.gci file -wsp ./somedir This modifies the working directory of the console, and can be a desirable flag when the user is having issues with any read write access, problems with workspaces, or slow load and write times This flag - assuming the specified directory is local - should make the console run faster and work space management more reliable, however you lose the benefit of all your configuration being available during an upgrade Use this flag where there are problems with workspaces and load and save times. Also where the diagnostics cannot be easily created or fails.
Load up the Diagnosticsworkspace.awx At the point the diagnostics is created the console does a ‘Save copy as’ function and creates the diagnostcisworkspace.awx. This means its a save of the console work space at the point the button is pressed, not the work space that was loaded at the point of open Some times on load errors it may also be worth asking the client for the source work space as well.
Check the contents of the work space Check the ‘View’ menu and make sure that they do not have rouge Metric Overviews. Sometimes users create these views using the ‘Metric overview wizard’ in the toolbar which can leave plenty of views using resource in the background Large numbers of metric overviews or very general ones (like all CPU samplers for example), can cause high CPU and high memory, both of these situations may also lead to exceptions being thrown. More often than not the user did not been to create these views as permanent entries in the work space, and may not be aware they are even present. So removing them is the best option.
review the about.txt There is plenty of information in here, but its probably worth checking the location of the working directories If the are located of mapped network drives then this can cause slow down in the console, notably where the auto save period is > 0 Slow down and lock ups Consider using the -wsp flag to use a local drive, and store the work spaces locally.
Review the Summary.txt This will give you some idea of the number of data items the client is requesting to view, once you start moving into the millions of cells the load may start to become prohibitive, depending on the clients PC Slow down and lock ups Review whether there is a need to stay connected to all gateways all the time
["Geneos"] ["Geneos > Active Console"] ["FAQ"]

Was this topic helpful?