Re: Tmux starts slowing down badly after long periods of execution

2011-03-28 Thread Samer Atiani
Thanks! This seems to have fixed my problem!

Samer

On Wed, Mar 23, 2011 at 1:03 PM, Nicholas Marriott <
nicholas.marri...@gmail.com> wrote:

> this has been covered before, tmux runs status-left and -right through
> strftime(3) itself so you are asking it to run a new command like 'date
> +"Wed Mar 23 2011 17:01"' every minute. until very recently these
> commands were persistent so each minute it would allocate a new job
> entry and cause tmux to use a lot of memory
>
>
> On Wed, Mar 23, 2011 at 12:52:23PM -0400, Samer Atiani wrote:
> >Interesting, is that whats causing the problem?
> >
> >I'm curious to hear an explanation.
> >
> >Thanks!
> >Samer
> >
> >On Wed, Mar 23, 2011 at 11:46 AM, Nicholas Marriott
> ><[1]nicholas.marri...@gmail.com> wrote:
> >
> >  Change this:
> >
> >  set-option -g status-right '#[fg=black]#(date +"%a %b %d %Y %R")'
> >
> >  To this:
> >
> >  set-option -g status-right '#[fg=black]%a %b %d %Y %R'
> >
> >  On Wed, Mar 23, 2011 at 11:20:31AM -0400, Samer Atiani wrote:
> >  >I'm still getting this problem at least once a day and its
> >  beginning to
> >  >make tmux unusable for me. To summarize the problem again, tmux
> >  starts to
> >  >freeze intermittently after periods of use ranging from 3-8
> hours.
> >  During
> >  >intermittent freezes, tmux doesn't act on keyboard events
> quickly,
> >  freezes
> >  >for about 3-5 seconds then all pent up keyboard events would be
> >  acted upon
> >  >(whether they are tmux commands or keyboard events to programs
> >  running in
> >  >a tmux window). After every freeze, there is a period of 5-10
> >  minutes
> >  >where tmux behaves normally, and then I see the freeze again.
> The
> >  only
> >  >solution to this problem is to close everything, including
> tmux,
> >  and
> >  >restart everything.
> >  >
> >  >I installed Ubuntu 10.10 from scratch on two separate machines
> and
> >  >installed tmux using apt-get. Even after I did that 'tmux -V'
> does
> >  not
> >  >work, but I found out that the version is 1.3 by typing :info
> at
> >  tmux
> >  >command mode.
> >  >
> >  >Here is how my usual tmux session looks like:
> >  >
> >  >1- I run tmux in a custom compiled urxvt terminal, but I've
> also
> >  seen the
> >  >problem happen in stock gnome-terminal that comes with Ubuntu
> >  10.10.
> >  >2- I aliased tmux to tmux -2 to force 256 colors.
> >  >3- My usual tmux session looks like this:
> >  >* 1 window for finch (a command line IM client) with activity
> >  monitoring
> >  >turned on.
> >  >* 2-3 windows with vim open in them editing files.
> >  >* 2-3 windows with ssh sessions open in them.
> >  >
> >  >If you need my .tmux.conf file you can see it here:
> >  >[1][2]https://github.com/satiani/init/blob/master/.tmux.conf
> >  >
> >  >I'm willing to collect any more information you want me to, I
> love
> >  tmux
> >  >and would be distressed if I had to drop it and go back to
> screen
> >  because
> >  >of the frequent freezes.
> >  >
> >  >Many thanks,
> >  >Samer
> >  >
> >  >On Fri, Jan 21, 2011 at 5:23 PM, Karl Ferdinand Ebert
> >  ><[2][3]kfeb...@gmail.com> wrote:
> >  >
> >  >  Hi,
> >  >
> >  >  I package tmux for Debian which gets from time to time synced
> >  from
> >  >  Ubuntu. But
> >  >  as far as I know there is no version of tmux-1.4 in Ubuntu
> 10.04
> >  (which
> >  >  has
> >  >  1.1-1) and 9.04 (which has 0.8-5). So I assume you have
> received
> >  tmux
> >  >  from
> >  >  another source probably from Debian's experimental repository
> >  which has
> >  >  a fix for
> >  >  the EPOLL bug on Linux.
> >  >
> >  >  Am Friday 21 of January 2011, 19:30:46 schrieb Samer Atiani:
> >  >  > tmux -V does not work indeed. But from inside tmux, I typed
> >  :info in
> >  >  the
> >  >  > tmux command mode, and it showed tmux 1.4.
> >  >  This has worked in every (packaged) version of tmux. There
> must
> >  be
> >  >  something
> >  >  wrong with your installation.
> >  >  Nevertheless I am interested if this bug is reproducible.
> >  >
> >  >  Best regards,
> >  >  Karl Ferdinand Ebert
> >  >
> >  > References
> >  >
> >  >Visible links
> >  >1. [4]https://github.com/satiani/init/blob/master/.tmux.conf
> >  >2. mailto:[5]kfeb...@gmail.com
> >
> >  >
> >
>  
> --
> >  > Enable your software for Intel(R) Active Management Te

