Ran into this when exiting a split today, which caused other ones with a lot of text (I did a backup of an old external drive and printed each file that was getting added to the backup repository, about 10 million lines) to resize and that seemed to take a bit. Not that surprising. But then I did it again, and it didn't take as long, so I'm a bit confused as to what actually triggers it.
It definitely does happen more often when I have panes (whether attached to or not, seemingly) that have a lot of history in them. My history limit is currently *999999999*, but maybe I should try knocking it down some. Do you know around which point tmux starts to slow down noticeably (or how I might estimate that)? I have a fairly late-model laptop with good specs. On Monday, May 11, 2020 at 8:42:41 PM UTC+2, Kevin Kaland wrote: > > Ran into this again. This time, once things unfroze, I couldn't reproduce > it by splitting the window and then trying to resize it. I am not sure if > it requires the splits to already exist in order for resizing to trigger it. > > If I can figure out a consistent set of steps to reproduce, I'll log it > and open an issue. > > On Monday, May 11, 2020 at 5:10:47 PM UTC+2, Kevin Kaland wrote: >> >> Turned plugins off and on...and now it's not happening when resizing >> anymore. I'll keep an eye on things. I did run >> <prefix>I >> >> to update my plugins. Maybe I had an old version or something. I forget >> if tpm keeps them up-to-date automatically or not. >> >> I'll see if it happens again. >> >> On Monday, May 11, 2020 at 5:00:35 PM UTC+2, Kevin Kaland wrote: >>> >>> Hi, >>> >>> Oh, wow! It *does* happen when resizing the terminal. I had not even >>> noticed. That explains why it often happens after attaching after a >>> computer restart, I guess. >>> >>> I see in https://github.com/tmux/tmux/issues/2197 that this was a >>> libevent issue. But I'm on Manjaro, a rolling release, and my system >>> libevent is 2.1.11-5. So I'm not sure if it's the same issue. >>> >>> Maybe step 1 is to disable the plugins and see if the issue persists. >>> >>> On Tuesday, May 5, 2020 at 6:34:00 PM UTC+2, Nicholas Marriott wrote: >>>> >>>> Hi >>>> >>>> Is this when you resize the terminal? >>>> >>>> Does it still happen if you turn off tmux-resurrect and tmux-continuum? >>>> >>>> If you can reproduce you can run tmux with logging: >>>> >>>> >>>> https://github.com/tmux/tmux/blob/master/.github/CONTRIBUTING.md#how-do-i-get-logs-from-tmux >>>> >>>> >>>> >>>> On Tue, May 05, 2020 at 09:30:22AM -0700, Kevin Kaland wrote: >>>> > System: >>>> > LSB Version: n/a >>>> > Distributor ID: ManjaroLinux >>>> > Description: Manjaro Linux >>>> > Release: 20.0 >>>> > Codename: Lysia >>>> > tmux 3.1a >>>> > Within the past couple of weeks or past month, I've started >>>> getting >>>> > freezes in tmux, often just after attaching to a session, and then >>>> > periodically within the session. I use the tmux-resurrect and >>>> > tmux-continuum plugins. I am wondering if the history they are >>>> saving >>>> > could be making tmux hang while processing something. However, I'm >>>> not >>>> > really sure how to debug this. Are there any debug logs or timing >>>> logs I >>>> > could try to record and then submit somewhere or review myself? >>>> When the >>>> > issue occurs, I can see tmux working in `htop`. Sometimes my >>>> computer's >>>> > fan even comes on in tandem with the freeze. But I am not sure >>>> what it's >>>> > processing. A lot of my history seems to have disappeared >>>> recently, >>>> > anyway, so I'm not sure that I'm on the right track there. >>>> > I wanted to post here before posting a GitHub issue so that I >>>> could post a >>>> > better one if I wound up doing so. >>>> > >>>> > -- >>>> > 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 view this discussion on the web, visit >>>> > >>>> https://groups.google.com/d/msgid/tmux-users/d9f017fe-ae02-4fed-9725-5cc243da1243%40googlegroups.com. >>>> >>>> >>>> >>>> -- 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 view this discussion on the web, visit https://groups.google.com/d/msgid/tmux-users/cc777e34-09cb-4a83-820c-a78de8a37267%40googlegroups.com.
