DUMPGCORE configuration parameter (UNIX)

Use the DUMPGCORE configuration parameter to specify whether to dump the gcore core file. Use this configuration parameter with operating systems that support gcore.

onconfig.std value
DUMPGCORE 0
values
0 = Do not dump gcore.

1 = Dump gcore.

takes effect
After you edit your onconfig file and restart the database server.
When you reset the value dynamically in your onconfig file by running the onmode -wf command.
When you reset the value in memory by running the onmode -wm command.

Usage

If you set DUMPGCORE, but your operating system does not support gcore, messages in the database server message log indicate that an attempt was made to dump a core image, but the database server cannot find the expected file. (If your operating system does not support gcore, set DUMPCORE instead.)

If DUMPGCORE is set, the database server calls gcore whenever a virtual processor encounters an assertion failure. The gcore utility directs the virtual processor to dump a core image to the core.pid.cnt file in the directory that DUMPDIR specifies and continue processing.

The pid value is the process identification number of the virtual processor. The cnt value is incremented each time that this process encounters an assertion failure. The cnt value can range from 1 to the value of DUMPCNT. After that, no more core files are created. If the virtual processor continues to encounter assertion failures, errors are reported to the message log (and perhaps to the application), but no further diagnostic information is saved.


Copyright© 2019 HCL Technologies Limited