Re: Tmux starts slowing down badly after long periods of execution

2011-03-23 Thread Samer Atiani
Interesting, is that whats causing the problem?

I'm curious to hear an explanation.

Thanks!
Samer

On Wed, Mar 23, 2011 at 11:46 AM, Nicholas Marriott <
nicholas.marri...@gmail.com> wrote:

> Change this:
>
> set-option -g status-right '#[fg=black]#(date +"%a %b %d %Y %R")'
>
> To this:
>
> set-option -g status-right '#[fg=black]%a %b %d %Y %R'
>
>
> On Wed, Mar 23, 2011 at 11:20:31AM -0400, Samer Atiani wrote:
> >I'm still getting this problem at least once a day and its beginning
> to
> >make tmux unusable for me. To summarize the problem again, tmux starts
> to
> >freeze intermittently after periods of use ranging from 3-8 hours.
> During
> >intermittent freezes, tmux doesn't act on keyboard events quickly,
> freezes
> >for about 3-5 seconds then all pent up keyboard events would be acted
> upon
> >(whether they are tmux commands or keyboard events to programs running
> in
> >a tmux window). After every freeze, there is a period of 5-10 minutes
> >where tmux behaves normally, and then I see the freeze again. The only
> >solution to this problem is to close everything, including tmux, and
> >restart everything.
> >
> >I installed Ubuntu 10.10 from scratch on two separate machines and
> >installed tmux using apt-get. Even after I did that 'tmux -V' does not
> >work, but I found out that the version is 1.3 by typing :info at tmux
> >command mode.
> >
> >Here is how my usual tmux session looks like:
> >
> >1- I run tmux in a custom compiled urxvt terminal, but I've also seen
> the
> >problem happen in stock gnome-terminal that comes with Ubuntu 10.10.
> >2- I aliased tmux to tmux -2 to force 256 colors.
> >3- My usual tmux session looks like this:
> >* 1 window for finch (a command line IM client) with activity
> monitoring
> >turned on.
> >* 2-3 windows with vim open in them editing files.
> >* 2-3 windows with ssh sessions open in them.
> >
> >If you need my .tmux.conf file you can see it here:
> >[1]https://github.com/satiani/init/blob/master/.tmux.conf
> >
> >I'm willing to collect any more information you want me to, I love
> tmux
> >and would be distressed if I had to drop it and go back to screen
> because
> >of the frequent freezes.
> >
> >Many thanks,
> >Samer
> >
> >On Fri, Jan 21, 2011 at 5:23 PM, Karl Ferdinand Ebert
> ><[2]kfeb...@gmail.com> wrote:
> >
> >  Hi,
> >
> >  I package tmux for Debian which gets from time to time synced from
> >  Ubuntu. But
> >  as far as I know there is no version of tmux-1.4 in Ubuntu 10.04
> (which
> >  has
> >  1.1-1) and 9.04 (which has 0.8-5). So I assume you have received
> tmux
> >  from
> >  another source probably from Debian's experimental repository which
> has
> >  a fix for
> >  the EPOLL bug on Linux.
> >
> >  Am Friday 21 of January 2011, 19:30:46 schrieb Samer Atiani:
> >  > tmux -V does not work indeed. But from inside tmux, I typed :info
> in
> >  the
> >  > tmux command mode, and it showed tmux 1.4.
> >  This has worked in every (packaged) version of tmux. There must be
> >  something
> >  wrong with your installation.
> >  Nevertheless I am interested if this bug is reproducible.
> >
> >  Best regards,
> >  Karl Ferdinand Ebert
> >
> > References
> >
> >Visible links
> >1. https://github.com/satiani/init/blob/master/.tmux.conf
> >2. mailto:kfeb...@gmail.com
>
> >
> --
> > Enable your software for Intel(R) Active Management Technology to meet
> the
> > growing manageability and security demands of your customers. Businesses
> > are taking advantage of Intel(R) vPro (TM) technology - will your
> software
> > be a part of the solution? Download the Intel(R) Manageability Checker
> > today! http://p.sf.net/sfu/intel-dev2devmar
>
> > ___
> > tmux-users mailing list
> > tmux-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/tmux-users
>
>
--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: Tmux starts slowing down badly after long periods of execution

2011-03-23 Thread Nicholas Marriott
this has been covered before, tmux runs status-left and -right through
strftime(3) itself so you are asking it to run a new command like 'date
+"Wed Mar 23 2011 17:01"' every minute. until very recently these
commands were persistent so each minute it would allocate a new job
entry and cause tmux to use a lot of memory


On Wed, Mar 23, 2011 at 12:52:23PM -0400, Samer Atiani wrote:
>Interesting, is that whats causing the problem?
> 
>I'm curious to hear an explanation.
> 
>Thanks!
>Samer
> 
>On Wed, Mar 23, 2011 at 11:46 AM, Nicholas Marriott
><[1]nicholas.marri...@gmail.com> wrote:
> 
>  Change this:
> 
>  set-option -g status-right '#[fg=black]#(date +"%a %b %d %Y %R")'
> 
>  To this:
> 
>  set-option -g status-right '#[fg=black]%a %b %d %Y %R'
> 
>  On Wed, Mar 23, 2011 at 11:20:31AM -0400, Samer Atiani wrote:
>  > � �I'm still getting this problem at least once a day and its
>  beginning to
>  > � �make tmux unusable for me. To summarize the problem again, tmux
>  starts to
>  > � �freeze intermittently after periods of use ranging from 3-8 hours.
>  During
>  > � �intermittent freezes, tmux doesn't act on keyboard events quickly,
>  freezes
>  > � �for about 3-5 seconds then all pent up keyboard events would be
>  acted upon
>  > � �(whether they are tmux commands or keyboard events to programs
>  running in
>  > � �a tmux window). After every freeze, there is a period of 5-10
>  minutes
>  > � �where tmux behaves normally, and then I see the freeze again. The
>  only
>  > � �solution to this problem is to close everything, including tmux,
>  and
>  > � �restart everything.
>  >
>  > � �I installed Ubuntu 10.10 from scratch on two separate machines and
>  > � �installed tmux using apt-get. Even after I did that 'tmux -V' does
>  not
>  > � �work, but I found out that the version is 1.3 by typing :info at
>  tmux
>  > � �command mode.
>  >
>  > � �Here is how my usual tmux session looks like:
>  >
>  > � �1- I run tmux in a custom compiled urxvt terminal, but I've also
>  seen the
>  > � �problem happen in stock gnome-terminal that comes with Ubuntu
>  10.10.
>  > � �2- I aliased tmux to tmux -2 to force 256 colors.
>  > � �3- My usual tmux session looks like this:
>  > � �* 1 window for finch (a command line IM client) with activity
>  monitoring
>  > � �turned on.
>  > � �* 2-3 windows with vim open in them editing files.
>  > � �* 2-3 windows with ssh sessions open in them.
>  >
>  > � �If you need my .tmux.conf file you can see it here:
>  > � �[1][2]https://github.com/satiani/init/blob/master/.tmux.conf
>  >
>  > � �I'm willing to collect any more information you want me to, I love
>  tmux
>  > � �and would be distressed if I had to drop it and go back to screen
>  because
>  > � �of the frequent freezes.
>  >
>  > � �Many thanks,
>  > � �Samer
>  >
>  > � �On Fri, Jan 21, 2011 at 5:23 PM, Karl Ferdinand Ebert
>  > � �<[2][3]kfeb...@gmail.com> wrote:
>  >
>  > � � �Hi,
>  >
>  > � � �I package tmux for Debian which gets from time to time synced
>  from
>  > � � �Ubuntu. But
>  > � � �as far as I know there is no version of tmux-1.4 in Ubuntu 10.04
>  (which
>  > � � �has
>  > � � �1.1-1) and 9.04 (which has 0.8-5). So I assume you have received
>  tmux
>  > � � �from
>  > � � �another source probably from Debian's experimental repository
>  which has
>  > � � �a fix for
>  > � � �the EPOLL bug on Linux.
>  >
>  > � � �Am Friday 21 of January 2011, 19:30:46 schrieb Samer Atiani:
>  > � � �> tmux -V does not work indeed. But from inside tmux, I typed
>  :info in
>  > � � �the
>  > � � �> tmux command mode, and it showed tmux 1.4.
>  > � � �This has worked in every (packaged) version of tmux. There must
>  be
>  > � � �something
>  > � � �wrong with your installation.
>  > � � �Nevertheless I am interested if this bug is reproducible.
>  >
>  > � � �Best regards,
>  > � � �Karl Ferdinand Ebert
>  >
>  > References
>  >
>  > � �Visible links
>  > � �1. [4]https://github.com/satiani/init/blob/master/.tmux.conf
>  > � �2. mailto:[5]kfeb...@gmail.com
> 
>  >
>  
> --
>  > Enable your software for Intel(R) Active Management Technology to meet
>  the
>  > growing manageability and security demands of your customers.
>  Businesses
>  > are taking advantage of Intel(R) vPro (TM) technology - will your
>  software
>  > be a part of the solution? Download the Intel(R) Manageability Checker
>  > today! [6]http://p.sf.net/sfu/intel-dev2devmar
>  > ___

