Skip to content

NIXL Firmware Page Registration Fan-Out Triggers Host OOM Kills on HGX H200 and B200

NVIDIA Inference Xfer Library workloads on HGX H200 and HGX B200 instances triggered host OOM kills because UCX registered GPU memory as firmware pages across all 8 NICs simultaneously, consuming ~34 GiB of host memory per GPU in firmware-level registrations. The root cause was traced to UCX registering every reachable HCA for each buffer, creating firmware page fan-out proportional to NIC count.

Quick answer

NVIDIA Inference Xfer Library workloads on HGX H200 and HGX B200 instances triggered host OOM kills because UCX registered GPU memory as firmware pages across all 8 NICs simultaneously, consuming ~34 GiB of host memory per GPU in firmware-level registrations.

Symptom
Kernel dmesg: "Out of memory: Killed process <PID> (python)" with no GPU-side errors
Root cause
UCX registers each GPU buffer on every reachable HCA (all 8 NICs per node) creating firmware page duplication factor of N_nics. Each firmware page consumes ~35 KB of locked host memory per registration entry. With 75 GB registered per GPU * 8 NICs, firmware overhead reaches ~34 GiB of host memory before any workload memory.
Recommended fix
UCX_MAX_HCA_PER_GPU=auto
How Denpex helps
Denpex investigates NIXL Firmware Page Registration Fan-Out Triggers Host OOM Kills on HGX H200 and B200 using the evidence you provide or your connected workload collects. Earlier rank, host or application evidence is needed to distinguish an initiating failure from a downstream report.
Reliability#crusoe#nixl#ucx#firmware-page#host-oom#h200

What this failure is

NIXL Firmware Page Registration Fan-Out Triggers Host OOM Kills on HGX H200 and B200 is a Reliability failure seen during ML training runs. NVIDIA Inference Xfer Library workloads on HGX H200 and HGX B200 instances triggered host OOM kills because UCX registered GPU memory as firmware pages across all 8 NICs simultaneously, consuming ~34 GiB of host memory per GPU in firmware-level registrations. The root cause was traced to UCX registering every reachable HCA for each buffer, creating firmware page fan-out proportional to NIC count. Common tags: Crusoe, Nixl, Ucx, Firmware Page.

Live diagnosis, no signup

Is this what broke your run? Paste your log.

You're reading about NIXL Firmware Page Registration Fan-Out Triggers Host OOM Kills on HGX H200 and B200. Paste your own traceback and relevant evidence for an investigation of your workload, with a next action or a specific missing fact. A reference entry does not establish your cause. No account or card for the free diagnosis. Review data handling before submitting sensitive logs.

Before uploading, review cloud data handling and local options.

training_logs.txt
No log to hand? Try one:

Upload your log file. Large files are processed in your browser. Only selected evidence is submitted when you run diagnosis.

3 free cloud diagnoses per day

Why it happens (the mechanism)

UCX registers each GPU buffer on every reachable HCA (all 8 NICs per node) creating firmware page duplication factor of N_nics. Each firmware page consumes ~35 KB of locked host memory per registration entry. With 75 GB registered per GPU * 8 NICs, firmware overhead reaches ~34 GiB of host memory before any workload memory. Taken together, these mechanisms explain why the failure is reproducible, why it tends to surface on specific workloads or scales, and why generic mitigation attempts often fall short without addressing the underlying cause.

What you'll observe

  • Host processes killed by OOM killer with GPUs at normal HBM utilization levels
  • MemAvailable in /proc/meminfo drops to zero despite adequate host RAM capacity
  • Swap fills up and kernel OOM killer activates without GPU memory pressure

Common symptoms and what they mean

Check possible explanations against the incident evidence. A matching symptom alone does not establish its cause.

SymptomPossible explanation
/proc/meminfo shows MemAvailable = 0 with buffers/cache fully reclaimed during NIXL-heavy workloadsUCX registers each GPU buffer on every reachable HCA (all 8 NICs per node) creating firmware page duplication factor of N_nics
fw_pages_total in debug counters shows >1 million firmware pages per NIC for ~75 GB registered per GPUEach firmware page consumes ~35 KB of locked host memory per registration entry
Kernel dmesg: "Out of memory: Killed process <PID> (python)" with no GPU-side errorsWith 75 GB registered per GPU * 8 NICs, firmware overhead reaches ~34 GiB of host memory before any workload memory

Which systems are affected

  • NVIDIA HGX H200 and HGX B200 with 8 NICs per node
  • NIXL workloads with GPU memory registration exceeding ~75 GB per GPU
  • UCX-based communication (UCX 1.20 and earlier)
  • KVM-virtualized GPU instances with PCIe passthrough

How to confirm this is the problem

Use this checklist to test the hypothesis against a small reproduction. No single line proves the root cause, so preserve the preceding events and compare one variable at a time.

  • ✓Reproduce the failure from a clean checkpoint/seed: the symptom must appear without warm-up state from a previous run.
  • ✓Verified signal present: /proc/meminfo shows MemAvailable = 0 with buffers/cache fully reclaimed during NIXL-heavy workloads
  • ✓Verified signal present: fw_pages_total in debug counters shows >1 million firmware pages per NIC for ~75 GB registered per GPU
  • ✓Verified signal present: Kernel dmesg: "Out of memory: Killed process <PID> (python)" with no GPU-side errors
  • ✓A targeted fix from the "How to fix it" section eliminates or substantially reduces the symptom within one validation pass.

