[Bug] RTX 5090 GPUs remain at 100% SM with no process after PyTorch DDP SIGTERM

Hello NVIDIA Linux driver team,

NVIDIA Customer Care asked us to post this driver-level issue here. Customer Care reference: 260825-000006.

Summary

On a 12x GeForce RTX 5090 Slurm node, after a multi-GPU PyTorch DDP job is terminated with SIGTERM, GPU processes disappear but some or nearly all GPUs remain in P0 at 100% SM utilization indefinitely. There is no process in nvidia-smi, and GPU memory eventually drops to 1-2 MiB. Only a host reboot reliably recovers the GPUs.

This has reproduced repeatedly across driver versions from 580.126.18 through 595.91.07.

Environment

  • Ubuntu 22.04.5 LTS
  • Kernel 6.8.0-111-generic
  • NVIDIA driver 595.91.07, Open Kernel Module
  • CUDA 13.2 reported by nvidia-smi
  • GSP firmware enabled
  • 12x GeForce RTX 5090
  • Slurm
  • PyTorch 2.10.0.dev20251208+cu128
  • Ultralytics 8.4.84
  • 12-rank DDP job

Latest reproduction: 2026-08-27

At 14:54:49.795 CST, all 12 DDP rank PIDs were alive and using about 21.2 GiB on their assigned GPUs. Slurm still reported the job RUNNING.

At 14:54:50.917, the controller logged:

REQUEST_KILL_JOB JobId=9876 uid 1117

The job output then reported cancellation due to SIGTERM. There was no Python traceback, CUDA/NCCL error, or OOM before the cancellation.

At 14:54:59, our read-only health monitor found GPUs 0-9 and GPU 11 with no compute PID but 100% SM utilization. GPU 10 alone returned to normal.

The Slurm device order was:

CUDA_VISIBLE_DEVICES=10,9,8,7,6,5,3,2,1,0,11,4

Therefore:

  • local rank 0 → physical GPU 10: normal
  • local ranks 1-11 → physical GPUs 9,8,7,6,5,3,2,1,0,11,4: all stuck

At first detection GPU 3 still showed about 8065 MiB of orphaned memory while the other stuck GPUs mostly showed 2 MiB. After diagnostics, all stuck GPUs showed about 1 MiB, but remained in P0 at 100% SM.

The monitor detected the problem only after the job had been cancelled. Slurm DRAIN/requeue happened later at 14:55:19, so the monitor did not initiate the failure.

Earlier reproduction: 2026-08-25

Job 9784 was cancelled at 13:38:20 CST. By 13:38:28, GPUs 4, 7, 8, 10 and 11 were already P0/100% SM with 2 MiB. GPU 6 retained about 28 GiB in a ghost context; its PID disappeared around 13:39:05 and memory dropped to 2 MiB, while SM stayed at 100%. The same six GPUs remained stuck for at least 68 minutes until reboot.

Kernel/system evidence

Across these incidents we found none of the following:

  • NVIDIA Xid errors
  • NVRM or GSP timeout messages
  • kernel OOM
  • MCE
  • PCIe AER
  • fallen-off-bus errors

The process lifecycle and timing indicate that the stuck state begins during CUDA/driver teardown after SIGTERM, not because of our health monitor.

Expected behavior

After all job processes exit, every GPU should release its contexts and return to idle without requiring a host reboot.

Questions

  1. Does this match a known Blackwell/Linux driver, shared RM/GSP, or CUDA context-teardown defect?
  2. Is there a fixed or recommended driver branch to test?
  3. Would testing the proprietary/closed kernel module or disabling GSP be useful and supported on RTX 5090?
  4. Is there a safe GPU-reset or driver-level recovery procedure that avoids rebooting the host?
  5. What additional tracing would NVIDIA need during the next reproduction?

We can provide the full nvidia-bug-report, per-GPU nvidia-smi snapshots, lifecycle PID/GPU mappings, Slurm controller/job logs, and kernel journals. Sensitive site/user data has been redacted.

nvidia-bug-report.zip (6.5 MB)

incident-report.txt (5.5 KB)

That’s a nasty teardown failure. If you can share the exact Slurm or DDP launch command for one of the repro jobs, I can put it through a free preflight and give you a command with runtime limits and cleanup checks around the run.

I met the same case, but the fact that --gpu-reset does recover the GPUs — no host reboot needed. The info is as follows:

Environment

  • Rocky Linux 9.2, kernel 5.14.0-284.25.1.el9_2.x86_64
  • NVIDIA driver 580.95.05, Open Kernel Module, GSP firmware 580.95.05 enabled
  • 8x GeForce RTX 5090 (GB202), VBIOS 98.02.2e.80.4f
  • K8s (containerd + kubelet), nvidia-device-plugin, DCGM 4.2.3 (dcgm-exporter)
  • Module params: DynamicPowerManagement=3, PreserveVideoMemoryAllocations=0, RmProfilingAdminOnly=1

Syndrome

GPU1 and GPU2 have been stuck at utilization.gpu = 100%, pstate = P0, SM 2865/2910 MHz, the other six GPUs are 0% / P8 / 180 MHz.

No process at all: --query-compute-apps empty, pmon shows pid = - on all 8 GPUs, and the only holders of /dev/nvidia* are nvidia-persistenced, dcgm-exporter and nvidia-device-plugin. crictl ps shows no workload pods.

Power and temperature are also inconsistent with a real 100% SM load: 83 W / 93 W on a 575 W part, +8 C over idle. The high draw comes from the clocks being pinned, not from work.

