Discussion:
tmux 2.0 lags when creating or splitting windows
(too old to reply)
alphachi
2015-05-22 07:39:15 UTC
Permalink
Environment: FreeBSD 10.1R amd64, uxterm 318, tcsh 6.18.01, tmux 2.0,
libevent2 2.0.22_1

When starting tmux in uxterm, I have to wait about 5 seconds for the new
window creating. If I create a new window or split the existing window, the
wait time is similar. Before upgrading to 2.0, these are very fast.

I tried to:
1. add "set -g default-command $SHELL" in ~/.tmux.conf for non-login shell
2. delete ~/.tmux.conf, ~/.tcshrc and /tmp/tmux*
3. deinstall and use the default options to reinstall tmux(inculding the
relative ports)
4. test on the other machines
but can't solve the problem.

I found running "su -m" in a tmux window need wait too, so I queried the
last | less
username pts/2 tmux(4836).%3 侀 5 18 14:12 still logged in
username pts/2 tmux(4836).%2 侀 5 18 14:12 - 14:12 (00:00)
username pts/2 tmux(4836).%1 侀 5 18 14:12 - 14:12 (00:00)
username pts/1 tmux(4836).%0 侀 5 18 14:12 still logged in
...
I remember there isn't any log about tmux in here. Is this reasonable?

Thanks!
Nicholas Marriott
2015-05-22 08:09:59 UTC
Permalink
Hi

If you create a new user without the default profiles etc, does it lag too?
Post by alphachi
Environment: FreeBSD 10.1R amd64, uxterm 318, tcsh 6.18.01, tmux 2.0,
libevent2 2.0.22_1
When starting tmux in uxterm, I have to wait about 5 seconds for the new
window creating. If I create a new window or split the existing window,
the wait time is similar. Before upgrading to 2.0, these are very fast.
1. add "set -g default-command $SHELL" in ~/.tmux.conf for non-login shell
2. delete ~/.tmux.conf, ~/.tcshrc and /tmp/tmux*
3. deinstall and use the default options to reinstall tmux(inculding the
relative ports)
4. test on the other machines
but can't solve the problem.
I found running "su -m" in a tmux window need wait too, so I queried the
last | less
username ** pts/2 ** **tmux(4836).%3 ** ** ** ** ***** **5 18 14:12 **
still logged in
username ** pts/2 ** **tmux(4836).%2 ** ** ** ** ***** **5 18 14:12 -
14:12 **(00:00)
username ** pts/2 ** **tmux(4836).%1 ** ** ** ** ***** **5 18 14:12 -
14:12 **(00:00)
username ** pts/1 ** **tmux(4836).%0 ** ** ** ** ***** **5 18 14:12 **
still logged in
...
I remember there isn't any log about tmux in here. Is this reasonable?
Thanks!
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
tmux-users mailing list
https://lists.sourceforge.net/lists/listinfo/tmux-users
alphachi
2015-05-22 16:11:36 UTC
Permalink
OK, I created a new user named test:
$ whoami
test
$ pw usershow test
test:*:1002:1002::0:0:User &:/home/test:/bin/sh
$ pwd
/home/test
$ ls -a
. ..

Then I find the reason: if the shell is csh/tcsh, it must lag. I tested
sh/bash and they haven't any problem. Is this a bug of csh/tcsh or tmux 2.0?
Post by Nicholas Marriott
Hi
If you create a new user without the default profiles etc, does it lag too?
Post by alphachi
Environment: FreeBSD 10.1R amd64, uxterm 318, tcsh 6.18.01, tmux 2.0,
libevent2 2.0.22_1
When starting tmux in uxterm, I have to wait about 5 seconds for the
new
Post by alphachi
window creating. If I create a new window or split the existing
window,
Post by alphachi
the wait time is similar. Before upgrading to 2.0, these are very
fast.
Post by alphachi
1. add "set -g default-command $SHELL" in ~/.tmux.conf for non-login
shell
Post by alphachi
2. delete ~/.tmux.conf, ~/.tcshrc and /tmp/tmux*
3. deinstall and use the default options to reinstall tmux(inculding
the
Post by alphachi
relative ports)
4. test on the other machines
but can't solve the problem.
I found running "su -m" in a tmux window need wait too, so I queried
the
Post by alphachi
last | less
username ** pts/2 ** **tmux(4836).%3 ** ** ** ** ***** **5 18 14:12 **
still logged in
username ** pts/2 ** **tmux(4836).%2 ** ** ** ** ***** **5 18 14:12 -
14:12 **(00:00)
username ** pts/2 ** **tmux(4836).%1 ** ** ** ** ***** **5 18 14:12 -
14:12 **(00:00)
username ** pts/1 ** **tmux(4836).%0 ** ** ** ** ***** **5 18 14:12 **
still logged in
...
I remember there isn't any log about tmux in here. Is this reasonable?
Thanks!
------------------------------------------------------------------------------
Post by alphachi
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
tmux-users mailing list
https://lists.sourceforge.net/lists/listinfo/tmux-users
Nicholas Marriott
2015-05-22 17:08:34 UTC
Permalink
More likely something in your tcsh profiles or the system ones