Re: Tmux starts slowing down badly after long periods of execution

2011-03-23 Thread Nicholas Marriott
Change this:

set-option -g status-right '#[fg=black]#(date +"%a %b %d %Y %R")'

To this:

set-option -g status-right '#[fg=black]%a %b %d %Y %R'


On Wed, Mar 23, 2011 at 11:20:31AM -0400, Samer Atiani wrote:
>I'm still getting this problem at least once a day and its beginning to
>make tmux unusable for me. To summarize the problem again, tmux starts to
>freeze intermittently after periods of use ranging from 3-8 hours. During
>intermittent freezes, tmux doesn't act on keyboard events quickly, freezes
>for about 3-5 seconds then all pent up keyboard events would be acted upon
>(whether they are tmux commands or keyboard events to programs running in
>a tmux window). After every freeze, there is a period of 5-10 minutes
>where tmux behaves normally, and then I see the freeze again. The only
>solution to this problem is to close everything, including tmux, and
>restart everything.
> 
>I installed Ubuntu 10.10 from scratch on two separate machines and
>installed tmux using apt-get. Even after I did that 'tmux -V' does not
>work, but I found out that the version is 1.3 by typing :info at tmux
>command mode.
> 
>Here is how my usual tmux session looks like:
> 
>1- I run tmux in a custom compiled urxvt terminal, but I've also seen the
>problem happen in stock gnome-terminal that comes with Ubuntu 10.10.
>2- I aliased tmux to tmux -2 to force 256 colors.
>3- My usual tmux session looks like this:
>* 1 window for finch (a command line IM client) with activity monitoring
>turned on.
>* 2-3 windows with vim open in them editing files.
>* 2-3 windows with ssh sessions open in them.
> 
>If you need my .tmux.conf file you can see it here:
>[1]https://github.com/satiani/init/blob/master/.tmux.conf
> 
>I'm willing to collect any more information you want me to, I love tmux
>and would be distressed if I had to drop it and go back to screen because
>of the frequent freezes.
> 
>Many thanks,
>Samer
> 
>On Fri, Jan 21, 2011 at 5:23 PM, Karl Ferdinand Ebert
><[2]kfeb...@gmail.com> wrote:
> 
>  Hi,
> 
>  I package tmux for Debian which gets from time to time synced from
>  Ubuntu. But
>  as far as I know there is no version of tmux-1.4 in Ubuntu 10.04 (which
>  has
>  1.1-1) and 9.04 (which has 0.8-5). So I assume you have received tmux
>  from
>  another source probably from Debian's experimental repository which has
>  a fix for
>  the EPOLL bug on Linux.
> 
>  Am Friday 21 of January 2011, 19:30:46 schrieb Samer Atiani:
>  > tmux -V does not work indeed. But from inside tmux, I typed :info in
>  the
>  > tmux command mode, and it showed tmux 1.4.
>  This has worked in every (packaged) version of tmux. There must be
>  something
>  wrong with your installation.
>  Nevertheless I am interested if this bug is reproducible.
> 
>  Best regards,
>  Karl Ferdinand Ebert
> 
> References
> 
>Visible links
>1. https://github.com/satiani/init/blob/master/.tmux.conf
>2. mailto:kfeb...@gmail.com

