-
Notifications
You must be signed in to change notification settings - Fork 828
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 hangs while doing operations on windows drives from linux #2613
Comments
To leave an update. The problem does not occur if I used the linux filesystem, only when I symlink window drives and operate on them. |
This happens to me as well using Node, working in the Windows file system from WSL. NPM installs fail almost every time once WSL has been running for more than a couple minutes. I end up having to completely shut down and re-start my development environment several times a day. Doing an Something is seriously busted with the file system in WSL. |
I just had to reboot my PC for the second time today due to disk intensive operations breaking WSL. Maybe 2018 will be the year of the Windows desktop, when Windows is finally stable enough to use as a functioning workstation for developers. In the meantime, I would recommend Linux if you want a stable desktop OS with good software compatibility :) |
It is very annoying that the bash process cannot be killed via task
manager. I even tried with process explorer to set the permissions but it
also didn’t work. At the end I resorted to make a copy of the windows files
to the Linux filesystem and it is working ok now. It is stupid however to
be unable to kill a deadlocked process and to have to restart the whole
system.
…On Wed, 1 Nov 2017 at 17:53, Jack Lewis ***@***.***> wrote:
I just had to reboot my PC for the second time today due to disk intensive
operations breaking WSL.
Maybe 2018 will be the year of the Windows desktop, when Windows is
finally stable enough to use as a functioning workstation for developers.
In the meantime, I would recommend Linux if you want a stable desktop OS
with good software compatibility :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2613 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AYqnN3ys--XzLV_a2iHdD0ShxpHPY2iFks5syJPggaJpZM4QJuSq>
.
|
I had hoped for a |
I too have experienced such hangs from doing file system operations. One instance I traced to be trying to use chown/chmod, which caused it 100 out of 100 times. |
Guys, please check if you have a windows junction somewhere in the path passed to rm -rf or chown. I've had problems with both leading to freezes. The workaround is to use a Linux symlink. I've posted the issue here: #2746 |
When running Webpack/BuckleScript on watch mode, WSL crashes, and won't start to Bash prompt, only recovers after a few restarts. WSL Ubuntu |
My machine just crashed two times in a row doing a |
@rhinoceraptor - If you can follow the instruction from here for BSOD's, that would be great. @superherointj - Can you please post the Windows ver ( |
@sunilmut Screenshots of problem: Current way to reproduce problem is to just use bucklescript/webpack in my project and eventually it crashes WSL with error: Workaround is to restart computer several times. And WSL works again after a few attempts. |
1/20: I would like to add to this discussion that it's not just bash that's the issue. Any linux process found in Task Manager is unable to be killed in the Task Manager. Nor does using 1/23: Update: Verified the workaround works. Recommend rebooting without logging in at least 4 times (I did 6) as logging in seems to keep it persisting. |
Another one. Yes I use symlinks from Windows. |
I am also seeing this issue when developing with Node/Webpack in WSL but the code directory in Windows. I'm on Version 10.0.16299.371. |
This also happens to me when using Node or Ruby, I'm on 17713 |
This was fixed in 17134. I'm able to kill any process I want under Task Manager, including |
This is affecting me on my workstation. I'm on 17134. Not using symlinks or junctions, just prodding a few files with Python. Seems like all I/O eventually dies. |
Let's call it #2746 for lack. There is no repro for "running a devops python script that copies files between directories" out of the gate. |
WSL hangs (is idle) on first launch of WSL "WSL is installing, this can take a few minutes" and when installing software with apt ( |
Add your project dir and C:\Users\username\Appdata\Local to Windows defender exclusion list. |
Was there a fix for this? I am having same issue with Ubuntu in general. I've uninstalled both VS COde and Ubuntu several times. Still have issue. Have only ubuntu installed, when open it works for few seconds/minutes and then it hangs and mutliple init, or bash, or env open in task manager making cpu 100%. |
Exactly the same behavior for me as for @GiancarloZ . Couple minutes everything works. Then when opening bash or running command from already opened terminal - hangs, CPU usage 100%, bash and init processes cannot be killed. Only restart helps. Very frustrating. The issue started today. Enable/disable Windows Subsystem for Linux, reinstall of Ubuntu didnt help. |
@lukasrusty I just tried using Debian instead of Ubuntu thinking that was the issue and I got the same problem. Maybe its the windows 10 Subsystem for Linux? |
@lukasrusty check out thread below. Seems to have solved the issue.....for now. |
I had several hangs while doing operations such as running a devops python script that copies files between directories. Here is how starting ubuntu looks after hanging:
Bash cannot be killed from Task Manager or Process Explorer. The problem seemed really easy to trigger when I was working on a TrueCrypt drive. I assumed it might have something to do with TrueCrypt and unlinked it. Then it also happened on a regular drive that is linked in my home directory in linux.
My windows ver is: [Version 10.0.16299.19].
The hang is fixed by a system restart. One time, when I did system restart the system needed to be turned off from the power button because it hanged on restarting. Other times Windows restart worked ok.
Let me know if I can send any logs or additional information.
The text was updated successfully, but these errors were encountered: