tmate-io / tmate

Instant Terminal Sharing
https://tmate.io/
Other
5.65k stars 301 forks source link

Lockup/freeze for 20 seconds every 5 minutes #267

Open eguaj opened 2 years ago

eguaj commented 2 years ago

I've been using the "official" tmate client (Linux amd64 from https://github.com/tmate-io/tmate/releases/tag/2.4.0) and I have observed consistent lockup/freeze for 20 seconds every 5 minutes.

First I though the problem was with tmate-ssh-server (and I opened the issue tmate-io/tmate-ssh-server/issues/82), but thanks to @Jakuje we pinned down the problem to the tmate binary client (from the github.com/tmate-io/tmate releases page) which seems to be built with libssh 0.9.0.

With the tmate client installed from Ubuntu 20.04 (which seems to be linked against libssh 0.9.3) I do not reproduce this problem, and the connexion does not exhibit lockups/freezes every 5 minutes.

miiraheart commented 1 month ago

are there any updates on this issue ? I am still having the same issue with default config

$ tmate -V tmate 2.4.0

$ rpm -q libssh libssh-0.10.4-11.el9.x86_64

Jakuje commented 1 month ago

The latest builds of the tmate client from this repository are still statically built against the libssh 0.9 with this error:

https://github.com/tmate-io/tmate/blob/master/Dockerfile#L14

If you install tmate from epel9, you should not see this issue anymore:

https://src.fedoraproject.org/rpms/tmate