> --
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software 
> be a part of the solution? Download the Intel(R) Manageability Checker 
> today! http://p.sf.net/sfu/intel-dev2devmar

> ___
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users


--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: Tmux starts slowing down badly after long periods of execution

2011-03-23 Thread Samer Atiani
I'm still getting this problem at least once a day and its beginning to make
tmux unusable for me. To summarize the problem again, tmux starts to freeze
intermittently after periods of use ranging from 3-8 hours. During
intermittent freezes, tmux doesn't act on keyboard events quickly, freezes
for about 3-5 seconds then all pent up keyboard events would be acted upon
(whether they are tmux commands or keyboard events to programs running in a
tmux window). After every freeze, there is a period of 5-10 minutes where
tmux behaves normally, and then I see the freeze again. The only solution to
this problem is to close everything, including tmux, and restart everything.

I installed Ubuntu 10.10 from scratch on two separate machines and installed
tmux using apt-get. Even after I did that 'tmux -V' does not work, but I
found out that the version is 1.3 by typing :info at tmux command mode.

Here is how my usual tmux session looks like:

1- I run tmux in a custom compiled urxvt terminal, but I've also seen the
problem happen in stock gnome-terminal that comes with Ubuntu 10.10.
2- I aliased tmux to tmux -2 to force 256 colors.
3- My usual tmux session looks like this:
* 1 window for finch (a command line IM client) with activity monitoring
turned on.
* 2-3 windows with vim open in them editing files.
* 2-3 windows with ssh sessions open in them.

If you need my .tmux.conf file you can see it here:
https://github.com/satiani/init/blob/master/.tmux.conf

I'm willing to collect any more information you want me to, I love tmux and
would be distressed if I had to drop it and go back to screen because of the
frequent freezes.

Many thanks,
Samer

On Fri, Jan 21, 2011 at 5:23 PM, Karl Ferdinand Ebert wrote:

> Hi,
>
> I package tmux for Debian which gets from time to time synced from Ubuntu.
> But
> as far as I know there is no version of tmux-1.4 in Ubuntu 10.04 (which has
> 1.1-1) and 9.04 (which has 0.8-5). So I assume you have received tmux from
> another source probably from Debian's experimental repository which has a
> fix for
> the EPOLL bug on Linux.
>
> Am Friday 21 of January 2011, 19:30:46 schrieb Samer Atiani:
> > tmux -V does not work indeed. But from inside tmux, I typed :info in the
> > tmux command mode, and it showed tmux 1.4.
> This has worked in every (packaged) version of tmux. There must be
> something
> wrong with your installation.
> Nevertheless I am interested if this bug is reproducible.
>
> Best regards,
>
> Karl Ferdinand Ebert
>
--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar___
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users


Re: Tmux starts slowing down badly after long periods of execution

2011-01-21 Thread Karl Ferdinand Ebert
Hi,

I package tmux for Debian which gets from time to time synced from Ubuntu. But 
as far as I know there is no version of tmux-1.4 in Ubuntu 10.04 (which has 
1.1-1) and 9.04 (which has 0.8-5). So I assume you have received tmux from 
another source probably from Debian's experimental repository which has a fix 
for 
the EPOLL bug on Linux. 

