question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

zsh processes accumulating under WSL; not being killed on window closure

See original GitHub issue
  • I am on the latest Hyper.app version

  • I have searched the issues of this repo and believe that this is not a duplicate

  • OS version and name: Windows 10 17763

  • Hyper.app version: 3.0.0

  • Link of a Gist with the contents of your .hyper.js: Gist

  • Relevant information from devtools: N/A

  • The issue is reproducible in vanilla Hyper.app: Yes

Issue

Using zsh under WSL, closing Hyper will not kill the zsh process. If zsh is launched from a .bashrc, zsh processes will accumulate each time a terminal window is opened, leading to terminal slowdown after just a few windows have been opened and closed.

To reproduce, run zsh in Hyper using WSL shell, then close the terminal window. Repeat a few times, if desired. Then, open Task Manager (or run ps -ef; the output will be manageably short on WSL) and count the zsh instances.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:9
  • Comments:12

github_iconTop GitHub Comments

3reactions
grasskindcommented, Jun 13, 2019

Yeah, my solution has just been to use Ctrl-D rather than closing out of the window. This seems to kill all of the processes as desired.

1reaction
mryauchcommented, Aug 7, 2019

One last update to this issue: I resolved it by merely reinstalling Windows. I hadn’t refreshed since last year so it was a good time to do a fresh install!

  1. Reinstalled Windows 10
  2. Updated to 1903 (pretty sure it was on 1809 prior, I think that might have been it tbh)
  3. Installed Firefox, Lastpass
  4. Windows Subsystem for Linux
  5. Debian
  6. Hyper
  7. Configured Hyper to use wsl.exe, installed zsh, set it as the default shell.
  8. Profit!
Read more comments on GitHub >

github_iconTop Results From Across the Web

zsh processes accumulating under WSL; not being killed on ...
To reproduce, run zsh in Hyper using WSL shell, then close the terminal window. Repeat a few times, if desired. Then, open Task...
Read more >
WSL processes consuming my CPU - Super User
WSL processes consuming my CPU · 1) Open the run command box by pressing Window Key + R. Type in optionalfeatures · 2)...
Read more >
Change Log - Wez's Terminal Emulator
New: splitting panes in wezterm ssh now works like spawning new tabs: the new program is started on the remote host with no...
Read more >
linux - How to check if a program is run in Bash on Ubuntu on ...
The following works in bash on Windows 10, macOS, and Linux: #!/bin/bash set -e if grep -qEi "(Microsoft|WSL)" /proc/version &> /dev/null ; then...
Read more >
the windows subsystem for linux instance has terminated ...
To do this, follow the instructions that have been given down below: First of all, make sure that WSL is closed. Open up...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found