Core file generation
A core file contains the contents of a program's memory space at the time the program ended. You can send core files to IBM® Software Support. The information in the core file helps IBM Software Support determine the source of a server error.
To produce a core file, you must enable core file generation. After you enable core file generation, core files are created automatically when an error occurs. The following sections show you how to enable core file generation for your operating system.
For Windows™ operating systems (Dr. Watson™ debugger)
Windows uses a tool that is called Dr. Watson to generate a text file named Drwtsn32.log, which is the Windows equivalent of a core file. This file is generated whenever an error is detected.
If a program error occurs, Dr. Watson starts automatically. To start Dr. Watson manually by using the graphical user interface (GUI):
- Click Start.
- Click Run.
- Type drwtsn32.
To start Dr. Watson from a command prompt, change to the root directory, and then type drwtsn32.
Dr. Watson (Drwtsn32.exe) is installed in your system folder when you set up Windows. The default options are set when Dr. Watson runs for the first time, either when a program error occurs or when you start Dr. Watson yourself. To find the location of the Dr. Watson log file, run drwtsn32; the Log File Path field specifies the path. To determine whether the crash dump file is generated, run drwtsn32 and check the status of the Create Crash Dump File check box.
For Linux™ operating systems
ulimit -c unlimited
ulimit -H -c unlimited The ulimit for
core files might be set to zero. Be sure to run these commands so
that the core file size is not limited.For AIX® operating systems
ulimit -c unlimited