tmux -V does not work indeed. But from inside tmux, I typed :info in the
tmux command mode, and it showed tmux 1.4.

Usually what I do is terminate tmux normally; I wait for it to unfreeze
(usually takes about 5-10 seconds), then close all windows, and then start
tmux again normally without any special settings.

I'll try EVENT_NOEPOLL=1 tmux and let you know how that goes, I will need to
leave the computer on overnight to reproduce this.

Samer

On Fri, Jan 21, 2011 at 1:23 PM, Nicholas Marriott <
nicholas.marri...@gmail.com> wrote:

> If tmux -V doesn't work it isn't the released version of 1.4.
>
> Does killing tmux entirely then starting with "EVENT_NOEPOLL=1 tmux" fix
> it?
>
>
> On Fri, Jan 21, 2011 at 10:57:20AM -0500, Samer Atiani wrote:
> > How do you get the version? I tried tmux -v and tmux --version, none
> > of these worked.
> >
> > Anyway, I did the following:
> >
> > /home/satiani$ strings `which tmux` | grep tmux
> > tmux 1.4, pid %ld, started %s
> > ....
> >
> > looks like its version 1.4?
> >
> > Samer
> >
> >
> > On Thursday, January 20, 2011, Nicholas Marriott
> > <nicholas.marri...@gmail.com> wrote:
> > > tmux version?
> > >
> > >
> > > On Thu, Jan 20, 2011 at 09:50:11AM -0500, Samer Atiani wrote:
> > >>    I notice this on most of my computers (all have ubuntu, versions
> 9.10 and
> > >>    10.04):
> > >>    1- Open up tmux (my usual session is a full screen terminal with
> finch
> > >>    running on one window, and various utilities running in other
> windows,
> > >>    mostly vim).
> > >>    2- Lock your computer for the night, leave tmux open for 12 hours.
> > >>    3- Return to tmux next morning. In the midst of typing something,
> tmux
> > >>    will come to a screeching halt, appear to freeze for few seconds,
> and then
> > >>    revert to normal. This whole event sequence happens intermittently
> with
> > >>    1-2 minutes between each occurrence.
> > >>    Here is an strace statistics view that I triggered once I saw the
> slowdown
> > >>    on the tmux server process:
> > >>    /home/satiani$ ps -Alf | grep tmux [satiani@satiani-ubuntu>pts/2]
> > >>    0 S satiani 3223 29447 0 80 0 - 1540 pipe_w 09:47 pts/2 00:00:00
> grep
> > >>    --color=auto tmux
> > >>    0 S satiani 19490 19483 0 80 0 - 5978 ep_pol Jan19 pts/0 00:00:00
> tmux -2
> > >>    attach
> > >>    1 S satiani 21826 1 3 80 0 - 27436 ep_pol Jan19 ? 00:56:10 tmux -2
> > >>    /home/satiani$ sudo strace -c -p 21826 [satiani@satiani-ubuntu
> >pts/2]
> > >>    Process 21826 attached - interrupt to quit
> > >>    ^CProcess 21826 detached
> > >>    % time seconds usecs/call calls errors syscall
> > >>    ------ ----------- ----------- --------- --------- ----------------
> > >>    99.43 0.273506 645 424 201 clone
> > >>    0.57 0.001567 1 1908 wait4
> > >>    0.00 0.000007 0 3246 epoll_ctl
> > >>    0.00 0.000004 0 669 fcntl
> > >>    0.00 0.000000 0 2028 read
> > >>    0.00 0.000000 0 2 write
> > >>    0.00 0.000000 0 16 open
> > >>    0.00 0.000000 0 1244 close
> > >>    0.00 0.000000 0 7 stat
> > >>    0.00 0.000000 0 16 fstat
> > >>    0.00 0.000000 0 16 mmap
> > >>    0.00 0.000000 0 16 munmap
> > >>    0.00 0.000000 0 1 brk
> > >>    0.00 0.000000 0 207 rt_sigreturn
> > >>    0.00 0.000000 0 2028 ioctl
> > >>    0.00 0.000000 0 207 207 sendto
> > >>    0.00 0.000000 0 423 recvfrom
> > >>    0.00 0.000000 0 263 41 socketpair
> > >>    0.00 0.000000 0 2 uname
> > >>    0.00 0.000000 0 427 epoll_wait
> > >>    ------ ----------- ----------- --------- --------- ----------------
> > >>    100.00 0.275084 13150 449 total
> > >>    Does anyone know what is going on? Is this a known problem and is
> there a
> > >>    way to fix this?
> > >>    Thanks!
> > >>    Samer
> > >
> > >>
> ------------------------------------------------------------------------------
> > >> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> > >> Finally, a world-class log management solution at an even better
> price-free!
> > >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> > >> February 28th, so secure your free ArcSight Logger TODAY!
> > >> http://p.sf.net/sfu/arcsight-sfd2d
> > >
> > >> _______________________________________________
> > >> tmux-users mailing list
> > >> tmux-users@lists.sourceforge.net
> > >> https://lists.sourceforge.net/lists/listinfo/tmux-users
> > >
> > >
>
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to