Preflight checks, DCGM diagnostics & RMA triage
GPU cluster health check: catch bad nodes before launching training
One unhealthy GPU or degraded NVLink port wastes an entire multi-node allocation. Run structured preflight health checks with dcgmi diag, Slurm NHC, ECC/Xid inspection, and collective bandwidth baselines, then separate board defects from slot or software faults.
GPU failure symptoms and the right first check
| GPU failure signal | What it indicates | Next verification step |
|---|---|---|
| Xid 79: GPU has fallen off the bus | Driver lost PCIe communication; could be board, riser, slot, power, or thermal trip. | Capture dmesg, BMC logs, and GPU UUID/serial before reboot; run card-vs-slot control before RMA. |
| Uncorrectable ECC (Xid 48 / 94 / 95) or failed row remap (Xid 64) | Device memory returned unrepairable bit errors or exhausted spare rows. | Drain GPU immediately, resume from a checkpoint before the Xid timestamp, and assemble RMA packet. |
| Xid 119 (GSP RPC timeout) or NVML library mismatch | Firmware stall or host driver/container runtime version disagreement. | Compare nvidia-smi driver version against container CUDA runtime and known-good fleet firmware. |
| Xid 149 / 74 NVLink error or slow AllReduce | Interconnect CRC/replay degradation or single-port physical drop. | Run nvidia-smi nvlink -e on both link endpoints and verify nccl-tests busbw against baseline. |
4-step GPU node health check script
Run these checks on idle nodes prior to multi-node jobs or after a node has been drained:
# 1. Record device identity, ECC, and row-remapper state
nvidia-smi --query-gpu=index,uuid,serial,pci.bus_id,driver_version --format=csv
nvidia-smi -q -d ECC,ROW_REMAPPER,PAGE_RETIREMENT
# 2. Check NVLink errors and PCIe link width/speed
nvidia-smi nvlink -e
nvidia-smi --query-gpu=pcie.link.gen.current,pcie.link.gen.max,pcie.link.width.current,pcie.link.width.max --format=csv
# 3. Run DCGM hardware diagnostic (level 2 quick / level 3 extended)
dcgmi diag -r 2
# dcgmi diag -r 3 # ~15 minutes on idle node
# 4. Scan host kernel for Xids or PCIe AER drops
dmesg -T | grep -iE 'NVRM: Xid|AER|PCIe Bus Error|nvlink'Upload your GPU log. Find what happened first.
Get the likely cause, supporting evidence, and next safe steps with the same cloud reasoning used by paid plans. A crash the engine recognizes is answered in seconds, then checked by an independent AI review that updates this page when it finishes. A crash it does not recognize waits for the AI's own answer, which can take a few minutes. No account, card, or installation. Logs are masked at Denpex API ingress and are not saved to account history.
Before uploading, review cloud data handling and local options.
Upload your log file. Large files are processed in your browser. Only selected evidence is submitted when you run diagnosis.
Try Denpex for 30 days. FREE.
No credit card. No automatic subscription. See whether Denpex helps with an incident you already understand.
Start your free 30-day Team evaluation
Up to 50 diagnoses a day for 30 days. Verify your work email to activate an eligible company evaluation, then replay a resolved incident and compare the evidence and next steps with your team's confirmed cause.
Frequently asked questions
What is the best GPU health check command before starting a multi-node training job?
Run a quick non-disruptive baseline first: nvidia-smi --query-gpu=index,uuid,pci.bus_id,driver_version,ecc.errors.uncorrected.volatile.total,clocks_event_reasons.active --format=csv, followed by dcgmi diag -r 1 (or -r 2 / -r 3 when nodes are idle) and a quick nccl-tests all_reduce_perf check across allocated nodes.
What do dcgmi diag levels 1, 2, 3, and 4 test?
Level 1 checks basic deployment and software configuration in seconds. Level 2 runs quick hardware and memory sanity checks (~2 minutes). Level 3 executes medium stress tests across PCIe, memory, and compute (~15 minutes). Level 4 runs extended burn-in diagnostics for qualification or suspected intermittent faults.
What are the earliest GPU failure signs before a full crash?
Rising single-bit ECC correction rates (Xid 92), increasing row-remapper pending/retired banks (Xid 63), climbing NVLink CRC/replay error counters, thermal or power clock throttling under steady load, and recurring straggler ranks during collective barriers.
Does passing nvidia-smi prove a GPU is healthy?
No. nvidia-smi only confirms the driver can enumerate and query the device at idle. Intermittent HBM faults, PCIe AER drops under load, and NVLink signal integrity issues often require dcgmi diag stress or a production-shaped collective test to surface.
How should Slurm Node Health Check (NHC) handle GPU faults?
Configure Slurm NHC to verify device count, NVML responsiveness, active uncorrectable ECC / row-remap failures, and host kernel Xids (such as 48, 64, 79, 95) between jobs, draining offending nodes with a clear Reason string instead of dropping the next user into a bad node.
How does Denpex help with GPU health checks and RMA decisions?
Denpex correlates application crashes, Xid kernel events, and GPU UUID/serial recurrence over time so operators can separate software bugs (such as Xid 13 or 43) from true board faults and export structured OEM RMA evidence packets when diagnostics support hardware replacement.