Use the C stack print option (-cstackPrintopt) parameter to define the behavior of the C stack trace mechanism for protrace files generated when a SIGUSR1 signal is sent to the process as part of a kill command or proGetStack.

Operating system and syntax Linux -cstackPrintopt n
Use with Maximum value Minimum value Single-user default Multi-user default
CC, CS, DBS, DS 2 0 0
n
Set n as follows to indicate the status of C stack generation:
  • 0 — C stack generation is enabled. This is the default.
  • 1 — OpenEdge AVM will use the gstack command to generate the C stack.
  • 2 — C stack generation is disabled.

Notes

  • If option 1 is specified, the gdb debugger packages must be installed on the system. Permission issues can interfere with generating the C stack if the OpenEdge clients are not run as root.
  • The C stack print option parameter applies only to Linux systems. If it is supplied on other platforms, it is silently ignored.
  • The C stack print option parameter does not apply to protrace files generated during crashing due to a fatal signal (SIGSEGV, SIGBUS).
  • This parameter only affects OpenEdge processes using the OpenEdge client (_progres), _dbutil, _mprshut, classic app server, and threaded and non-threaded database servers. Other OpenEdge processes are not affected by this parameter.

To change this parameter while the database is running, use PROMON or the _DbParams VST.

You can use this parameter to support continuous operation of the database. For more information, see Change database parameters while the database is running.