Perform the following steps to run the tracer utility for gathering information:Thread Dump utility helps you to know thread dump information of Kernel and WebRunner. Before continuing further, you must be familiar with the following two terms:
Thread Dump: A thread dump is a list of all the Java threads that are currently active in a Java Virtual Machine.
Memory Dump: A memory dump is a process in which the contents of the memory are displayed and stored that helps to diagnose, identify and resolve the problem that led to the failure.
This section will let you know how to gather thread dump information of Kernel and WebRunner on Windows and Linux.
For Windows:
- Go to the <Adeptia-Installation-Folder>/ServerKernel/tracerdiagnostic folder.
- Execute server-infoeither KernelDump.bat or WebRunnerDump.bat file.
- The zip folder, in the format server_info_<date>_<time>.zip, is created, in the tracer folder, containing all the required information.
For Linux:
- Open the terminal.
- console window appears prompting you with the options - Thread Dump or Memory Dump. Following files will be created in the diagnostic folder.
KernelDump.bat
For Thread Dump, the file will be in the format: KN_Thread_Dump_Date_time.log
For Memory Dump, the file will be in the format: KN_Memory_Dump_Date_time.hprof
WebRunnerDump.bat
For Thread Dump, the file will be in the format: WB_Thread_Dump_Date_time.log
For Memory Dump, the file will be in the format: WB_Memory_Dump_Date_time.hprof
Info |
---|
You must have administrative rights to execute the steps mentioned above. |
For Linux:
To gather information about Adeptia's files, folders, and databases
- Go to the <Adeptia-Installation-Folder >Folder>/ServerKernel/tracerdiagnostic folder.
- Execute ./server-info.sh file. Make sure that file has execute permission.
- The zip folder, in the format server_info_<date>_<time>.zip, is created, in the tracer folder, containing all the required information.
- Execute either KernelDump.sh or WebRunnerDump.sh.
- The console window appears prompting you with the options - Thread Dump or Memory Dump. Following files will be created in the diagnostic folder.
For KernelDump.sh
For Thread Dump, the file will be in the format: KN_Thread_Dump_Date_time.log
For Memory Dump, the file will be in the format: KN_Memory_Dump_Date_time.hprof
For WebRunnerDump.sh
For Thread Dump, the file will be in the format: WB_Thread_Dump_Date_time.log
For Memory Dump, the file will be in the format: WB_Memory_Dump_Date_time.hprof