Db2 instance crashes

This problem occurs when running an agent probe.

Problem

An agent probe causes the Db2® instance to crash. You also receive this message in the Db2 logs:
ADM0501C  A stack overflow exception has occurred.  
          The DB2 instance has terminated abnormally.

Action

To resolve this problem, increase the Db2 stack size. Go to the Db2 directory:
C:\Program Files\IBM\SQLLIB
Follow these steps:
  1. Stop the Device server and Data server.
  2. Stop the Db2 database.
  3. Run the following command:
    .\misc\db2hdr  .\bin\db2syscs.exe /s: 512
  4. Start the Db2 database.
  5. Start the Device server and Data Server.