DCGM icon indicating copy to clipboard operation
DCGM copied to clipboard

Some XID errors (e.g. XID 62) are not exported via DCGM_FI_DEV_XID_ERRORS metric

Open workhardcc opened this issue 1 year ago • 1 comments

hi guys, We found that some GPU XID errors (such as XID 62 and potentially others) are not being reported through the DCGM_FI_DEV_XID_ERRORS metric when using dcgm-exporter. According to the documentation and metric design, we expect all XID errors should be exported via this metric for proper hardware monitoring and alerting. Expected behavior: All XID errors, including XID 62, should be exported and visible in the value of DCGM_FI_DEV_XID_ERRORS in dcgm-exporter metrics output. Actual behavior:

Image

There is only one metric as below: DCGM_FI_DEV_XID_ERRORS{err_code="45", err_msg="Preemptive cleanup, due to previous errors -- Most likely to see when running multiple cuda", job="dcgm-exporter"} Steps to reproduce: Cause or wait for an XID 62 error on a GPU. Observe that the error appears in dmesg logs. Query the DCGM_FI_DEV_XID_ERRORS metric via dcgm-exporter — the metric does not reflect the occurrence of this error. Environment: dcgm-exporter version: dcgm-exporter-3.3.7-3.5.0-ubuntu20.04 Driver version: 550.127.08 CUDA Version: 12.4 BTW, this issue occurs on various GPU models.

workhardcc avatar Jun 05 '25 12:06 workhardcc

Use a DCGM Exporter that is version 4.0.0 or higher: https://docs.nvidia.com/datacenter/dcgm/latest/release-notes/changelog.html

/dev/kmsg is now parsed to detect some XIDs that were previously undetected.

bstollenvidia avatar Jun 09 '25 17:06 bstollenvidia