diff --git a/CHANGELOG.md b/CHANGELOG.md index b4d4607..9162843 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.14.1] - 2026-10-07 + +### Fixed +- tmux status bar no longer forks shell jobs for user and host (`#{user}@#{host_short}`); on a large server each fork cost ~40 ms, and the server sat at 60% CPU, lagging every pane. +- tmux `history-limit` lowered from 10M to 20000 lines: at 10M the server grew to 1.3 GB. Takes effect for new panes; run `tmux clear-history` on old ones. + ## [1.14.0] - 2026-09-21 ### Added diff --git a/tmux/.tmux.conf.local b/tmux/.tmux.conf.local index 1f5db42..674d29c 100644 --- a/tmux/.tmux.conf.local +++ b/tmux/.tmux.conf.local @@ -229,7 +229,7 @@ tmux_conf_theme_right_separator_sub="|" # - #{username} # - #{username_ssh} tmux_conf_theme_status_left=" #S " -tmux_conf_theme_status_right=" #{prefix}#{synchronized} %R | #{loadavg} | #{username}#{root}@#{hostname} " +tmux_conf_theme_status_right=" #{prefix}#{synchronized} %R | #{loadavg} | #{user}@#{host_short} " # status left style tmux_conf_theme_status_left_fg="$tmux_conf_theme_colour_6,$tmux_conf_theme_colour_7,$tmux_conf_theme_colour_8" @@ -328,8 +328,10 @@ tmux_conf_copy_to_os_clipboard=true # -- user customizations ------------------------------------------------------- # this is the place to override or undo settings -# increase history size (overrides base 5000000 with a larger value) -set -g history-limit 10000000 +# cap scrollback: the server holds every pane's history in one process, and at +# 10M lines it reached 1.3 GB (352k lines over 19 panes, 8 days up), and every +# fork for a status job or run-shell hook copies page tables of that size. +set -g history-limit 20000 # start with mouse mode enabled set -g mouse on