Nicholas,

On 2017-11-16 06:17, Nicholas Marriott wrote:
Hi

What tmux version?...


  tmux-2.5-4.fc26.x86_64

- obviously F26 not F25 . . sorry . .

Thanks,

Phil.


On Thu, Nov 16, 2017 at 06:11:22AM +1000, Philip Rhoades wrote:
People,

I leave my Fedora 25 x86_64 workstation on - it has 32Gb of RAM and an
i7-4790K CPU @ 4.00GHz.

I usually have one main tmux environment going with about 15 tabs as user "phil". I sometimes have a second environment going as the same user with
about 10 tabs and a root user environment going with about 10 tabs.
However, even with only just the first environment, the tmux server
gradually (over a day or two) uses more and more CPU time until it gets to the stage where it slows down typing in the xterm to about one character per second - ie there is a noticeable delay between typing the character and it
appearing on the screen.

The only way I have found to fix this is to save the tmux session, kill the tmux server and then restart the session. Why does this input slow down happen? Is there some way I can prevent it happening? I attach the tmux
conf below.

Thanks,

Phil.


set -g default-terminal "screen-256color"
set -g status-bg colour255
set -g status-fg black
setw -g window-status-current-bg colour11

unbind C-b
set -g prefix C-a
bind C-a send-prefix

bind - split-window -v -c '#{pane_current_path}'
bind | split-window -h -c '#{pane_current_path}'
bind-key -T prefix c new-window -c '#{pane_current_path}'
bind-key -n C-Right next-window
bind-key -n C-Left previous-window
bind-key -n C-S-Left swap-window -t -1
bind-key -n C-S-Right swap-window -t +1
set -g window-status-current-format '#I:#(pwd="#{pane_current_path}"; echo
${pwd####*/})#F'
set -g window-status-format '#I:#(pwd="#{pane_current_path}"; echo
${pwd####*/})#F'
set-option -g allow-rename on
set-option -g status-interval 1

set -g set-titles on

set -g set-titles-string '#(pwd="#{pane_current_path}"; echo
${pwd####*/})#F'
set -g status-right ""

setw -g automatic-rename 1

setw -g mode-keys vi

is_vim="ps -o state= -o comm= -t '#{pane_tty}' \
        | grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'"
bind-key -n C-h if-shell "$is_vim" "send-keys C-h"  "select-pane -L"
bind-key -n C-j if-shell "$is_vim" "send-keys C-j"  "select-pane -D"
bind-key -n C-k if-shell "$is_vim" "send-keys C-k"  "select-pane -U"
bind-key -n C-l if-shell "$is_vim" "send-keys C-l"  "select-pane -R"
bind-key -n C-\ if-shell "$is_vim" "send-keys C-\\" "select-pane -l"

set -g terminal-overrides 'xterm*:smcup@:rmcup@'

set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'

run '~/.tmux/plugins/tpm/tpm'


--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  [email protected]

--
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.

--
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  [email protected]

--
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.

Reply via email to