Core Dump Utility Logs

The following are the synopsis of the Core Dump Utility Logs to trigger session management policies towards the SMF:

  • The Core Dump Utility logs provide functionality to conditionally generate a core dump for debugging purposes.

  • The core file generation doesn’t kill the process and it continues to execute as usual.

  • The core dump functionality is disabled by default and it needs to be enabled by specifying the appropriate configurable parameters.

Important

The core dump generation is a performance impacting activity. Hence, it’s recommended to restrict the core dump to a minimum number, such as one or two core dumps for every 15 minutes. As a result, you need to fine-tune the core dump, if you see any performance impact.

Logging a Message for Core Dump Utility Logs

The following is a sample example of a LogTag for Core Dump Utility Logs:

2022/10/14 09:14:38.809 [WARN] [smf-service.smf-app.pdusetup-procfailure] [Txn Id: 3] {PDU Session Establishment} -> COREDUMP ->
Generating Core: current core count 1, File:/opt/workspace/smf-service/src/smf-service/procedures/pdusetup/procedure.go:612
2022/10/14 09:15:38.817 [WARN] [smf-service.smf-app.pdusetup-procfailure] {PDU Session Establishment} -> COREDUMP ->
Generating Core: current core count 2, File:/opt/workspace/smf-service/src/smf-service/procedures/generic/CallFailureDebug.go:70