How to generate a core file on engine

How to generate a core file on engine

book

Article ID: KB0088777

calendar_today

Updated On:

Products Versions
TIBCO DataSynapse GridServer -
Not Applicable -

Description

Resolution:
When a process crashes on any Unix machine, the operating system generates a core file. This core file can be used for analysis and debugging.

These files tend to be large, so core dumps on the engine are disabled by default. To enable this functionality, you need to follow these steps:

   1. Shutdown engine by running "engine.sh stop".
   2. In your terminal, run "ulimit -c unlimited". This will enable your OS to output core files of unlimited size.
   3. In your terminal, run "DS_ALLOWCORE=true;export DS_ALLOWCORE"
   4. In your terminal, run "engine.sh start"

Now, run your service again. If the task crashes on that engine machine, check the engine install root for a file named "core".

Issue/Introduction

How to generate a core file on engine