-
Notifications
You must be signed in to change notification settings - Fork 859
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
Bash.exe 25% CPU usage and Stuck #358
Comments
This is interesting. We run some post-install commands to fix #143 and it's possible one of those is hanging. While you're in this state you should be able to run bash.exe, could you run bash.exe and run 'ps x' and tell me what commands are running? |
First Scenario:
Result: Installation Successful! and after this, bash.exe gets around 25% CPU use and i can't even finish the process, the only way is restarting computer. Second Scenario:
|
I'm having this exact same issue as stated in the comment above. The process just hangs. The installation is not completed. It stops right before you get requested to create the user. |
@MarioRicalde Can you share the following information with me? I'd like to try to reproduce this on my end but I have not been able to.
Thanks! |
@benhillis Of course, although I already did a clean install to get it to work, I'm going to name some things from memory.
Cheers! |
@MarioRicalde - So to confirm, you had WSL installed before upgrading, and after upgrading you were unable to launch bash? If so, did you install many apt packages? I wonder if something got added to your .bashrc file that we're hanging on when trying to load bash. If anybody else is hitting this I'd be interested if you could run the below command and share the output:
|
@benhillis - My apologies for the confusing information. What I was trying to say was that I had a non-insider version of Windows. And I applied the upgrade via the .iso. I kept the files and what not. Everything seemed to work fine, except when installing Bash. It would hang just hang everytime. I don't have access to that Windows Installation anymore since I did a clean install, now everything works. |
@MarioRicalde - Thank you for the clarification. Which OS were you upgrading from? Win 10? |
@benhillis yes, it was an upgrade from Windows 10 non-insider to insider. |
Thanks for the information. Would it be possible for you to take a sample profile trace of you launching bash.exe? Since we can't reproduce this locally this would be very beneficial for us to see /bin/bash is getting stuck.
|
Shoutout to @N00byEdge who helped me identify the problem. @MarioRicalde Can you confirm for me that you have more than one pagefile on your system? See more info here: #538 (comment) |
I meet the same problem when using version 1607. |
I have encountered this on the latest WSL build. Bash is installed completely. However, while compiling Ruby I noticed the (quad core) CPU is limited to 25%. Thus Ruby took about 15 minutes to compile. Is this a WSL feature? To limit CPU usage to 25%? |
Hi @tgroff -- WSL has no CPU limitations. I have a quad-core processor as well and I have no trouble using it up to 100%. 25% sounds like you're just using one of your cores. Which is what would happen with a simple serial build. I've never built Ruby before, but I suspect you have to do something to request a parallel build. |
I"m having a quite strange problem when installing Ubuntu Bash on Windows 10 Build 14342, after installing i get "Installation Successful!", after this it does get stuck there and creates another process called bash which keep stuck around 25% CPU usage.
The text was updated successfully, but these errors were encountered: