Windows Version
Microsoft Windows [版本 10.0.26100.4946]
WSL Version
2.7.10
Are you using WSL 1 or WSL 2?
Kernel Version
6.18.33.2-2
Distro Version
Ubuntu22.04
Other Software
No response
Repro Steps
When using WSL, I set .wslconfig with processors=8 and memory=12GB. Then, inside a Docker container running a Linux distribution, I tried to compile LLVM using make -j with no explicit job limit. During this process, because make -j runs without any restriction, it exhausted all allocated memory and swap. At that point, WSL became completely unresponsive—no interactive commands (including wsl --shutdown) worked, and the only way to recover was to restart the whole WSL instance (or reboot Windows). Simultaneously, I observed an extremely high disk read rate, which basically saturated my disk I/O bandwidth. From my research, I understand that when resources are exhausted, WSL enters a severe thrashing state, causing massive disk I/O activity.
Expected Behavior
WSL is unresponsive, and even wsl --shutdown does not terminate it. The only recovery method is to forcibly end the process via Task Manager. Concurrently, I observe massive disk read activity that consumes nearly all available I/O bandwidth.
Actual Behavior
WSL is unresponsive, and even wsl --shutdown does not terminate it. The only recovery method is to forcibly end the process via Task Manager. Concurrently, I observe massive disk read activity that consumes nearly all available I/O bandwidth.
Diagnostic Logs
I noticed the collected_logs_tools script. If you need logs, I can reproduce the issue and collect them.
Windows Version
Microsoft Windows [版本 10.0.26100.4946]
WSL Version
2.7.10
Are you using WSL 1 or WSL 2?
Kernel Version
6.18.33.2-2
Distro Version
Ubuntu22.04
Other Software
No response
Repro Steps
When using WSL, I set .wslconfig with processors=8 and memory=12GB. Then, inside a Docker container running a Linux distribution, I tried to compile LLVM using make -j with no explicit job limit. During this process, because make -j runs without any restriction, it exhausted all allocated memory and swap. At that point, WSL became completely unresponsive—no interactive commands (including wsl --shutdown) worked, and the only way to recover was to restart the whole WSL instance (or reboot Windows). Simultaneously, I observed an extremely high disk read rate, which basically saturated my disk I/O bandwidth. From my research, I understand that when resources are exhausted, WSL enters a severe thrashing state, causing massive disk I/O activity.
Expected Behavior
WSL is unresponsive, and even wsl --shutdown does not terminate it. The only recovery method is to forcibly end the process via Task Manager. Concurrently, I observe massive disk read activity that consumes nearly all available I/O bandwidth.
Actual Behavior
WSL is unresponsive, and even wsl --shutdown does not terminate it. The only recovery method is to forcibly end the process via Task Manager. Concurrently, I observe massive disk read activity that consumes nearly all available I/O bandwidth.
Diagnostic Logs
I noticed the collected_logs_tools script. If you need logs, I can reproduce the issue and collect them.