It will keep running until the ssh TCP connection drops which may be 30
minutes or so. We could probably kill it, see if this works:
Index: tty.c
===================================================================
RCS file: /cvs/src/usr.bin/tmux/tty.c,v
retrieving revision 1.294
diff -u -p -r1.294 tty.c
--- tty.c 21 Aug 2017 21:02:58 -0000 1.294
+++ tty.c 23 Aug 2017 10:02:51 -0000
@@ -159,8 +159,9 @@ tty_read_callback(__unused int fd, __unu
int nread;
nread = evbuffer_read(tty->in, tty->fd, -1);
- if (nread == -1) {
+ if (nread == 0 || nread == -1) {
event_del(&tty->event_in);
+ server_client_lost(tty->client);
return;
}
log_debug("%s: read %d bytes (already %zu)", c->name, nread, size);
On Wed, Aug 23, 2017 at 11:55:12AM +0200, Thomas Sattler wrote:
> This seems to relax the 100% CPU issue, but
> the 'tmux attach' process is still running.
>
> Thomas
>
> --
> You received this message because you are subscribed to the Google Groups
> "tmux-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send an email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.