-
Notifications
You must be signed in to change notification settings - Fork 821
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 network crashes after 100 ssh connections #11759
Comments
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The scipt will output the path of the log file once done. Once completed please upload the output files to this Github issue. Click here for more info on logging View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Open similar issues:
Closed similar issues:
|
Diagnostic information
|
This is interesting. Can you details what you mean by |
By "network breaks" I mean, I can't get to the target machine. I tried this behavior with an Ubuntu 24.04 VM and it works fine, it goes through each SSH sessions. So it's definitely an issue with WSL. |
@DomRakowski where is your test output
WSL info:
|
@DomRakowski: Once you get into this broken state, can you share the output of: |
@zcobol After upgrading from Ubuntu 22.04 to Ubuntu 24.04, when launching the script, it hangs after 100 SSH connections, but somehow WSL manages to recover and proceeds for another 100 SSH connections before hanging for a while.
Can you confirm me this behavior is happening also on your side ? My postgres container is running on a separate machine. |
@OneBlue After upgrading Ubuntu to 24.04, the behavior is not as heavy as before but still present. Interesting point to note, the behavior that I mentioned (100ssh connections, hanging, 100ssh connections, hanging, ... ) is also present on an another machine, but the hanging part is not as long as my machine. This machine is a NUC with the following hardware configuration :
The machine that I work on is a laptop with this hardware configuration :
I'm pretty sure this is somehow related in the end to hardware utilization, but it shouldn't straight up break the network. |
Windows Version
Microsoft Windows [version 10.0.19045.4529]
WSL Version
2.2.4.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.153.1-2
Distro Version
Ubuntu 22.04
Other Software
No response
Repro Steps
When launching this script, it stops at the 100th iteration and the WLS networks breaks afterwards :
After the 100th step, can't ssh into 10.0.204.230 and ping can't reach target after few minutes.
Expected Behavior
Expected to run this scripts to the end and WSL networks should stay fine
Actual Behavior
WSL network crashes, can't ssh into target and after 5 minutes, can't ping target.
Instead I can ping the IP address of the Windows local machine
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: