• Font Size
  • S
  • M
  • L

Search via FAQ No.


  • No : 30828
  • Open Date : 2019/09/05 17:11
  • Print
NEW

[DataSpider Servista] Please explain the points to check when the DataSpiderServer service stops.

What should I check if the DataSpiderServer service stops?
 
Category : 

Answer

The service termination is caused by multiple factors such as javaVM problems and memory shortage
 
Please refer to the following for details:
 
Table of Contents
 
 
If you want to refer to related information, please check "Reference Information".
 
 
  1. Dump log
Please check if any of the following logs are output:
  • When using version 3.0 or later, or x86 version prior to version 2.4.x
$DATASPIDER_HOME\server\bin\hs_err_pid<pid>.log
  • If you are using an x 64 version of 2.4 .x or earlier
$DATASPIDER_HOME\server\bin\jrockit.<pid>.dump
 
Workaround
If the log is output, please refer to either of the following FAQ:
 
[DataSpider Servista] File named jrockit.****.dump was displayed and service has stopped
 
[DataSpider Servista] File named hs_err_pid****.log is output and service has stopped
  1. DataSpiderServer.lax
Please check the setting value of the initial heap size and maximum heap size from the following settings file, and confirm whether there is no difference in the setting value.
 
$DATASPIDER_HOME/server/bin/DataSpiderServer.lax
 
The initial heap size is specified by one of the following keys:
  • If the initial heap memory size is set to 2 GB or larger in versions 3.0 and later, or in versions 2.4.x and earlier.
-Xms in lax.nl.java.option.additional =
  • If you are using an x86 version earlier than 2.4.x
lax.nl.java.option.java.heap.size.initial
 
The maximum heap size is specified by one of the following keys:
  • If the maximum heap memory size is set to 2 GB or larger in versions 3.0 and later, or in versions 2.4.x and earlier.
-Xmx in lax.nl.java.option.additional =
  • If you are using an x86 version earlier than 2.4.x
lax.nl.java.option.java.heap.size.max
 
Workaround
If there is a difference between both settings, please refer to the following FAQ:
 
[DataSpider Servista] The process is stopped, but the error cause is not displayed
  1. Server log and server standard error output
Please check the contents of the log that is output to the following directory when the service stopped.
 
$DATASPIDER_HOME/server/logs/server.log
$DATASPIDER_HOME/server/logs/server.error.log
 
Workaround
 
Please search using the following error message and if the corresponding error occurred during the service stopped time, please refer to the following FAQ:
  • java.lang.OutOfMemoryError: Java heap space
  • java.lang.OutOfMemoryError: nativeGetNewTLA
  • java.lang.OutOfMemoryError: unable to create new native thread
  • java.lang.OutOfMemoryError: mmAllocObject
There is no memory available for the heap area. Please refer to the FAQ below for how to resolve this situation:
 
[DataSpider Servista] When I increased the number of data process, the script started to fail upon execution.
  • java.lang.OutOfMemoryError: PermGen space
The memory of permanent area which is a part of the heap area cannot be allocated. Please refer to the following FAQ for how to resolve this situation.
 
[DataSpider Servista] An error occurs upon a script execution or DataSpider Studio will not connect.
 Top 
 
  1. Dump log
Java uses the Just In Time compilation (hereinafter referred to as the JIT method.) to improve the performance by converting a Java intermediate code to an OS Native code (compile) upon execution and executing it.
 
The internal processing of the DataSpiderServer also uses the JIT method, which can cause the service to stop when the Compiler Thread is called.
 
If the above error occurs when sufficient memory is available, the process status upon the service termination is output to the dump log. Therefore, it is possible to investigate based on this information.
 
On the other hand, if there is not enough memory, the dump logs will not be output so you can isolate the cause of (no memory available to output dump logs.) from the lack of memory.
 
For this reason, please check the dump log first.
  1. DataSpiderServer.lax
If the initial heap size and maximum heap size settings are different, the javaVM reserves memory at service startup for the amount specified by the initial heap size. If it runs out of memory after that, it will increase the amount of memory it reserves up to the maximum heap size.
 
If memory cannot be secured at this time, the service will stop.
 
The service may stop before the javaVM detects that it is out of memory. In this case, no log indicating insufficient memory is output to the server log.
 
Please check DataSpiderServer.lax after the dump log.
  1. Server log and server Standard error output
An Out of Memory error (java.lang.OutOfMemoryError) occurs when the number of projects, scripts, or data being processed requires more memory than is specified in DataSpiderServer.lax.
 
In this case, it is difficult to allocate the memory required for processing, and the service is likely to stop.
 
For this reason, please check the server log and server standard error output.
 Top 
 
If the problem persists after you have completed the instructions in "Checkpoint and Workaround", the service may be stopped with an error that has not occurred in the past.
 
For confirmation of the situation, please contact the support center with the following information.
  1. Trigger for the occurrence of the event
Please check when the DataSpiderServer outage began. Also, you need to confirm the settings that were changed and the work that was done before and after that
  1. Frequency and availability of workarounds
In order to confirm the impact on the operation, please confirm the frequency of occurrence of the event (Daily, Monthly, etc.) and whether there is a workaround (such as restarting with "Recovery of service").
  1. Conditions under which an event occurs
Please check the conditions under which the event occurs (When running certain scripts, when reading certain data, etc.).
  1. Log file
Please send the following log file that is outputted at the time of the event.
 
$ DATASPIDER_HOME / server / logs / server.log
$ DATASPIDER_HOME / server / logs / server.log.N (* N is single-byte numbers)
$ DATASPIDER_HOME / server / logs / server.error.log
$ DATASPIDER_HOME / server / logs / <execution date> /exec.log
  1. Dump file
Please check the following dumb log output. If so, please send it at the time of inquiry.
  • If you use version 3.0 or later or version 2.4 .x or earlier of the x 86 version.
$DATASPIDER_HOME\server\bin\hs_err_pid<pid>.log
  • If you use an x 64 version of 2.4 .x or earlier
$DATASPIDER_HOME\server\bin\jrockit.<pid>.dump
 
Reference Information
 
[DataSpider Servista] File named jrockit.****.dump was displayed and service has stopped
 
[DataSpider Servista] File named hs_err_pid****.log is output and service has stopped
 
[DataSpider Servista] The process is stopped, but the error cause is not displayed
 
[DataSpider Servista] When I increased the number of data process, the script started to fail upon execution.
 
[DataSpider Servista] An error occurs upon a script execution or DataSpider Studio will not connect.
 Top