Collecting environment information...
==============================
System Info
==============================
OS : Ubuntu 24.04.3 LTS (x86_64)
GCC version : (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0
Clang version : Could not collect
CMake version : Could not collect
Libc version : glibc-2.39
==============================
PyTorch Info
==============================
PyTorch version : 2.11.0+cu130
Is debug build : False
CUDA used to build PyTorch : 13.0
ROCM used to build PyTorch : N/A
XPU used to build PyTorch : N/A
==============================
Python Environment
==============================
Python version : 3.12.13 (main, May 4 2026, 09:06:50) [GCC 13.3.0] (64-bit runtime)
Python platform : Linux-5.15.0-176-generic-x86_64-with-glibc2.39
==============================
CUDA / GPU Info
==============================
Is CUDA available : True
CUDA runtime version : 13.0.88
CUDA_MODULE_LOADING set to :
GPU models and configuration :
GPU 0: NVIDIA B300 SXM6 AC
GPU 1: NVIDIA B300 SXM6 AC
GPU 2: NVIDIA B300 SXM6 AC
GPU 3: NVIDIA B300 SXM6 AC
GPU 4: NVIDIA B300 SXM6 AC
GPU 5: NVIDIA B300 SXM6 AC
GPU 6: NVIDIA B300 SXM6 AC
GPU 7: NVIDIA B300 SXM6 AC
Nvidia driver version : 595.58.03
cuDNN version : Could not collect
HIP runtime version : N/A
MIOpen runtime version : N/A
Is XNNPACK available : True
==============================
CPU Info
==============================
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 52 bits physical, 57 bits virtual
Byte Order: Little Endian
CPU(s): 256
On-line CPU(s) list: 0-255
Vendor ID: GenuineIntel
BIOS Vendor ID: Intel(R) Corporation
Model name: Intel(R) Xeon(R) 6768P
BIOS Model name: Intel(R) Xeon(R) 6768P CPU @ 2.4GHz
BIOS CPU family: 179
CPU family: 6
Model: 173
Thread(s) per core: 2
Core(s) per socket: 64
Socket(s): 2
Stepping: 1
BogoMIPS: 4800.00
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 ds_cpl smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cat_l2 cdp_l3 invpcid_single cdp_l2 ssbd mba ibrs ibpb stibp ibrs_enhanced fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local split_lock_detect avx_vnni avx512_bf16 wbnoinvd dtherm ida arat pln pts avx512vbmi umip pku ospke waitpkg avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg tme avx512_vpopcntdq la57 rdpid bus_lock_detect cldemote movdiri movdir64b enqcmd fsrm md_clear serialize tsxldtrk pconfig arch_lbr amx_bf16 avx512_fp16 amx_tile amx_int8 flush_l1d arch_capabilities ibpb_exit_to_user
L1d cache: 6 MiB (128 instances)
L1i cache: 8 MiB (128 instances)
L2 cache: 256 MiB (128 instances)
L3 cache: 672 MiB (2 instances)
NUMA node(s): 4
NUMA node0 CPU(s): 0-31,128-159
NUMA node1 CPU(s): 32-63,160-191
NUMA node2 CPU(s): 64-95,192-223
NUMA node3 CPU(s): 96-127,224-255
Vulnerability Gather data sampling: Not affected
Vulnerability Indirect target selection: Not affected
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Mmio stale data: Not affected
Vulnerability Reg file data sampling: Not affected
Vulnerability Retbleed: Not affected
Vulnerability Spec rstack overflow: Not affected
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2: Mitigation; Enhanced / Automatic IBRS; IBPB conditional; PBRSB-eIBRS Not affected; BHI BHI_DIS_S
Vulnerability Srbds: Not affected
Vulnerability Tsa: Not affected
Vulnerability Tsx async abort: Not affected
Vulnerability Vmscape: Mitigation; IBPB before exit to userspace
==============================
Versions of relevant libraries
==============================
[pip3] flashinfer-python==0.6.8.post1
[pip3] numpy==2.2.6
[pip3] nvidia-cublas==13.1.0.3
[pip3] nvidia-cuda-cupti==13.0.85
[pip3] nvidia-cuda-nvrtc==13.0.88
[pip3] nvidia-cuda-runtime==13.0.96
[pip3] nvidia-cudnn-cu13==9.19.0.56
[pip3] nvidia-cudnn-frontend==1.18.0
[pip3] nvidia-cufft==12.0.0.61
[pip3] nvidia-cufile==1.15.1.6
[pip3] nvidia-curand==10.4.0.35
[pip3] nvidia-cusolver==12.0.4.66
[pip3] nvidia-cusparse==12.6.3.3
[pip3] nvidia-cusparselt-cu13==0.8.0
[pip3] nvidia-cutlass-dsl==4.4.2
[pip3] nvidia-cutlass-dsl-libs-base==4.4.2
[pip3] nvidia-ml-py==13.595.45
[pip3] nvidia-nccl-cu13==2.28.9
[pip3] nvidia-nvjitlink==13.0.88
[pip3] nvidia-nvshmem-cu13==3.4.5
[pip3] nvidia-nvtx==13.0.85
[pip3] pyzmq==27.1.0
[pip3] torch==2.11.0+cu130
[pip3] torch_c_dlpack_ext==0.1.5
[pip3] torchaudio==2.11.0+cu130
[pip3] torchvision==0.26.0+cu130
[pip3] transformers==5.7.0
[pip3] triton==3.6.0
[conda] Could not collect
==============================
vLLM Info
==============================
ROCM Version : Could not collect
vLLM Version : 0.20.1
vLLM Build Flags:
CUDA Archs: 7.5 8.0 8.6 8.9 9.0 10.0 12.0+PTX; ROCm: Disabled; XPU: Disabled
GPU Topology:
GPU0 GPU1 GPU2 GPU3 GPU4 GPU5 GPU6 GPU7 NIC0 NIC1 NIC2 NIC3 NIC4 NIC5 NIC6 NIC7 NIC8 CPU Affinity NUMA Affinity GPU NUMA ID
GPU0 X NV18 NV18 NV18 NV18 NV18 NV18 NV18 PXB NODE SYS SYS SYS SYS SYS SYS NODE 0-31,128-159 0 N/A
GPU1 NV18 X NV18 NV18 NV18 NV18 NV18 NV18 NODE PXB SYS SYS SYS SYS SYS SYS NODE 0-31,128-159 0 N/A
GPU2 NV18 NV18 X NV18 NV18 NV18 NV18 NV18 SYS SYS PXB NODE SYS SYS SYS SYS SYS 32-63,160-191 1 N/A
GPU3 NV18 NV18 NV18 X NV18 NV18 NV18 NV18 SYS SYS NODE PXB SYS SYS SYS SYS SYS 32-63,160-191 1 N/A
GPU4 NV18 NV18 NV18 NV18 X NV18 NV18 NV18 SYS SYS SYS SYS PXB NODE SYS SYS SYS 64-95,192-223 2 N/A
GPU5 NV18 NV18 NV18 NV18 NV18 X NV18 NV18 SYS SYS SYS SYS NODE PXB SYS SYS SYS 64-95,192-223 2 N/A
GPU6 NV18 NV18 NV18 NV18 NV18 NV18 X NV18 SYS SYS SYS SYS SYS SYS PXB NODE SYS 96-127,224-255 3 N/A
GPU7 NV18 NV18 NV18 NV18 NV18 NV18 NV18 X SYS SYS SYS SYS SYS SYS NODE PXB SYS 96-127,224-255 3 N/A
NIC0 PXB NODE SYS SYS SYS SYS SYS SYS X NODE SYS SYS SYS SYS SYS SYS NODE
NIC1 NODE PXB SYS SYS SYS SYS SYS SYS NODE X SYS SYS SYS SYS SYS SYS NODE
NIC2 SYS SYS PXB NODE SYS SYS SYS SYS SYS SYS X NODE SYS SYS SYS SYS SYS
NIC3 SYS SYS NODE PXB SYS SYS SYS SYS SYS SYS NODE X SYS SYS SYS SYS SYS
NIC4 SYS SYS SYS SYS PXB NODE SYS SYS SYS SYS SYS SYS X NODE SYS SYS SYS
NIC5 SYS SYS SYS SYS NODE PXB SYS SYS SYS SYS SYS SYS NODE X SYS SYS SYS
NIC6 SYS SYS SYS SYS SYS SYS PXB NODE SYS SYS SYS SYS SYS SYS X NODE SYS
NIC7 SYS SYS SYS SYS SYS SYS NODE PXB SYS SYS SYS SYS SYS SYS NODE X SYS
NIC8 NODE NODE SYS SYS SYS SYS SYS SYS NODE NODE SYS SYS SYS SYS SYS SYS X
Legend:
X = Self
SYS = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
PHB = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
PXB = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
PIX = Connection traversing at most a single PCIe bridge
NV# = Connection traversing a bonded set of # NVLinks
NIC Legend:
NIC0: mlx5_0
NIC1: mlx5_1
NIC2: mlx5_2
NIC3: mlx5_3
NIC4: mlx5_4
NIC5: mlx5_5
NIC6: mlx5_6
NIC7: mlx5_7
NIC8: mlx5_21
==============================
Environment Variables
==============================
NVIDIA_VISIBLE_DEVICES=GPU-6165c0ef-6980-e0f1-13c8-ab9c5e24faf0,GPU-6649d5ab-9f5f-3464-75be-6812bc716c3f,GPU-430d8f1b-bc37-1043-1d0b-5e86240f8acc,GPU-1dd74c37-70fe-9e61-3581-740020c020f5,GPU-205139bb-5f54-150e-d756-55c348445f66,GPU-97697070-b3a0-fa49-89f9-b0db5c5f801a,GPU-debef8f9-d864-0245-7a1e-49206f736cf9,GPU-c14646a6-c135-d9a8-3c9c-6a6a59fbced9
NVIDIA_REQUIRE_CUDA=cuda>=13.0 brand=unknown,driver>=535,driver<536 brand=grid,driver>=535,driver<536 brand=tesla,driver>=535,driver<536 brand=nvidia,driver>=535,driver<536 brand=quadro,driver>=535,driver<536 brand=quadrortx,driver>=535,driver<536 brand=nvidiartx,driver>=535,driver<536 brand=vapps,driver>=535,driver<536 brand=vpc,driver>=535,driver<536 brand=vcs,driver>=535,driver<536 brand=vws,driver>=535,driver<536 brand=cloudgaming,driver>=535,driver<536 brand=unknown,driver>=550,driver<551 brand=grid,driver>=550,driver<551 brand=tesla,driver>=550,driver<551 brand=nvidia,driver>=550,driver<551 brand=quadro,driver>=550,driver<551 brand=quadrortx,driver>=550,driver<551 brand=nvidiartx,driver>=550,driver<551 brand=vapps,driver>=550,driver<551 brand=vpc,driver>=550,driver<551 brand=vcs,driver>=550,driver<551 brand=vws,driver>=550,driver<551 brand=cloudgaming,driver>=550,driver<551 brand=unknown,driver>=565,driver<566 brand=grid,driver>=565,driver<566 brand=tesla,driver>=565,driver<566 brand=nvidia,driver>=565,driver<566 brand=quadro,driver>=565,driver<566 brand=quadrortx,driver>=565,driver<566 brand=nvidiartx,driver>=565,driver<566 brand=vapps,driver>=565,driver<566 brand=vpc,driver>=565,driver<566 brand=vcs,driver>=565,driver<566 brand=vws,driver>=565,driver<566 brand=cloudgaming,driver>=565,driver<566 brand=unknown,driver>=570,driver<571 brand=grid,driver>=570,driver<571 brand=tesla,driver>=570,driver<571 brand=nvidia,driver>=570,driver<571 brand=quadro,driver>=570,driver<571 brand=quadrortx,driver>=570,driver<571 brand=nvidiartx,driver>=570,driver<571 brand=vapps,driver>=570,driver<571 brand=vpc,driver>=570,driver<571 brand=vcs,driver>=570,driver<571 brand=vws,driver>=570,driver<571 brand=cloudgaming,driver>=570,driver<571 brand=unknown,driver>=575,driver<576 brand=grid,driver>=575,driver<576 brand=tesla,driver>=575,driver<576 brand=nvidia,driver>=575,driver<576 brand=quadro,driver>=575,driver<576 brand=quadrortx,driver>=575,driver<576 brand=nvidiartx,driver>=575,driver<576 brand=vapps,driver>=575,driver<576 brand=vpc,driver>=575,driver<576 brand=vcs,driver>=575,driver<576 brand=vws,driver>=575,driver<576 brand=cloudgaming,driver>=575,driver<576
CUDA_CACHE_PATH=/var/cache/vllm/cuda
VLLM_SKIP_P2P_CHECK=1
TORCH_CUDA_ARCH_LIST=7.5 8.0 8.6 8.9 9.0 10.0 12.0+PTX
NCCL_SOCKET_IFNAME=bond0
VLLM_CACHE_ROOT=/var/cache/vllm/vllm
NVIDIA_GDRCOPY=enabledpo
VLLM_USE_FLASHINFER_MOE_INT4=1
NVIDIA_DRIVER_CAPABILITIES=compute,utility
NCCL_DEBUG=WARNING
VLLM_USAGE_SOURCE=production-docker-image
VLLM_USE_FLASHINFER_SAMPLER=1
VLLM_NIXL_ABORT_REQUEST_TIMEOUT=600
CUDA_VERSION=13.0.2
VLLM_ENABLE_CUDA_COMPATIBILITY=0
NVIDIA_DISABLE_REQUIRE=true
VLLM_ENGINE_READY_TIMEOUT_S=1200
LD_LIBRARY_PATH=/usr/local/nvidia/lib64:/usr/local/cuda/lib64:/usr/local/nvidia/lib:/usr/local/nvidia/lib64:/usr/local/cuda/lib64
VLLM_LOGGING_LEVEL=INFO
VLLM_KV_CACHE_LAYOUT=HND
PYTORCH_NVML_BASED_CUDA_CHECK=1
TORCHINDUCTOR_COMPILE_THREADS=1
TORCHINDUCTOR_CACHE_DIR=/tmp/torchinductor_root
Your current environment
The output of
python collect_env.py🐛 Describe the bug
Summary
We observed steady CPU RSS growth in a vLLM worker process during production traffic. A short sampling window using
pmap,/proc/<pid>/status,/proc/<pid>/smaps_rollup, andmemray --leakspoints to retained anonymous private memory allocated while the worker is deserializing RPC broadcast messages.The most suspicious path is not NIXL, file cache, shared memory, pinned memory, or the model
execute_modelpath itself. The largest retained allocations are under:During the sampling window, OS-level memory growth and memray retained allocations are closely aligned:
memray --leaksreported roughly 115.5 MiB of still-live allocations._PyMem_ArenaAlloc: about 73 MiBc10::alloc_cpu: about 38.6 MiBThis suggests the leak is likely caused by Python objects and Torch CPU tensor storage created by RPC message deserialization and retained after the sampled window.
OS-level memory evidence
/proc/<pid>/statusstatus.1.txt -> status.2.txtshowed:Interpretation:
VmPinunchanged).RssFileunchanged).RssShmemincreased by only ~0.5 MiB)./proc/<pid>/smaps_rollupsmaps.1.txt -> smaps.2.txtshowed:Interpretation:
pmap -xpmaptotals showed:Aggregating mappings by type showed almost all growth came from
rw--- [ anon ]private anonymous mappings:In this window:
This matches the
pmaptotal growth and is consistent with newly retained private anonymous allocations.memray evidence
memray --leaksreported still-live allocations totaling approximately:This is close to the OS-level RSS/Private_Dirty growth observed by
pmapandsmaps_rollup, so memray likely captured the main retained allocations responsible for the process RSS increase.The two major contributors are
_PyMem_ArenaAllocandc10::alloc_cpu, together accounting for roughly 111.6 MiB, which explains most of the OS-observed net growth.Suspicious call path
The memray flamegraph shows the main retained branch under the worker RPC loop:
Two relevant branches were visible:
The largest branch is therefore
dequeue, not the model execution path.Expanded path:
This path retained about 100 MiB during the sampled window.
Native Torch CPU allocation path
The largest Torch CPU-storage allocation path is:
Retained allocation:
This suggests the RPC message being deserialized contains Torch serialized storage/tensor data. The worker allocates CPU tensor storage during
pickle.loads, and that storage remains live at the end of the sampling window.Possible sources include tensors or tensor-like metadata inside RPC arguments, scheduler output, input metadata, block/slot metadata, sampling/logits-related CPU tensors, or other objects transported through the broadcast RPC queue.
Python object allocation path
The largest Python-object allocation source is:
Retained allocation:
This indicates a large number of Python objects created while unpickling the RPC message remained live after the sample.
Current hypothesis
The current leading hypothesis is:
A multimodal cache or multimodal request lifecycle issue is still a possible contributing factor, because the workload involves image requests and RPC messages may carry multimodal scheduler/input objects. However, based on this sample, multimodal caching is only a hypothesis, not the directly proven allocation site. The directly observed retained allocation site is the RPC broadcast deserialization path.
Before submitting a new issue...