Am Friday 21 of January 2011, 19:30:46 schrieb Samer Atiani:
> tmux -V does not work indeed. But from inside tmux, I typed :info in the
> tmux command mode, and it showed tmux 1.4.
This has worked in every (packaged) version of tmux. There must be something 
wrong with your installation.
Nevertheless I am interested if this bug is reproducible. 

Best regards,

Karl Ferdinand Ebert

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


Re: Tmux starts slowing down badly after long periods of execution

2011-01-21 Thread Samer Atiani
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
> >  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.07 0 3246 epoll_ctl
> > >>0.00 0.04 0 669 fcntl
> > >>0.00 0.00 0 2028 read
> > >>0.00 0.00 0 2 write
> > >>0.00 0.00 0 16 open
> > >>0.00 0.00 0 1244 close
> > >>0.00 0.00 0 7 stat
> > >>0.00 0.00 0 16 fstat
> > >>0.00 0.00 0 16 mmap
> > >>0.00 0.00 0 16 munmap
> > >>0.00 0.00 0 1 brk
> > >>0.00 0.00 0 207 rt_sigreturn
> > >>0.00 0.00 0 2028 ioctl
> > >>0.00 0.00 0 207 207 sendto
> > >>0.00 0.00 0 423 recvfrom
> > >>0.00 0.00 0 263 41 socketpair
> > >>0.00 0.00 0 2 uname
> > >>0.00 0.00 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


Re: Tmux starts slowing down badly after long periods of execution

2011-01-21 Thread Samer Atiani
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
 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.07 0 3246 epoll_ctl
>>    0.00 0.04 0 669 fcntl
>>    0.00 0.00 0 2028 read
>>    0.00 0.00 0 2 write
>>    0.00 0.00 0 16 open
>>    0.00 0.00 0 1244 close
>>    0.00 0.00 0 7 stat
>>    0.00 0.00 0 16 fstat
>>    0.00 0.00 0 16 mmap
>>    0.00 0.00 0 16 munmap
>>    0.00 0.00 0 1 brk
>>    0.00 0.00 0 207 rt_sigreturn
>>    0.00 0.00 0 2028 ioctl
>>    0.00 0.00 0 207 207 sendto
>>    0.00 0.00 0 423 recvfrom
>>    0.00 0.00 0 263 41 socketpair
>>    0.00 0.00 0 2 uname
>>    0.00 0.00 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


Re: Tmux starts slowing down badly after long periods of execution

2011-01-21 Thread Nicholas Marriott
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
>  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.07 0 3246 epoll_ctl
> >>    0.00 0.04 0 669 fcntl
> >>    0.00 0.00 0 2028 read
> >>    0.00 0.00 0 2 write
> >>    0.00 0.00 0 16 open
> >>    0.00 0.00 0 1244 close
> >>    0.00 0.00 0 7 stat
> >>    0.00 0.00 0 16 fstat
> >>    0.00 0.00 0 16 mmap
> >>    0.00 0.00 0 16 munmap
> >>    0.00 0.00 0 1 brk
> >>    0.00 0.00 0 207 rt_sigreturn
> >>    0.00 0.00 0 2028 ioctl
> >>    0.00 0.00 0 207 207 sendto
> >>    0.00 0.00 0 423 recvfrom
> >>    0.00 0.00 0 263 41 socketpair
> >>    0.00 0.00 0 2 uname
> >>    0.00 0.00 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


Re: Tmux starts slowing down badly after long periods of execution

2011-01-20 Thread Nicholas Marriott
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.07 0 3246 epoll_ctl
>0.00 0.04 0 669 fcntl
>0.00 0.00 0 2028 read
>0.00 0.00 0 2 write
>0.00 0.00 0 16 open
>0.00 0.00 0 1244 close
>0.00 0.00 0 7 stat
>0.00 0.00 0 16 fstat
>0.00 0.00 0 16 mmap
>0.00 0.00 0 16 munmap
>0.00 0.00 0 1 brk
>0.00 0.00 0 207 rt_sigreturn
>0.00 0.00 0 2028 ioctl
>0.00 0.00 0 207 207 sendto
>0.00 0.00 0 423 recvfrom
>0.00 0.00 0 263 41 socketpair
>0.00 0.00 0 2 uname
>0.00 0.00 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