Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Problem

By default, Kiuwan sets a timeout of 60 minutes for the different steps of the analysis. This timeout halts the analysis process in case some step hangs indefinitely hangs.

 

GUI mode

If you are using Kiuwan Local Analyzer in GUI mode, a dialog will open indicating this error:

Image Modified

 

Please note that this dialog also displays the support ticket code you can provide to Kiuwan Technical Support if you want to enquire about it.

You can also detect this kind of error looking at the log file. In case this error happens, the analysis windows will look like this:

Image Modified

Then, you can click on “Analyzer log” link Click Analyzer log to open a window where the log file (temp/agentGUI.log) is displayed.

Image Modified

You will find some line as the following indicating that a timeout has been produced.

Code Block
ERROR 2016-10-03 13:01:21,960 - ERROR running target "run.rules" - Timeout: killed the sub-process

C:\Luis\Kiuwan\Nuevo\KiuwanLocalAnalyzer\bin\analyzerCommon.xml:79: Timeout: killed the sub-process


CLI mode

If you are using Kiuwan Local Analyzer in CLI mode, this error is reported to the standard output.

Image Modified 

An error code will be returned to the calling process.

Please visit Local Analyzer Return Codes Deprecated for further info con information on return codes.

Solution

Panel
bgColor#fff

Sometimes, this default timeout is not enough to finish the analysis. Due to the size of your application code, the analysis might need more time to finish. Therefore, the first action is to increase it to a higher value.

You can do it in two ways

.

:

First, change

Change the timeout value

:

in the GUI

  1. Click Advanced
, selecting Analysis Configuration and in modifying the “Analysis
  1. on the Analysis Setup Window 
  2. Selecting Analysis Configuration 
  3. Change the timeout value in the Analysis timeout (minutes)
” property After modifying the value, clicking on Save button will
  1. field (set by default to 60 minutes). 
    Image Modified

 

If you click “Save”,
  1. Click Save to open the next dialog:
    Image Modified

 

  1. Save = this configuration will apply only to the current applications.
If you click “Save as defaults”,
  1. Save as defaults = the configuration changes will apply to all the applications
of
  1. you will analyze with your Kiuwan Local Analyzer installation.
 

Modify the analyzer.properties file

An alternative way to change this timeout value is by modifying the con/analyzer.properties file. To do it, edit

“timeout”

the timeout property:

Code Block
# Timeout to use for max execution time of each analysis step
timeout=3600000
Warning
Please , note that this property is specified in milliseconds !!! .


If you have a specific configuration for an application and you want the change only to be applied to that specific application, you will need to modify this property in con/apps/<name_of_your_app>.properties file.

In case the problem persists, please contact Kiuwan Technical Support.

Content by Label
showLabelsfalse
max5
spacesK5
showSpacefalse
sortmodified
reversetrue
typepage
labelskb-troubleshooting-article

Page properties
hiddentrue
Related issues