New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WSL hang up after upgrade to version 2.0.0 #10534
Comments
@TaylorTrz with
Why is your distro trying to access |
Thank-you for reporting @TaylorTrz, this was well written and easy to follow. |
@TaylorTrz, I wasn't able to reproduce the hang in question. Thanks for pointing out To confirm, you're saying it's possible to clear the hang you see with ctrl+c? |
Hi, i reproduce issue above, and change cGroup v1 to cGroup v2. wsl # stat -fc %T /sys/fs/cgroup/
cgroup2fs wslconfig [wsl2]
kernelCommandLine = "cgroup_no_v1=all" # Disable cgroupV1 to make memory reclamin function well
[experimental]
autoMemoryReclaim=gradual However, wried kernel hang also happened. |
After tried different autoMemoryReclaim options, still met with kernel hung.
What should i do to avoid this kernel hung. NOTE: This bug will lead to file misclean after reboot.!!! This is much too danger than expected. |
Hi, |
Windows Version
10.0.22621.2338
WSL Version
2.0.0.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.123.1-1
Distro Version
Ubuntu 20.04.5 LTS
Other Software
No response
Repro Steps
Upgrade to WSL 2.0.0
Open new feature with .wslconfig:
Even the bash terminal can not open successfully.
With strace output, the syscall hang on stating Windows files on C Driver:
Expected Behavior
The system should running smoothly, and Bash open successfully.
Actual Behavior
System seems hang up with some syscall
Diagnostic Logs
No response
Tasks
The text was updated successfully, but these errors were encountered: