Skip to content
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

Slow text rendering through SSH and tmux with a lot of text output #3501

Closed
NielsH opened this issue Nov 9, 2019 · 3 comments
Closed

Slow text rendering through SSH and tmux with a lot of text output #3501

NielsH opened this issue Nov 9, 2019 · 3 comments
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@NielsH
Copy link

NielsH commented Nov 9, 2019

Environment

Windows build number: [Version 10.0.19008.1000]
Windows Terminal version (if applicable): 0.6.2951.0

Any other software?
Ubuntu 18.04.3 LTS through WSL v2 / Windows Build 19008

Steps to reproduce

  1. Use ssh to connect to a linux server through the Terminal App running Ubuntu with WSL v2.
  2. Start tmux on the linux server you are connected to through SSH
  3. Run find /
  4. Wait a few seconds (5-10)
  5. Attempt to CTRL+C

Expected behavior

I expect that immediately, or after a few seconds at most, the CTRL+C command interupts the command and scrolling output from the find command in the terminal.

Actual behavior

It seems that the terminal is unable to handle the fast/large amount of text output from the find command. Looking at the time that tmux shows in the bottom-right of the screen, it can be minutes "behind" in rendering the text output.

Other notes:

  • Running in tmux locally, without going through SSH, it takes ~2 seconds for a CTRL+C to come through
  • Running without tmux locally, without going through SSH, CTRL+C is immediate
  • Running without tmux but with SSH, executing a find on a remote linux server, it takes about 5-7 seconds for the CTRL+C to come through.

So it seems only the combination of being connected to another server through SSH, running a tmux there, and then having a lot of text output causes the issue where the terminal is very far (minutes) behind with rendering the text output.

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Nov 9, 2019
@egmontkob
Copy link

This is probably the same as #3075.

The more of network, ssh, tmux etc. you have, the larger the buffer between find as it emits the data and Terminal as it reads it. Ctrl+C is probably immediately sent to find and it immediately terminates, but there's still a lot of data in these buffers that are yet to be processed by the Terminal.

@zadjii-msft
Copy link
Member

This also has flavors of #1064. Considering this is close enough to the others, let's just call this /dupe of #3075. Thanks!

@ghost
Copy link

ghost commented Nov 11, 2019

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost ghost closed this as completed Nov 11, 2019
@ghost ghost added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Nov 11, 2019
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

3 participants