New data point 1: NVML says 100%, hardware perfmon says 0%

Scraped at the same instant from dcgm-exporter on this node, 10 consecutive samples 5 s apart, values completely stable:

Field Path GPU1 GPU2 GPU0,3-7
DCGM_FI_DEV_GPU_UTIL (203) classic NVML nvmlDeviceGetUtilizationRates 100 (10/10 samples) 100 (10/10) 0
DCGM_FI_PROF_GR_ENGINE_ACTIVE (1001) GPM / hardware perfmon 0.000000 (10/10) 0.000000 (10/10) 0
DCGM_FI_PROF_PIPE_TENSOR_ACTIVE (1004) GPM 0.000000 0.000000 0
DCGM_FI_PROF_DRAM_ACTIVE (1005) GPM 0.000000 0.000000 0
DCGM_FI_PROF_PCIE_TX_BYTES (1009) GPM ~195 K ~195 K 150-210 K
DCGM_FI_DEV_FB_USED (252) NVML 1 MiB 1 MiB 1 MiB
DCGM_FI_DEV_POWER_USAGE (155) NVML 82.45-82.83 W 93.14-93.25 W 12-17 W

So the graphics engine is genuinely idle, and only the NVML/RM utilization path is latched.

New data point 2: the GPUMON ring buffer is internally self-contradictory

nvidia-smi -q -i 1 -d UTILIZATION:

I think the sample values themselves come from GSP-RM.

Trigger: no DDP, no NCCL, no signal — a single process aborting during CUDA init

The container’s full launch spec, from the containerd journal, I hope this helps in pinpointing the issue.

Command: [bash -c]
Args:    env -u <VAR> CUDA_VISIBLE_DEVICES=2,3 \
         bash <internal-launch-script>.sh 2
Envs:    NVIDIA_VISIBLE_DEVICES = GPU-858d1de8-…,GPU-1374ff95-…   <- only 2 GPUs granted
         OMNI_WORKER_INDEX = 0
         OMNI_WORKER_NUM   = 1
         <orchestrator>_PYTORCH_NNODES = 1

Note two things:

  • WORLD_SIZE = 1, NNODES = 1, one process. No DDP, no torchrun, no NCCL collective anywhere in this run.
  • The container was granted exactly 2 GPUs, so container-visible CUDA ordinals are 0 and 1, yet the job exported CUDA_VISIBLE_DEVICES=2,3 — out-of-range ordinals.

Timeline from containerd/kubelet journals:

  • 18:01:04.755 StartContainer returns successfully, devices = GPU1 + GPU2 by UUID
  • 18:01:47.906 the process exited on its own after 43.2 s wall / 6.996 s CPU, during CUDA init / device enumeration. It was never signalled
  • 18:01:49 kubelet’s StopContainer found it already exited
  • 18:02:44 sandbox removed
  • 18:19 a later job used GPU0 + GPU7 for 46 min; those two GPUs are fine today

Every pod that exited cleanly left its GPUs at 0% / P8. The set of latched GPUs is exactly the set owned by that one short-lived abnormal exit.

Earlier on the same node, jobs holding all 8 GPUs died abnormally — one with Xid 13 + Xid 43 illegal address on all 8 GPUs, one with a 40-minute SIGABRT crash loop.

So I guess SIGTERM and DDP are not required. A single-process CUDA context creation that fails and aborts is sufficient. That should reduce to a minimal repro far more easily than a 12-rank DDP teardown.

Confirming no Xid / no GSP timeout

journalctl -k for the whole window16:00 → 24:00 contains zero lines matching NVRM, Xid, GSP, AER or Machine Check. The last NVRM message on this host of any kind was 2026-09-10 05:27:10 (the unrelated Xid 13/43 event, 6 days earlier).

GPU reset works, reboot is not required

We recovered the GPUs without rebooting the host:

kubectl cordon <node> && kubectl drain <node> --ignore-daemonsets
sudo systemctl stop kubelet
sudo crictl stop <dcgm-exporter-ctr> <nvidia-device-plugin-ctr>
sudo systemctl stop nvidia-persistenced
sudo nvidia-smi --gpu-reset -i 1,2
sudo systemctl start nvidia-persistenced && sudo systemctl start kubelet

The critical part is that every holder of /dev/nvidia* must be stopped first, including nvidia-persistenced, dcgm-exporter and the k8s device plugin. nvidia-smi documents monitoring applications as blocking a reset, so a reset attempted while DCGM or persistenced is running will report the device as in use.

Detection heuristic that works, in case it helps others

Nothing in the normal health stack sees this: there is no Xid, so nvidia-device-plugin’s health check and DCGM’s dcgmHealthCheck both stay green and the GPUs keep being advertised as allocatable. The following combination has been unambiguous for us, considered the detection rules to https://github.com/NVIDIA/NVSentinel?

DCGM_FI_DEV_GPU_UTIL            > 90
AND DCGM_FI_PROF_GR_ENGINE_ACTIVE < 0.01
AND DCGM_FI_DEV_FB_USED           < 100 MiB
AND no compute apps
AND sustained for > 5 minutes

Driver versions checked

We also went through the Fixed Issues of every public release after 595.91.07 — 610.57.04, 615.71.09, and 580.178.04 on the LTS branch. None mentions utilization reporting, a stuck P0, or CUDA context teardown.

Hi all,

Thank you for the report. This matches a known issue on Blackwell cards where utilization continues to report 100% after an abnormal termination.

We have an internal bug tracking the issue: 5446845. A root cause and fix have already been identified. This should be resolved in a future driver.