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