Bug#1092449: nvidia-smi: constant memory leak and use all RAM+SWAP; magic fix availble

M. Zhou lumin at debian.org
Tue Jan 7 23:42:07 GMT 2025


Package: nvidia-smi
Version: 535.216.03-1
Severity: important
Control: forwarded -1 https://forums.developer.nvidia.com/t/nvidia-smi-uses-all-of-ram-and-swap/295639/16

Dear maintainer,

On a newly installed Debian sid system, I noted that nvidia-smi
always gets stuck in the middle and consume all system RAM+SWAP
before it finishes printing.

This behavior is exactly the same as described in the following
forum:
https://forums.developer.nvidia.com/t/nvidia-smi-uses-all-of-ram-and-swap/295639/12

In the above thread, a magic fix is provided:
  sudo chmod o-w /var/run/nvidia-persistenced/socket
Which worked perfectly on my machine. After that, nvidia-smi can
respond immediately without eating my system RAM. However this fix
is just temporary.

I'm using 6.11.10-amd64 kernel from the Sid snapshot in order to
make wayland work. Recently it is well known that the nvidia GPUs
do not play well with kernel 6.12.



More information about the pkg-nvidia-devel mailing list