-------- Original message --------
From: alphachi <***@mediaspirit.org>
Date:22/05/2015 17:11 (GMT+00:00)
To: Nicholas Marriott <***@gmail.com>
Cc: "list: tmux" <tmux-***@lists.sourceforge.net>
Subject: Re: tmux 2.0 lags when creating or splitting windows

OK, I created a new user named test:
$ whoami
test
$ pw usershow test
test:*:1002:1002::0:0:User &:/home/test:/bin/sh
$ pwd
/home/test
$ ls -a
.       ..

Then I find the reason: if the shell is csh/tcsh, it must lag. I tested sh/bash and they haven't any problem. Is this a bug of csh/tcsh or tmux 2.0?

2015-05-22 16:09 GMT+08:00 Nicholas Marriott <***@gmail.com>:
Hi

If you create a new user without the default profiles etc, does it lag too?
    Environment: FreeBSD 10.1R amd64, uxterm 318, tcsh 6.18.01, tmux 2.0,
    libevent2 2.0.22_1
    When starting tmux in uxterm, I have to wait about 5 seconds for the new
    window creating. If I create a new window or split the existing window,
    the wait time is similar. Before upgrading to 2.0, these are very fast.
    1. add "set -g default-command $SHELL" in ~/.tmux.conf for non-login shell
    2. delete ~/.tmux.conf, ~/.tcshrc and /tmp/tmux*
    3. deinstall and use the default options to reinstall tmux(inculding the
    relative ports)
    4. test on the other machines
    but can't solve the problem.
    I found running "su -m" in a tmux window need wait too, so I queried the
    > last | less
    username ** pts/2 ** **tmux(4836).%3 ** ** ** ** ***** **5 18 14:12 **
    still logged in
    username ** pts/2 ** **tmux(4836).%2 ** ** ** ** ***** **5 18 14:12 -
    14:12 **(00:00)
    username ** pts/2 ** **tmux(4836).%1 ** ** ** ** ***** **5 18 14:12 -
    14:12 **(00:00)
    username ** pts/1 ** **tmux(4836).%0 ** ** ** ** ***** **5 18 14:12 **
    still logged in
    ...
    I remember there isn't any log about tmux in here. Is this reasonable?
    Thanks!
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
tmux-users mailing list
https://lists.sourceforge.net/lists/listinfo/tmux-users
alphachi
2015-05-22 17:30:00 UTC
Permalink
The user test's csh/tcsh profiles are empty, and all of system-wide
csh/tcsh profiles are the default.

Paranoid in Sabbath ...
Post by Nicholas Marriott
More likely something in your tcsh profiles or the system ones
-------- Original message --------
From: alphachi
Date:22/05/2015 17:11 (GMT+00:00)
To: Nicholas Marriott
Cc: "list: tmux"
Subject: Re: tmux 2.0 lags when creating or splitting windows
$ whoami
test
$ pw usershow test
test:*:1002:1002::0:0:User &:/home/test:/bin/sh
$ pwd
/home/test
$ ls -a
. ..
Then I find the reason: if the shell is csh/tcsh, it must lag. I tested
sh/bash and they haven't any problem. Is this a bug of csh/tcsh or tmux 2.0?
Post by Nicholas Marriott
Hi
If you create a new user without the default profiles etc, does it lag too?
Post by alphachi
Environment: FreeBSD 10.1R amd64, uxterm 318, tcsh 6.18.01, tmux 2.0,
libevent2 2.0.22_1
When starting tmux in uxterm, I have to wait about 5 seconds for the
new
Post by alphachi
window creating. If I create a new window or split the existing
window,
Post by alphachi
the wait time is similar. Before upgrading to 2.0, these are very
fast.
Post by alphachi
1. add "set -g default-command $SHELL" in ~/.tmux.conf for non-login
shell
Post by alphachi
2. delete ~/.tmux.conf, ~/.tcshrc and /tmp/tmux*
3. deinstall and use the default options to reinstall tmux(inculding
the
Post by alphachi
relative ports)
4. test on the other machines
but can't solve the problem.
I found running "su -m" in a tmux window need wait too, so I queried
the
Post by alphachi
last | less
username ** pts/2 ** **tmux(4836).%3 ** ** ** ** ***** **5 18 14:12
**
Post by alphachi
still logged in
username ** pts/2 ** **tmux(4836).%2 ** ** ** ** ***** **5 18 14:12 -
14:12 **(00:00)
username ** pts/2 ** **tmux(4836).%1 ** ** ** ** ***** **5 18 14:12 -
14:12 **(00:00)
username ** pts/1 ** **tmux(4836).%0 ** ** ** ** ***** **5 18 14:12
**
Post by alphachi
still logged in
...
I remember there isn't any log about tmux in here. Is this
reasonable?
Post by alphachi
Thanks!
------------------------------------------------------------------------------
Post by alphachi
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
tmux-users mailing list
https://lists.sourceforge.net/lists/listinfo/tmux-users
Loading...