When the Strategy Intelligence Server Universal crashes, the operating system detects the crash and begins to create a core file. The core file size will typically match the amount of memory being used by the Intelligence Server process at the time of the crash. In most situations, a core file is automatically generated provided there is enough space for the core file to be created. If there is not enough disk space, the core file will still be written, but will be truncated or incomplete.
A core may also be truncated if the operating system is not able to fully write the memory to disk, or if an error occurs during the writing process, which is outside Strategy's control. If a core is truncated, Strategy cannot read it to tell the cause of the Intelligence Server crash.
To ensure a complete and valid core, proper procedures must be followed as outlined in the following Strategy Knowledge Base article: KB13610: System settings to check to ensure that core files for the MicroStrategy Intelligence Server Universal process are correctly created by the Unix/Linux operating system platform
To find the cause of the Intelligence Server crash, the following must be collected and submitted to Strategy Technical Support for further troubleshooting:
uname -a cat /etc/redhat-release
uname -a cat /etc/SuSE-release
uname -a oslevel -g
uname -a
uname -a
It can take a long time to bring an extremely large core file from the customer site to in-house for troubleshooting. If this core is truncated, this effort is wasted. To save time it is useful to check whether the core generated is valid to be sent in to Strategy Technical Support for further investigation.
These scripts are designed to perform the following two tasks:
Notes:
For example (based on default install paths and default core generation path):
./readcore /opt/MicroStrategy/IntelligenceServer/bin/MSTRSvr.9.0.307.174 /var/opt/MicroStrategy/IntelligenceServer/core.5902
./readcore -o /opt/MicroStrategy/IntelligenceServer/bin/MSTRSvr.9.0.307.174 /var/opt/MicroStrategy/IntelligenceServer/core.5902
When Strategy Intelligence Server crashes on a Windows platform, users can configure the collection of crash dumps using Windows Error Reporting (WER). For details on WER, refer to the following Strategy Knowledge Base article KB33429: How to use the Windows Server 2008 Windows Error Reporting (WER) feature with MicroStrategy Intelligence Server
In Windows, there is no such utility such as the readcore script. However, in the case of a huge core file the following steps can be taken to product a "minidump". This minidump will not contain heap data but should contain the crashing callstack which can be used similar to readcore to determine if the crash is due to a previously known issue without requiring the full core file. For more information, see KB297913: How to create a minidump from a MicroStrategy Intelligence Server crash dump file on Windows operating systems
To find the cause of the Intelligence Server crash, the following must be collected and submitted to Strategy Technical Support for further troubleshooting:
Once Strategy Technical Support receives the above files, the core is extracted (if it is zipped) and loaded in the debugger to be analyzed and cause of the crash determined.
Depending on the complexity of the issue, this process can take 1-2 business days.