Random VM soft lockup with PVE 6.8 kernel

pandada8

Active Member
Jun 25, 2018
13
2
43
27
TL;DR: change kernel to ubuntu's `linux-image-6.8.0-32-generic` seems fix the soft lockup
Code:
# pveversion
pve-manager/8.2.2/9355359cd7afbae4 (running kernel: 6.8.0-32-generic)
Code:
# fastfetch-linux-amd64/usr/bin/fastfetch -l small
  _____      root@gigabyte-7
 /  __ \     ---------------
|  /    |    OS: Proxmox VE bookworm 8.2.2 x86_64
|  \___-     Host: H262-Z62-00 (0100)
-_           Kernel: Linux 6.8.0-32-generic
  --_        Uptime: 1 day, 23 hours, 48 mins
             Packages: 1107 (dpkg)
             Shell: bash 5.2.15
             Display (ANALOG): 1280x1024 @ 60Hz
             Terminal: /dev/pts/1
             CPU: AMD EPYC 7702 64-Core (256) @ 2.00 GHz
             GPU: ASPEED Technology, Inc. ASPEED Graphics Family
             Memory: 792.49 GiB / 1007.65 GiB (79%)
             Swap: Disabled
             Disk (/): 9.67 GiB / 19.52 GiB (50%) - ext4
             Local IP (vlan1): 10.2.12.47/24 *
             Locale: en_US.UTF-8

             ████████████████████████
             ████████████████████████

NPS is set to 2

Code:
# numactl -H
available: 4 nodes (0-3)
node 0 cpus: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159
node 0 size: 257786 MB
node 0 free: 84842 MB
node 1 cpus: 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191
node 1 size: 258012 MB
node 1 free: 87389 MB
node 2 cpus: 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223
node 2 size: 258024 MB
node 2 free: 23971 MB
node 3 cpus: 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255
node 3 size: 258012 MB
node 3 free: 18465 MB
node distances:
node   0   1   2   3
  0:  10  12  32  32
  1:  12  10  32  32
  2:  32  32  10  12
  3:  32  32  12  10

The VM is a k8s worker node with high tmpfs usage. Lockups seem to occur quite frequently, approximately every 6 hours.

I tried disabling numa_balancing and ksmtuned, but it didn't seem to have any effect.

I then tried installing the ubuntu 24.04 kernel. and the VM seems pretty happy (with ksmtuned on and numa_balancing on)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!