It happend again. This time, I don't even have a .tmux.conf file.

Is there any trick so that I can send a signal to the PID and tmux will
print the stack so we know why it hangs?



On Sun, Dec 9, 2012 at 3:22 AM, Nicholas Marriott <
nicholas.marri...@gmail.com> wrote:

> Does this happen if you remove the #() from your set-titles-string?
>
>
> On Sun, Dec 09, 2012 at 02:29:24AM +0800, Guang-Nan Cheng wrote:
> >    bind C-a last-window
> >    bind C-n next-window
> >    bind p previous-window
> >    bind | split-window -h
> >    #unbind C-b
> >    unbind %
> >    # mode-keys
> >    set-window-option -g mode-keys vi
> >    # View
> >    set -g status-interval 5
> >    set -g status-left-length 100
> >    set -g status-right-length 50
> >    set-option -g set-titles on
> >    set-option -g set-titles-string "@#(hostname | sed 's/\\\\..*//')"
> >    set -g status-bg black
> >    set -g status-fg white
> >    set -g status-attr dim
> >    set -g status-left '#[fg=green, bold]#H'
> >    set -g status-right '#[fg=green,bold][%Y/%m/%d(%a)%H:%M]#[default]'
> >    set -g message-attr bold
> >    set -g message-fg white
> >    set -g message-bg red
> >    set-window-option -g mode-bg white
> >    set-window-option -g mode-fg black
> >    set-window-option -g window-status-bg black
> >    set-window-option -g window-status-fg white
> >    set-window-option -g window-status-current-bg yellow
> >    set-window-option -g window-status-current-fg black
> >    set-window-option -g window-status-current-attr bold
> >    # Option
> >    set-window-option -g utf8 on
> >    set-option -g mouse-select-pane on
> >    set-option -g base-index 1
> >    # KeyBindings
> >    bind r source-file ~/.tmux.conf
> >    bind Space choose-window
> >    bind b break-pane
> >    bind h split-window -v
> >    bind v split-window -h
> >    set -g history-limit 10000
> >    On Sun, Dec 9, 2012 at 12:59 AM, Nicholas Marriott
> >    <[1]nicholas.marri...@gmail.com> wrote:
> >
> >      Hi
> >
> >      What is in your .tmux.conf?
> >
> >      On Wed, Dec 05, 2012 at 05:09:53PM +0800, Guang-Nan Cheng wrote:
> >      > ** **I'm on Fedora 17 64 bit and installed tmux.
> >      > ** **I found that if I left the tmux open for few days then it
> will
> >      hangs.
> >      > ** **I can not attach or start a new one. `tmux kill-server` hangs
> >      too.
> >      > ** **What should I do in this case?
> >      > ** **Here is a ps xf.
> >      > ** ****1915 ? ** ** ** **Ss ** ** 0:42 /usr/sbin/sshd -D
> >      > ** **14506 ? ** ** ** **Ss ** ** 0:00 **\_ sshd: root@pts/5 ** **
> >      > ** **14511 pts/5 ** **Ss ** ** 0:00 **| ** \_ -fish
> >      > ** **14627 pts/5 ** **S+ ** ** 0:00 **| ** ** ** \_ tmux att -d
> >      > ** **27276 ? ** ** ** **Ss ** ** 0:00 **\_ sshd: root@pts/6 ** **
> >      > ** **27282 pts/6 ** **Ss ** ** 0:00 **| ** \_ -fish
> >      > ** **27421 pts/6 ** **S+ ** ** 0:00 **| ** ** ** \_ tmux att -d
> >      > ** **27558 ? ** ** ** **Ss ** ** 0:00 **\_ sshd: root@pts/7 ** **
> >      > ** **27561 pts/7 ** **Ss+ ** **0:00 **| ** \_ -fish
> >      > ** **27726 ? ** ** ** **Ss ** ** 0:00 **\_ sshd: root@pts/8 ** **
> >      > ** **27729 pts/8 ** **Ss+ ** **0:01 **| ** \_ -fish
> >      > ** **31548 ? ** ** ** **Ss ** ** 0:00 **\_ sshd: root@pts/9 ** **
> >      > ** **31551 pts/9 ** **Ss+ ** **0:00 **| ** \_ -fish
> >      > ** **31977 ? ** ** ** **Ss ** ** 0:00 **\_ sshd: root@pts/10 ****
> >      > ** **31980 pts/10 ** Ss ** ** 0:00 **| ** \_ -fish
> >      > ** **** 483 pts/10 ** S+ ** ** 0:00 **| ** ** ** \_ tmux
> kill-server
> >
> >      >
> >
>  
> ------------------------------------------------------------------------------
> >      > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free
> Trial
> >      > Remotely access PCs and mobile devices and provide instant support
> >      > Improve your efficiency, and focus on delivering more value-add
> >      services
> >      > Discover what IT Professionals Know. Rescue delivers
> >      > [2]http://p.sf.net/sfu/logmein_12329d2d
> >
> >      > _______________________________________________
> >      > tmux-users mailing list
> >      > [3]tmux-users@lists.sourceforge.net
> >      > [4]https://lists.sourceforge.net/lists/listinfo/tmux-users
> >
> > References
> >
> >    Visible links
> >    1. mailto:nicholas.marri...@gmail.com
> >    2. http://p.sf.net/sfu/logmein_12329d2d
> >    3. mailto:tmux-users@lists.sourceforge.net
> >    4. https://lists.sourceforge.net/lists/listinfo/tmux-users
>
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to