Root cause

  • UCX registers each GPU buffer on every reachable HCA (all 8 NICs per node) creating firmware page duplication factor of N_nics
  • Each firmware page consumes ~35 KB of locked host memory per registration entry
  • With 75 GB registered per GPU * 8 NICs, firmware overhead reaches ~34 GiB of host memory before any workload memory

The fix and how to prevent it

How to fix it

  • Update UCX to 1.21+ and NIXL to 1.2+: NIXL PR #1637 sets `UCX_MAX_HCA_PER_GPU=auto` automatically
  • If upgrade not possible, set `UCX_MAX_HCA_PER_GPU=2` or `UCX_MAX_HCA_PER_GPU=<topologically_closest_NIC_count>` manually in environment
  • Monitor host memory pressure before NIXL deployment: watch `/proc/meminfo` MemAvailable and `fw_pages_total` via ib_read_debugfs or Mellanow tools
  • Pre-register GPU memory via GDR copy to avoid per-buffer registration overhead: `nvidia_gdr_copy` module parameter
  • Set host memory overcommit: `sysctl vm.overcommit_memory=2` and `sysctl vm.overcommit_ratio=90` to prevent OOM on memory accounting spikes

Step-by-step remediation

  1. 1Update UCX to 1.21+ and NIXL to 1.2+: NIXL PR #1637 sets `UCX_MAX_HCA_PER_GPU=auto` automatically
  2. 2If upgrade not possible, set `UCX_MAX_HCA_PER_GPU=2` or `UCX_MAX_HCA_PER_GPU=<topologically_closest_NIC_count>` manually in environment
  3. 3Monitor host memory pressure before NIXL deployment: watch `/proc/meminfo` MemAvailable and `fw_pages_total` via ib_read_debugfs or Mellanow tools
  4. 4Pre-register GPU memory via GDR copy to avoid per-buffer registration overhead: `nvidia_gdr_copy` module parameter
  5. 5Set host memory overcommit: `sysctl vm.overcommit_memory=2` and `sysctl vm.overcommit_ratio=90` to prevent OOM on memory accounting spikes

How to prevent it

  • Audit UCX configuration before deployment: `ucx_info -c | grep MAX_HCA` confirms current per-HCA registration policy
  • Add Prometheus alert on `node_memory_MemAvailable_bytes < 10% of total` with extra latency budget for firmware registration
  • Run host memory stress test with representative GPU memory registration workload before production deployment
  • Prefer topology-aware NIC assignment: bind only the 2-4 topologically closest NICs per GPU using `numactl --physcpubind`

Save this diagnosis and catch the next crash automatically

All root cause, fix, and prevention steps above are free to read. Create a free account with any email or GitHub to keep your saved diagnosis history across the encyclopedia and run cloud checks, or use a work email below for the 30-day Team evaluation. No card required.

Or start a 30-day free Team trial (work email)

Verified work email unlocks all 14 fleet diagnostic tools, Slack alerts, and team history for 30 days. No card and no automatic charge.

Use your company email, for example alex@yourcompany.com.

Who qualifies?

Company email domains activate the free 30-day Team evaluation (up to 50 diagnoses a day) after an email and domain check, whatever mail provider you use. If we cannot verify your domain automatically, support reviews it: write to support@denpex.com. Free local diagnosis in the editor extension needs no account.

Using a personal email (Gmail, Outlook, Naver, QQ) or solo cluster? Create a free $0 account (no work email required) to save 7-day history and unlock AI fallback, or send a cluster crash log for a live walkthrough.
Already have an account? Sign in

Searchable error signature

search key
Kernel dmesg: "Out of memory: Killed process <PID> (python)" with no GPU-side errors
/proc/meminfo shows MemAvailable = 0 with buffers/cache fully reclaimed during NIXL-heavy workloads
MemAvailable in /proc/meminfo drops to zero despite adequate host RAM capacity

Use this text as a lookup key in logs and upstream issue trackers. It is not presented as a captured customer log. Confirm the cause from your own preceding events, versions, configuration and the cited references.

Diagnose your own log automatically

The root cause and fix steps above stay free. Create a free account to analyze full job logs, attribute the first failed rank, and keep saved incident history.

Sign up free. Analyze your cluster logs

No credit card. Daily allowance follows verified trust tier. Instant access.

Diagnose this failure in VS Code

Select the traceback or open the failed terminal, then run Denpex locally to inspect matched failure patterns, supporting evidence and next checks without uploading the log. Verify recommendations against your workload before changing production.

Install the free VS Code extension

Blackwell B200 and GB200 errors in context

Blackwell B200 and GB200 faults span NVLink/NETIR link transitions, NVSwitch domains, and firmware updates.

Compare related blackwell b200 and gb200 errors

Don't just read the fix, diagnose your run

The encyclopedia explains documented failure patterns. Denpex investigates your logs, configuration and stack, shows the supporting evidence, and asks for missing details when needed.