This page will help you to troubleshoot the performance problems, you may face while running the analysis. Performance issue during analysis means one of the following:
- the analysis is taking longer than expected to finish.
- the analysis is stuck and never ends
For more information, refer to:
Official documentation :
- Official 8.3 Documentation - Run and validate the analysis
Information Guides > Information Guides by CAST AIP Component > CMS Snapshot Analysis
Error Free Logs - CMS Snapshot Analysis - Run Analysis for Technology - Error Free Logs - CAST AIP 83
Release | Yes/No |
---|---|
8.3.x | |
8.2.x | |
8.1.x | |
8.0.x | |
7.3.x |
RDBMS | Yes/No |
---|---|
Oracle Server | |
Microsoft SQL Server | |
CSS3 | |
CSS2 | |
CSS1 |
- Package and Deliver the application.
- Set as current version.
- Run the analysis (Application level or Analysis Unit Level).
- Analysis is stuck or is taking longer then expected to finish.
Perform the following steps:
- Open the analysis log in a text editor(like NotePad++) and search for the keyword "Execution duration".
- If the above search returns a result, then the analysis has finished. In this case you will have to identify the analysis step(s) responsible for the performance issue
- Observe the delta in the timestamps for each information message in the analysis log. For the following example:
The delta for the 2 parsing messages is 1m1s - Compare the above with the timestamps of reference for the particular technology, this can be found under CMS Snapshot Analysis - Run Analysis for Technology - Error Free Logs - CAST AIP 83
- Identify the step(s) responsible for the performance issue. Note that some steps are specific to the analyzed technology.
- Observe the delta in the timestamps for each information message in the analysis log. For the following example:
- If there is no result in the analysis log, then the analysis is stuck and the performance issue is happening during the action logged in, found in the last information message or the next expected action since the analyzer may not have logged the last current action.
Identify the step for the analyzed technology in analysis log reference which can be found in CMS Snapshot Analysis - Run Analysis for Technology - Error Free Logs - CAST AIP 83
Example : For J2EE analysis, if the last line is:2016-11-04 10:01:36.218 Information MODULMSG ; Job execution Ending External Link processing
Then the issue can happen during Resolving External Links OR during the next step, aka Saving Step. You have to consider both situations.
- If the above search returns a result, then the analysis has finished. In this case you will have to identify the analysis step(s) responsible for the performance issue
According to the identified steps:
If the issue occurs before the "About to run <Execution Unit>" information message:
then it is happening during the analysis configuration. Navigate to CMS Snapshot Analysis - Run Analyzer - Performance issue - Configuration Step
If the issue occurs after the "About to run <Execution Unit>" information message:
then it is happening during the beginning of the analysis. Navigate to CMS Snapshot Analysis - Run Analyzer - Performance issue - Beginning of analysis
If the issue occurs during the parsing/processing/visiting information message:
then it is happening during the analysis and parsing of the source code. Navigate to CMS Snapshot Analysis - Run Analyzer - Performance issue - Analyze Source code step
- If the issue is happening after the "Comparing objects on server . . ." information message:
then it is happening during the saving step of the analysis. Navigate to CMS Snapshot Analysis - Run Analyzer - Performance issue - Saving Step
- If you do not find the information you are looking for or solution for your problem, in this page, contact CAST Technical Support with Relevant Input
Relevant Input
- Run analysis by Enabling the memory traces .
- Provide Sherlock (CAST Support Tool (CST) - alias Sherlock) with options : Export Management+Local Databases, Export Logs, Export configuration files, Export source code.
.