This article helps identify and resolve when a host is hitting a memory leak for vsantraced service.
Symptoms:
2025-05-24T08:25:04.000+0100 In(182) vmkernel: cpu36:79390030)cartelheap.79390030 (222917398) requires 260 KB, asked 260 KB from vsantraced (222914968) which has 101356 KB occupied and 20 KB available.
2025-05-24T08:25:04.000+0100 In(182) vmkernel: cpu36:79390030)Admission failure in path: host/opt/vsan/vsantraced:chardevlogger.79390030:cartelheap.79390030
2025-05-24T08:25:04.000+0100 In(182) vmkernel: cpu36:79390030)cartelheap.79390030 (222917398) requires 260 KB, asked 260 KB from vsantraced (222914968) which has 101356 KB occupied and 20 KB available.
2025-05-24T08:25:04.000+0100 In(182) vmkernel: cpu23:79389893)Admission failure in path: host/opt/vsan/vsantraced:chardevlogger.79389893:cartelheap.79389893
2025-05-24T08:25:04.000+0100 In(182) vmkernel: cpu23:79389893)cartelheap.79389893 (222916512) requires 260 KB, asked 260 KB from vsantraced (222914968) which has 101356 KB occupied and 20 KB available.
2025-05-24T08:25:04.000+0100 In(182) vmkernel: cpu23:79389893)Admission failure in path: host/opt/vsan/vsantraced:chardevlogger.79389893:cartelheap.79389893
2025-05-24T08:25:04.000+0100 In(182) vmkernel: cpu23:79389893)cartelheap.79389893 (222916512) requires 260 KB, asked 260 KB from vsantraced (222914968) which has 101356 KB occupied and 20 KB available.
Issue is caused by insufficient memory to be allocated by vsantraced daemon.
[vsantraced.log]
2024-11-13T14:45:39.993Z Er(11) chardevlogger[329373967]: Failed to read trace:Cannot allocate memory
2024-11-13T14:45:39.993Z Er(11) chardevlogger[329373891]: Failed to read trace:Cannot allocate memory
2024-11-13T14:45:39.993Z Er(11) chardevlogger[329373967]: Failed to read trace:Cannot allocate memory
2024-11-13T14:45:39.994Z Er(11) chardevlogger[329373891]: Failed to read trace:Cannot allocate memory
2024-11-13T14:45:39.994Z Er(11) chardevlogger[329373967]: Failed to read trace:Cannot allocate memory
VMware vSphere ESXi 8.0.2
Memory leak issue in vsantraced service affecting ESXi 8.0 U2. This issue only affects the vSAN management stack.
/etc/init.d/vsantraced restart
vi /etc/vmware/vsan/vsantraced.conf
VSANTRACED_ZSTD_THREAD=1
/etc/init.d/vsantraced restart