Discussion:
tmux leaking socket descriptors under certain circumstances
(too old to reply)
Jan Larres
2014-02-25 22:49:50 UTC
Permalink
Hi,

I may have mentioned this in passing before, but I wanted to give it a
bit more attention as it is quite annoying. In some circumstances that I
unfortunately haven't been able to reliably reproduce tmux leaks file
descriptors for sockets, until the descriptor limit is reached and I
can't execute any command in any of my sessions any more.

The lsof looks like this:

...
tmux 6850 jan 340u unix 0xffff88004e367480 0t0 2886303145 socket
tmux 6850 jan 341u unix 0xffff8800c5c577c0 0t0 2886303152 socket
tmux 6850 jan 342u unix 0xffff88006b6c0080 0t0 2886303153 socket
tmux 6850 jan 343u unix 0xffff88006b6c0400 0t0 2886303154 socket
tmux 6850 jan 344u unix 0xffff88004e2e38c0 0t0 2886303155 socket
tmux 6850 jan 345u unix 0xffff880012806880 0t0 2886303170 socket
tmux 6850 jan 346u unix 0xffff88005406e740 0t0 2886303171 socket
tmux 6850 jan 347u unix 0xffff88006cdf5bc0 0t0 2258021114 socket
tmux 6850 jan 348u unix 0xffff88004e367800 0t0 2886303224 socket
tmux 6850 jan 349u unix 0xffff88004e367b80 0t0 2886303225 socket
tmux 6850 jan 350u unix 0xffff88005406eac0 0t0 2886303226 socket
tmux 6850 jan 351u unix 0xffff8800c5c57b40 0t0 2886303227 socket
tmux 6850 jan 352u unix 0xffff88006cdf54c0 0t0 2258021115 socket
tmux 6850 jan 353u unix 0xffff88006cdf5840 0t0 2258021128 socket
tmux 6850 jan 354u unix 0xffff8800accda040 0t0 2258021129 socket
...

going up until 1023 (the limit).

This usually seems to happen when the machine is busy with a task that
causes a high load and lots of swapping (which happens with some tests I
have to run, for example). Maybe tmux is missing some updates in that
case?

Here is my tmux configuration:
https://github.com/majutsushi/etc/tree/master/tmux

Cheers,
Jan
Nicholas Marriott
2014-02-26 23:06:07 UTC
Permalink
What tmux version?

If you run "tmux info" once it starts to leak do you see a lot of jobs
listed at the end?
Post by Jan Larres
Hi,
I may have mentioned this in passing before, but I wanted to give it a
bit more attention as it is quite annoying. In some circumstances that I
unfortunately haven't been able to reliably reproduce tmux leaks file
descriptors for sockets, until the descriptor limit is reached and I
can't execute any command in any of my sessions any more.
...
tmux 6850 jan 340u unix 0xffff88004e367480 0t0 2886303145 socket
tmux 6850 jan 341u unix 0xffff8800c5c577c0 0t0 2886303152 socket
tmux 6850 jan 342u unix 0xffff88006b6c0080 0t0 2886303153 socket
tmux 6850 jan 343u unix 0xffff88006b6c0400 0t0 2886303154 socket
tmux 6850 jan 344u unix 0xffff88004e2e38c0 0t0 2886303155 socket
tmux 6850 jan 345u unix 0xffff880012806880 0t0 2886303170 socket
tmux 6850 jan 346u unix 0xffff88005406e740 0t0 2886303171 socket
tmux 6850 jan 347u unix 0xffff88006cdf5bc0 0t0 2258021114 socket
tmux 6850 jan 348u unix 0xffff88004e367800 0t0 2886303224 socket
tmux 6850 jan 349u unix 0xffff88004e367b80 0t0 2886303225 socket
tmux 6850 jan 350u unix 0xffff88005406eac0 0t0 2886303226 socket
tmux 6850 jan 351u unix 0xffff8800c5c57b40 0t0 2886303227 socket
tmux 6850 jan 352u unix 0xffff88006cdf54c0 0t0 2258021115 socket
tmux 6850 jan 353u unix 0xffff88006cdf5840 0t0 2258021128 socket
tmux 6850 jan 354u unix 0xffff8800accda040 0t0 2258021129 socket
...
going up until 1023 (the limit).
This usually seems to happen when the machine is busy with a task that
causes a high load and lots of swapping (which happens with some tests I
have to run, for example). Maybe tmux is missing some updates in that
case?
https://github.com/majutsushi/etc/tree/master/tmux
Cheers,
Jan
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
https://lists.sourceforge.net/lists/listinfo/tmux-users
Jan Larres
2014-03-03 02:55:03 UTC
Permalink
Post by Nicholas Marriott
What tmux version?
A recent-ish Git revision, but the problem has been around for quite a
while. I'm not entirely sure which revision unfortunately as I've
updated my repository since then but not restarted the server.
Post by Nicholas Marriott
If you run "tmux info" once it starts to leak do you see a lot of jobs
listed at the end?
No, I don't think I've ever seen any jobs there. But here's the complete
output it case it's still helpful (like the date the server was started
which was probably shortly after a Git update & reinstall):


tmux 1.9, pid 6850, started Mon Jan 27 11:09:09 2014
socket path /tmp/tmux-1179/default, debug level 0
system is Linux 3.11-2-amd64 #1 SMP Debian 3.11.8-1 (2013-11-13) x86_64
configuration file is /home/user/jan/.tmux.conf
protocol version is 8

Clients:
0: /dev/pts/6 (5, 8): scratch [99x49 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=1]
1: /dev/pts/1 (12, 14): 1 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=6]
2: /dev/pts/4 (18, 20): 86 [158x43 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=0]
3: /dev/pts/9 (24, 32): 88 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=0]
4: /dev/pts/10 (23, 48): 89 [158x43 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=0]
5: /dev/pts/16 (25, 42): 70 [94x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=0]
6: /dev/pts/19 (46, 78): 50 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=0]
7: /dev/pts/20 (60, 62): 10 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=15]
8: /dev/pts/8 (29, 43): 76 [110x43 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=0]
9: /dev/pts/26 (102, 104): 15 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=0]
10: /dev/pts/33 (116, 118): 51 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=0]
11: /dev/pts/36 (80, 126): 52 [319x88 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=0]
12: /dev/pts/35 (123, 130): 74 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=0]
13: /dev/pts/40 (134, 138): 75 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=0]
14: /dev/pts/12 (38, 100): 97 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=1]
15: /dev/pts/18 (82, 85): scratch [99x49 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=1]
16: /dev/pts/29 (112, 114): 98 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=2]
17: /dev/pts/42 (22, 153): 99 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=2]
18: /dev/pts/53 (150, 221): 101 [319x88 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=2]
19: /dev/pts/56 (232, 235): 102 [158x43 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=0]
20: /dev/pts/54 (222, 239): 103 [110x43 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=0]
21: /dev/pts/61 (287, 269): 104 [158x43 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=0]

Sessions: [14]
1: 1: 1 windows (created Mon Jan 27 11:09:55 2014) [158x86] [flags=0x0]
1: ssh [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/2 7685 17 28/114, 18858 bytes
10: 10: 4 windows (created Tue Jan 28 15:36:41 2014) [158x86] [flags=0x0]
1: vim(vimrc) [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/21 3106 65 2450/2491, 5335428 bytes
2: zsh [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/30 12645 111 239/243, 516866 bytes
3: vim(DrawItPlugin.v…) [158x86] [flags=0x0, references=1, last layout=-1]
0: /dev/pts/48 10332 213 460/463, 1006530 bytes
4: vim(table-mode.vim) [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/51 16009 219 312/397, 619262 bytes
101: 101: 1 windows (created Mon Feb 24 10:34:11 2014) [319x87] [flags=0x0]
1: zsh [319x87] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/55 28510 228 1028/1102, 1420734 bytes
102: 102: 2 windows (created Mon Feb 24 11:45:37 2014) [158x42] [flags=0x0]
1: ssh [158x42] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/57 20545 238 2136/2231, 1765302 bytes
2: ssh [158x42] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/63 31535 274 192/202, 143654 bytes
103: 103: 1 windows (created Mon Feb 24 13:18:31 2014) [110x42] [flags=0x0]
1: ***@eilonwy [110x42] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/58 30740 242 7310/7469, 7603946 bytes
104: 104: 2 windows (created Mon Feb 24 17:08:55 2014) [158x42] [flags=0x0]
1: ssh [158x42] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/62 11826 272 5680/5837, 6128570 bytes
2: ssh [158x42] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/65 12640 278 9082/9580, 8593158 bytes
15: 15: 3 windows (created Wed Jan 29 15:35:24 2014) [158x86] [flags=0x0]
1: zsh [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/27 18296 107 2195/2205, 4466448 bytes
2: vim(pairs.vim) [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/47 6676 230 98/101, 204540 bytes
3: zsh [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/50 28154 217 88/90, 190932 bytes
50: 50: 2 windows (created Mon Feb 3 11:30:18 2014) [158x86] [flags=0x0]
1: zsh [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/22 7710 115 9195/9279, 17188612 bytes
2: zsh [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/38 28665 136 479/583, 158956 bytes
51: 51: 2 windows (created Mon Feb 3 11:30:21 2014) [158x86] [flags=0x0]
1: zsh [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/34 8466 121 2247/2287, 3949960 bytes
2: zsh [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/46 25994 146 810/923, 709912 bytes
52: 52: 1 windows (created Mon Feb 3 15:22:41 2014) [319x87] [flags=0x0]
1: ranger [319x87] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/37 17869 129 2640/4259, 6675452 bytes
70: 70: 3 windows (created Mon Feb 10 19:20:51 2014) [94x86] [flags=0x0]
1: ranger [94x86] [flags=0xa, references=1, last layout=-1]
0: /dev/pts/17 32038 50 8973/9545, 7931112 bytes
2: vim(aspdn-procedur…) [94x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/66 17418 283 114/114, 150010 bytes
3: tig [94x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/64 11895 276 1318/1993, 840784 bytes
74: 74: 2 windows (created Wed Feb 12 15:42:25 2014) [158x86] [flags=0x0]
1: mocp [158x86] [flags=0xa, references=1, last layout=-1]
0: /dev/pts/39 5152 133 1387/1408, 1978340 bytes
2: firefox [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/44 11096 214 11/87, 13538 bytes
75: 75: 1 windows (created Wed Feb 12 15:49:17 2014) [158x86] [flags=0x0]
1: zsh [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/41 8808 141 3/87, 2478 bytes
76: 76: 2 windows (created Thu Feb 13 15:19:01 2014) [110x42] [flags=0x0]
1: vim(rfc4666.txt) [110x42] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/13 1802 72 1956/1962, 2736846 bytes
2: zsh [110x42] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/28 3766 99 104/195, 86296 bytes
86: 86: 3 windows (created Tue Feb 18 10:48:03 2014) [158x42] [flags=0x0]
1: ranger [158x86] [flags=0xa, references=1, last layout=-1]
0: /dev/pts/7 28741 28 1133/1239, 1505630 bytes
2: zsh [158x42] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/5 22893 37 2396/2407, 1688624 bytes
3: zsh [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/23 27488 98 24/93, 21462 bytes
88: 88: 1 windows (created Tue Feb 18 17:08:11 2014) [158x86] [flags=0x0]
1: zsh [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/11 6807 35 9083/9121, 11740708 bytes
89: 89: 1 windows (created Wed Feb 19 15:36:26 2014) [158x42] [flags=0x0]
1: zsh [158x42] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/14 28425 56 123/160, 87682 bytes
97: 97: 3 windows (created Thu Feb 20 10:48:38 2014) [158x86] [flags=0x0]
1: zsh [158x42] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/25 2165 109 2302/2521, 1939868 bytes
2: zsh [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/59 30901 245 8933/9701, 4472384 bytes
3: zsh [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/60 9071 247 3412/3549, 4362246 bytes
98: 98: 2 windows (created Thu Feb 20 10:48:39 2014) [158x86] [flags=0x0]
1: ranger [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/31 2910 147 4418/6522, 6431796 bytes
2: zsh [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/49 25547 243 2610/2766, 1583190 bytes
99: 99: 3 windows (created Thu Feb 20 13:23:06 2014) [158x86] [flags=0x0]
1: zsh [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/43 13246 174 9463/9532, 7473858 bytes
2: zsh [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/32 24038 175 4392/4577, 3737230 bytes
3: zsh [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/45 3544 185 322/356, 532084 bytes
0: scratch: 4 windows (created Mon Jan 27 11:09:09 2014) [99x48] [flags=0x0]
1: vim(Xresources) [99x48] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/0 6851 11 7088/8377, 5978910 bytes
2: vim(todo.otl) [99x48] [flags=0x0, references=1, last layout=-1]
0: /dev/pts/24 27095 74 76/76, 105322 bytes
3: vim(80_zle) [99x48] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/15 14899 145 9325/9627, 9303686 bytes
4: zsh [99x48] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/52 20395 224 997/1070, 649768 bytes

Terminals:
rxvt-unicode-256color [references=22, flags=0x1]:
1: acsc: (string) +C,D-A.B0E``aaffgghFiGjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~
0: AX: [missing]
2: bel: (string) \007
3: blink: (string) \033[5m
4: bold: (string) \033[1m
5: civis: (string) \033[?25l
6: clear: (string) \033[H\033[2J
7: cnorm: (string) \033[?25h
8: colors: (number) 256
9: Cr: [missing]
10: Cs: (string) \033]12;%p1%s007
11: csr: (string) \033[%i%p1%d;%p2%dr
12: cub: (string) \033[%p1%dD
13: cub1: (string) \010
14: cud: (string) \033[%p1%dB
15: cud1: (string) \012
16: cuf: (string) \033[%p1%dC
17: cuf1: (string) \033[C
18: cup: (string) \033[%i%p1%d;%p2%dH
19: cuu: (string) \033[%p1%dA
20: cuu1: (string) \033[A
21: dch: (string) \033[%p1%dP
22: dch1: (string) \033[P
23: dim: [missing]
24: dl: (string) \033[%p1%dM
25: dl1: (string) \033[M
26: E3: [missing]
27: ech: (string) \033[%p1%dX
28: el: (string) \033[K
29: el1: (string) \033[1K
30: enacs: (string)
31: fsl: (string) \007
32: home: (string) \033[H
33: hpa: (string) \033[%i%p1%dG
34: ich: (string) \033[%p1%d@
35: ich1: (string) \033[@
36: il: (string) \033[%p1%dL
37: il1: (string) \033[L
38: invis: [missing]
39: is1: (string) \033[!p
40: is2: (string) \033[r\033[m\033[2J\033[?7;25h\033[?1;3;4;5;6;9;66;1000;1001;1049l\033[4l
41: is3: [missing]
42: kcbt: (string) \033[Z
43: kcub1: (string) \033[D
44: kcud1: (string) \033[B
45: kcuf1: (string) \033[C
46: kcuu1: (string) \033[A
47: kDC: (string) \033[3$
48: kDC3: [missing]
49: kDC4: [missing]
50: kDC5: [missing]
51: kDC6: [missing]
52: kDC7: [missing]
53: kdch1: (string) \033[3~
54: kDN: [missing]
55: kDN3: [missing]
56: kDN4: [missing]
57: kDN5: [missing]
58: kDN6: [missing]
59: kDN7: [missing]
60: kend: (string) \033[8~
61: kEND: (string) \033[8$
62: kEND3: [missing]
63: kEND4: [missing]
64: kEND5: [missing]
65: kEND6: [missing]
66: kEND7: [missing]
67: kf1: (string) \033[11~
68: kf10: (string) \033[21~
69: kf11: (string) \033[23~
70: kf12: (string) \033[24~
71: kf13: (string) \033[25~
72: kf14: (string) \033[26~
73: kf15: (string) \033[28~
74: kf16: (string) \033[29~
75: kf17: (string) \033[31~
76: kf18: (string) \033[32~
77: kf19: (string) \033[33~
78: kf2: (string) \033[12~
79: kf20: (string) \033[34~
80: kf3: (string) \033[13~
81: kf4: (string) \033[14~
82: kf5: (string) \033[15~
83: kf6: (string) \033[17~
84: kf7: (string) \033[18~
85: kf8: (string) \033[19~
86: kf9: (string) \033[20~
87: kHOM: (string) \033[7$
88: kHOM3: [missing]
89: kHOM4: [missing]
90: kHOM5: [missing]
91: kHOM6: [missing]
92: kHOM7: [missing]
93: khome: (string) \033[7~
94: kIC: (string) \033[2$
95: kIC3: [missing]
96: kIC4: [missing]
97: kIC5: [missing]
98: kIC6: [missing]
99: kIC7: [missing]
100: kich1: (string) \033[2~
101: kLFT: (string) \033[d
102: kLFT3: [missing]
103: kLFT4: [missing]
104: kLFT5: [missing]
105: kLFT6: [missing]
106: kLFT7: [missing]
107: kmous: (string) \033[M
108: knp: (string) \033[6~
109: kNXT: (string) \033[6$
110: kNXT3: [missing]
111: kNXT4: [missing]
112: kNXT5: [missing]
113: kNXT6: [missing]
114: kNXT7: [missing]
115: kpp: (string) \033[5~
116: kPRV: (string) \033[5$
117: kPRV3: [missing]
118: kPRV4: [missing]
119: kPRV5: [missing]
120: kPRV6: [missing]
121: kPRV7: [missing]
122: kRIT: (string) \033[c
123: kRIT3: [missing]
124: kRIT4: [missing]
125: kRIT5: [missing]
126: kRIT6: [missing]
127: kRIT7: [missing]
128: kUP: [missing]
129: kUP3: [missing]
130: kUP4: [missing]
131: kUP5: [missing]
132: kUP6: [missing]
133: kUP7: [missing]
134: Ms: (string) \033]52;%p1%s;%p2%s007
135: op: (string) \033[39;49m
136: rev: (string) \033[7m
137: ri: (string) \033M
138: rmacs: (string) \033(B
139: rmcup: (string) \033[r\033[?1049l
140: rmkx: (string) \033>
141: Se: [missing]
142: setab: (string) \033[48;5;%p1%dm
143: setaf: (string) \033[38;5;%p1%dm
144: sgr0: (string) \033[m\033(B
145: sitm: (string) \033[3m
146: smacs: (string) \033(0
147: smcup: (string) \033[?1049h
148: smkx: (string) \033=
149: smso: (string) \033[7m
150: smul: (string) \033[4m
151: Ss: (string) \033]777;Ss;%p1%d007
152: tsl: (string) \033]2;
153: vpa: (string) \033[%i%p1%dd
154: xenl: (flag) true
155: XT: (flag) true

Jobs:
Nicholas Marriott
2014-03-03 16:13:45 UTC
Permalink
Please send me your .tmux.conf too.

-------- Original message --------
From: Jan Larres <***@majutsushi.net>
Date: 03/03/2014 03:55 (GMT+01:00)
To: tmux-***@lists.sourceforge.net
Subject: Re: tmux leaking socket descriptors under certain circumstances
Post by Nicholas Marriott
What tmux version?
A recent-ish Git revision, but the problem has been around for quite a
while. I'm not entirely sure which revision unfortunately as I've
updated my repository since then but not restarted the server.
Post by Nicholas Marriott
If you run "tmux info" once it starts to leak do you see a lot of jobs
listed at the end?
No, I don't think I've ever seen any jobs there. But here's the complete
output it case it's still helpful (like the date the server was started
which was probably shortly after a Git update & reinstall):


tmux 1.9, pid 6850, started Mon Jan 27 11:09:09 2014
socket path /tmp/tmux-1179/default, debug level 0
system is Linux 3.11-2-amd64 #1 SMP Debian 3.11.8-1 (2013-11-13) x86_64
configuration file is /home/user/jan/.tmux.conf
protocol version is 8

Clients:
0: /dev/pts/6 (5, 8): scratch [99x49 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=1]
1: /dev/pts/1 (12, 14): 1 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=6]
2: /dev/pts/4 (18, 20): 86 [158x43 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=0]
3: /dev/pts/9 (24, 32): 88 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=0]
4: /dev/pts/10 (23, 48): 89 [158x43 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=0]
5: /dev/pts/16 (25, 42): 70 [94x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=0]
6: /dev/pts/19 (46, 78): 50 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=0]
7: /dev/pts/20 (60, 62): 10 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=15]
8: /dev/pts/8 (29, 43): 76 [110x43 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=0]
9: /dev/pts/26 (102, 104): 15 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=0]
10: /dev/pts/33 (116, 118): 51 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=0]
11: /dev/pts/36 (80, 126): 52 [319x88 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=0]
12: /dev/pts/35 (123, 130): 74 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=0]
13: /dev/pts/40 (134, 138): 75 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=0]
14: /dev/pts/12 (38, 100): 97 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=1]
15: /dev/pts/18 (82, 85): scratch [99x49 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=1]
16: /dev/pts/29 (112, 114): 98 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=2]
17: /dev/pts/42 (22, 153): 99 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=2]
18: /dev/pts/53 (150, 221): 101 [319x88 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=2]
19: /dev/pts/56 (232, 235): 102 [158x43 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=0]
20: /dev/pts/54 (222, 239): 103 [110x43 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=0]
21: /dev/pts/61 (287, 269): 104 [158x43 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=0]

Sessions: [14]
1: 1: 1 windows (created Mon Jan 27 11:09:55 2014) [158x86] [flags=0x0]
   1: ssh [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/2 7685 17 28/114, 18858 bytes
10: 10: 4 windows (created Tue Jan 28 15:36:41 2014) [158x86] [flags=0x0]
   1: vim(vimrc) [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/21 3106 65 2450/2491, 5335428 bytes
   2: zsh [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/30 12645 111 239/243, 516866 bytes
   3: vim(DrawItPlugin.v
) [158x86] [flags=0x0, references=1, last layout=-1]
     0: /dev/pts/48 10332 213 460/463, 1006530 bytes
   4: vim(table-mode.vim) [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/51 16009 219 312/397, 619262 bytes
101: 101: 1 windows (created Mon Feb 24 10:34:11 2014) [319x87] [flags=0x0]
   1: zsh [319x87] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/55 28510 228 1028/1102, 1420734 bytes
102: 102: 2 windows (created Mon Feb 24 11:45:37 2014) [158x42] [flags=0x0]
   1: ssh [158x42] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/57 20545 238 2136/2231, 1765302 bytes
   2: ssh [158x42] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/63 31535 274 192/202, 143654 bytes
103: 103: 1 windows (created Mon Feb 24 13:18:31 2014) [110x42] [flags=0x0]
   1: ***@eilonwy [110x42] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/58 30740 242 7310/7469, 7603946 bytes
104: 104: 2 windows (created Mon Feb 24 17:08:55 2014) [158x42] [flags=0x0]
   1: ssh [158x42] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/62 11826 272 5680/5837, 6128570 bytes
   2: ssh [158x42] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/65 12640 278 9082/9580, 8593158 bytes
15: 15: 3 windows (created Wed Jan 29 15:35:24 2014) [158x86] [flags=0x0]
   1: zsh [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/27 18296 107 2195/2205, 4466448 bytes
   2: vim(pairs.vim) [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/47 6676 230 98/101, 204540 bytes
   3: zsh [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/50 28154 217 88/90, 190932 bytes
50: 50: 2 windows (created Mon Feb  3 11:30:18 2014) [158x86] [flags=0x0]
   1: zsh [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/22 7710 115 9195/9279, 17188612 bytes
   2: zsh [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/38 28665 136 479/583, 158956 bytes
51: 51: 2 windows (created Mon Feb  3 11:30:21 2014) [158x86] [flags=0x0]
   1: zsh [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/34 8466 121 2247/2287, 3949960 bytes
   2: zsh [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/46 25994 146 810/923, 709912 bytes
52: 52: 1 windows (created Mon Feb  3 15:22:41 2014) [319x87] [flags=0x0]
   1: ranger [319x87] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/37 17869 129 2640/4259, 6675452 bytes
70: 70: 3 windows (created Mon Feb 10 19:20:51 2014) [94x86] [flags=0x0]
   1: ranger [94x86] [flags=0xa, references=1, last layout=-1]
     0: /dev/pts/17 32038 50 8973/9545, 7931112 bytes
   2: vim(aspdn-procedur
) [94x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/66 17418 283 114/114, 150010 bytes
   3: tig [94x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/64 11895 276 1318/1993, 840784 bytes
74: 74: 2 windows (created Wed Feb 12 15:42:25 2014) [158x86] [flags=0x0]
   1: mocp [158x86] [flags=0xa, references=1, last layout=-1]
     0: /dev/pts/39 5152 133 1387/1408, 1978340 bytes
   2: firefox [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/44 11096 214 11/87, 13538 bytes
75: 75: 1 windows (created Wed Feb 12 15:49:17 2014) [158x86] [flags=0x0]
   1: zsh [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/41 8808 141 3/87, 2478 bytes
76: 76: 2 windows (created Thu Feb 13 15:19:01 2014) [110x42] [flags=0x0]
   1: vim(rfc4666.txt) [110x42] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/13 1802 72 1956/1962, 2736846 bytes
   2: zsh [110x42] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/28 3766 99 104/195, 86296 bytes
86: 86: 3 windows (created Tue Feb 18 10:48:03 2014) [158x42] [flags=0x0]
   1: ranger [158x86] [flags=0xa, references=1, last layout=-1]
     0: /dev/pts/7 28741 28 1133/1239, 1505630 bytes
   2: zsh [158x42] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/5 22893 37 2396/2407, 1688624 bytes
   3: zsh [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/23 27488 98 24/93, 21462 bytes
88: 88: 1 windows (created Tue Feb 18 17:08:11 2014) [158x86] [flags=0x0]
   1: zsh [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/11 6807 35 9083/9121, 11740708 bytes
89: 89: 1 windows (created Wed Feb 19 15:36:26 2014) [158x42] [flags=0x0]
   1: zsh [158x42] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/14 28425 56 123/160, 87682 bytes
97: 97: 3 windows (created Thu Feb 20 10:48:38 2014) [158x86] [flags=0x0]
   1: zsh [158x42] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/25 2165 109 2302/2521, 1939868 bytes
   2: zsh [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/59 30901 245 8933/9701, 4472384 bytes
   3: zsh [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/60 9071 247 3412/3549, 4362246 bytes
98: 98: 2 windows (created Thu Feb 20 10:48:39 2014) [158x86] [flags=0x0]
   1: ranger [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/31 2910 147 4418/6522, 6431796 bytes
   2: zsh [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/49 25547 243 2610/2766, 1583190 bytes
99: 99: 3 windows (created Thu Feb 20 13:23:06 2014) [158x86] [flags=0x0]
   1: zsh [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/43 13246 174 9463/9532, 7473858 bytes
   2: zsh [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/32 24038 175 4392/4577, 3737230 bytes
   3: zsh [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/45 3544 185 322/356, 532084 bytes
0: scratch: 4 windows (created Mon Jan 27 11:09:09 2014) [99x48] [flags=0x0]
   1: vim(Xresources) [99x48] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/0 6851 11 7088/8377, 5978910 bytes
   2: vim(todo.otl) [99x48] [flags=0x0, references=1, last layout=-1]
     0: /dev/pts/24 27095 74 76/76, 105322 bytes
   3: vim(80_zle) [99x48] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/15 14899 145 9325/9627, 9303686 bytes
   4: zsh [99x48] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/52 20395 224 997/1070, 649768 bytes

Terminals:
rxvt-unicode-256color [references=22, flags=0x1]:
1: acsc: (string) +C,D-A.B0E``aaffgghFiGjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~
0: AX: [missing]
2: bel: (string) \007
3: blink: (string) \033[5m
4: bold: (string) \033[1m
5: civis: (string) \033[?25l
6: clear: (string) \033[H\033[2J
7: cnorm: (string) \033[?25h
8: colors: (number) 256
9: Cr: [missing]
10: Cs: (string) \033]12;%p1%s007
11: csr: (string) \033[%i%p1%d;%p2%dr
12: cub: (string) \033[%p1%dD
13: cub1: (string) \010
14: cud: (string) \033[%p1%dB
15: cud1: (string) \012
16: cuf: (string) \033[%p1%dC
17: cuf1: (string) \033[C
18: cup: (string) \033[%i%p1%d;%p2%dH
19: cuu: (string) \033[%p1%dA
20: cuu1: (string) \033[A
21: dch: (string) \033[%p1%dP
22: dch1: (string) \033[P
23: dim: [missing]
24: dl: (string) \033[%p1%dM
25: dl1: (string) \033[M
26: E3: [missing]
27: ech: (string) \033[%p1%dX
28: el: (string) \033[K
29: el1: (string) \033[1K
30: enacs: (string)
31: fsl: (string) \007
32: home: (string) \033[H
33: hpa: (string) \033[%i%p1%dG
34: ich: (string) \033[%p1%d@
35: ich1: (string) \033[@
36: il: (string) \033[%p1%dL
37: il1: (string) \033[L
38: invis: [missing]
39: is1: (string) \033[!p
40: is2: (string) \033[r\033[m\033[2J\033[?7;25h\033[?1;3;4;5;6;9;66;1000;1001;1049l\033[4l
41: is3: [missing]
42: kcbt: (string) \033[Z
43: kcub1: (string) \033[D
44: kcud1: (string) \033[B
45: kcuf1: (string) \033[C
46: kcuu1: (string) \033[A
47: kDC: (string) \033[3$
48: kDC3: [missing]
49: kDC4: [missing]
50: kDC5: [missing]
51: kDC6: [missing]
52: kDC7: [missing]
53: kdch1: (string) \033[3~
54: kDN: [missing]
55: kDN3: [missing]
56: kDN4: [missing]
57: kDN5: [missing]
58: kDN6: [missing]
59: kDN7: [missing]
60: kend: (string) \033[8~
61: kEND: (string) \033[8$
62: kEND3: [missing]
63: kEND4: [missing]
64: kEND5: [missing]
65: kEND6: [missing]
66: kEND7: [missing]
67: kf1: (string) \033[11~
68: kf10: (string) \033[21~
69: kf11: (string) \033[23~
70: kf12: (string) \033[24~
71: kf13: (string) \033[25~
72: kf14: (string) \033[26~
73: kf15: (string) \033[28~
74: kf16: (string) \033[29~
75: kf17: (string) \033[31~
76: kf18: (string) \033[32~
77: kf19: (string) \033[33~
78: kf2: (string) \033[12~
79: kf20: (string) \033[34~
80: kf3: (string) \033[13~
81: kf4: (string) \033[14~
82: kf5: (string) \033[15~
83: kf6: (string) \033[17~
84: kf7: (string) \033[18~
85: kf8: (string) \033[19~
86: kf9: (string) \033[20~
87: kHOM: (string) \033[7$
88: kHOM3: [missing]
89: kHOM4: [missing]
90: kHOM5: [missing]
91: kHOM6: [missing]
92: kHOM7: [missing]
93: khome: (string) \033[7~
94: kIC: (string) \033[2$
95: kIC3: [missing]
96: kIC4: [missing]
97: kIC5: [missing]
98: kIC6: [missing]
99: kIC7: [missing]
100: kich1: (string) \033[2~
101: kLFT: (string) \033[d
102: kLFT3: [missing]
103: kLFT4: [missing]
104: kLFT5: [missing]
105: kLFT6: [missing]
106: kLFT7: [missing]
107: kmous: (string) \033[M
108: knp: (string) \033[6~
109: kNXT: (string) \033[6$
110: kNXT3: [missing]
111: kNXT4: [missing]
112: kNXT5: [missing]
113: kNXT6: [missing]
114: kNXT7: [missing]
115: kpp: (string) \033[5~
116: kPRV: (string) \033[5$
117: kPRV3: [missing]
118: kPRV4: [missing]
119: kPRV5: [missing]
120: kPRV6: [missing]
121: kPRV7: [missing]
122: kRIT: (string) \033[c
123: kRIT3: [missing]
124: kRIT4: [missing]
125: kRIT5: [missing]
126: kRIT6: [missing]
127: kRIT7: [missing]
128: kUP: [missing]
129: kUP3: [missing]
130: kUP4: [missing]
131: kUP5: [missing]
132: kUP6: [missing]
133: kUP7: [missing]
134: Ms: (string) \033]52;%p1%s;%p2%s007
135: op: (string) \033[39;49m
136: rev: (string) \033[7m
137: ri: (string) \033M
138: rmacs: (string) \033(B
139: rmcup: (string) \033[r\033[?1049l
140: rmkx: (string) \033>
141: Se: [missing]
142: setab: (string) \033[48;5;%p1%dm
143: setaf: (string) \033[38;5;%p1%dm
144: sgr0: (string) \033[m\033(B
145: sitm: (string) \033[3m
146: smacs: (string) \033(0
147: smcup: (string) \033[?1049h
148: smkx: (string) \033=
149: smso: (string) \033[7m
150: smul: (string) \033[4m
151: Ss: (string) \033]777;Ss;%p1%d007
152: tsl: (string) \033]2;
153: vpa: (string) \033[%i%p1%dd
154: xenl: (flag) true
155: XT: (flag) true

Jobs:
Jan Larres
2014-03-03 21:45:13 UTC
Permalink
Post by Nicholas Marriott
Please send me your .tmux.conf too.
Here you go:
https://github.com/majutsushi/etc/tree/master/tmux

-Jan
Jan Larres
2014-03-05 04:23:48 UTC
Permalink
It just happened again, all the file descriptors are used up, and there
are no jobs in the info output. I noticed something else interesting,
though: in the 'Clients' section the 'references' value keeps climbing
for all of them, even now that the rest of the system has returned to
normal (and the descriptors don't change). Here's the complete output:


tmux 1.9, pid 6850, started Mon Jan 27 11:09:09 2014
socket path /tmp/tmux-1179/default, debug level 0
system is Linux 3.11-2-amd64 #1 SMP Debian 3.11.8-1 (2013-11-13) x86_64
configuration file is /home/user/jan/.tmux.conf
protocol version is 8

Clients:
0: /dev/pts/6 (5, 8): scratch [99x49 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=605]
1: /dev/pts/1 (12, 14): 1 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=614]
2: /dev/pts/14 (216, 36): 114 [158x43 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=608]
3: /dev/pts/9 (19, 21): 117 [318x43 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=607]
4: /dev/pts/7 (34, 51): 118 [318x43 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=606]
5: /dev/pts/16 (25, 42): 70 [94x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=606]
6: /dev/pts/19 (46, 78): 50 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=605]
7: /dev/pts/20 (60, 62): 10 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=620]
8: /dev/pts/8 (29, 43): 76 [110x43 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=605]
9: /dev/pts/26 (102, 104): 15 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=605]
10: /dev/pts/33 (116, 118): 51 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=604]
11: /dev/pts/36 (80, 126): 52 [62x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=604]
12: /dev/pts/35 (123, 130): 74 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=604]
13: /dev/pts/40 (134, 138): 75 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=604]
14: /dev/pts/12 (38, 100): 97 [158x43 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=605]
15: /dev/pts/18 (82, 85): scratch [99x49 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=600]
16: /dev/pts/29 (112, 114): 98 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=605]
17: /dev/pts/42 (22, 153): 99 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=604]
18: /dev/pts/53 (150, 221): 101 [319x88 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=604]
19: /dev/pts/56 (232, 235): 102 [158x43 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=602]
20: /dev/pts/54 (222, 239): 103 [110x43 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=602]
21: /dev/pts/61 (287, 269): 104 [158x43 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=602]
22: /dev/pts/38 (355, 135): 119 [319x88 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=600]

Sessions: [14]
1: 1: 1 windows (created Mon Jan 27 11:09:55 2014) [158x86] [flags=0x0]
1: ssh [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/2 7685 17 28/114, 18858 bytes
10: 10: 3 windows (created Tue Jan 28 15:36:41 2014) [158x86] [flags=0x0]
1: zsh [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/21 3106 65 3384/3478, 6951854 bytes
2: zsh [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/30 12645 111 811/894, 1031772 bytes
3: zsh [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/51 16009 219 748/863, 1196790 bytes
101: 101: 1 windows (created Mon Feb 24 10:34:11 2014) [319x87] [flags=0x0]
1: zsh [319x87] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/55 28510 228 1028/1102, 1420734 bytes
102: 102: 2 windows (created Mon Feb 24 11:45:37 2014) [158x42] [flags=0x0]
1: ssh [158x42] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/57 20545 238 2193/2295, 1828610 bytes
2: ssh [158x42] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/63 31535 274 192/202, 143654 bytes
103: 103: 1 windows (created Mon Feb 24 13:18:31 2014) [110x42] [flags=0x0]
1: eilonwy [110x42] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/58 30740 242 8938/9103, 10068548 bytes
104: 104: 2 windows (created Mon Feb 24 17:08:55 2014) [158x42] [flags=0x0]
1: ssh [158x42] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/62 11826 272 5752/5916, 6201006 bytes
2: ssh [158x42] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/65 12640 278 9082/9580, 8593158 bytes
114: 114: 1 windows (created Wed Mar 5 11:46:50 2014) [158x42] [flags=0x0]
1: ranger [158x42] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/23 3335 48 4942/5030, 7558712 bytes
117: 117: 1 windows (created Wed Mar 5 15:54:04 2014) [318x42] [flags=0x0]
1: zsh [318x42] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/10 4704 33 671/746, 576030 bytes
118: 118: 3 windows (created Wed Mar 5 16:11:01 2014) [318x42] [flags=0x0]
1: zsh [318x42] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/11 9017 79 1199/1344, 1509662 bytes
2: ranger [318x42] [flags=0xa, references=1, last layout=-1]
0: /dev/pts/48 13947 213 174/225, 413448 bytes
3: zsh [318x42] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/50 24658 223 331/393, 352492 bytes
119: 119: 1 windows (created Wed Mar 5 16:16:35 2014) [319x87] [flags=0x0]
1: vim(CginIotSgcRule…) [319x87] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/46 28899 146 111/114, 470540 bytes
15: 15: 2 windows (created Wed Jan 29 15:35:24 2014) [158x86] [flags=0x0]
1: zsh [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/27 18296 107 2251/2261, 4590320 bytes
2: zsh [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/47 6676 230 304/350, 612794 bytes
50: 50: 1 windows (created Mon Feb 3 11:30:18 2014) [158x86] [flags=0x0]
1: zsh [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/22 7710 115 9195/9279, 17188612 bytes
51: 51: 1 windows (created Mon Feb 3 11:30:21 2014) [158x86] [flags=0x0]
1: zsh [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/34 8466 121 2247/2287, 3949960 bytes
52: 52: 1 windows (created Mon Feb 3 15:22:41 2014) [62x86] [flags=0x0]
1: ranger [62x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/37 17869 129 8496/9825, 6171452 bytes
70: 70: 4 windows (created Mon Feb 10 19:20:51 2014) [94x86] [flags=0x0]
1: ranger [94x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/17 32038 50 8704/9137, 8003492 bytes
2: vim(sgc.dat) [94x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/5 3775 28 86/86, 113162 bytes
3: vim(sgc.dat) [94x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/4 32525 24 122/122, 160538 bytes
4: zsh [94x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/64 11895 276 2016/2936, 1171002 bytes
74: 74: 2 windows (created Wed Feb 12 15:42:25 2014) [158x86] [flags=0x0]
1: mocp [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/39 5152 133 1387/1408, 1978340 bytes
2: zsh [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/44 11096 214 14/87, 14770 bytes
75: 75: 1 windows (created Wed Feb 12 15:49:17 2014) [158x86] [flags=0x0]
1: zsh [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/41 8808 141 3/87, 2478 bytes
76: 76: 2 windows (created Thu Feb 13 15:19:01 2014) [110x42] [flags=0x0]
1: zsh [110x42] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/13 1802 72 2056/2065, 2845220 bytes
2: zsh [110x42] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/28 3766 99 104/195, 86296 bytes
97: 97: 3 windows (created Thu Feb 20 10:48:38 2014) [158x42] [flags=0x0]
1: zsh [158x42] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/25 2165 109 2632/2861, 2352966 bytes
2: zsh [158x42] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/59 30901 245 9097/9942, 4573716 bytes
3: zsh [158x42] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/60 9071 247 3412/3549, 4362246 bytes
98: 98: 2 windows (created Thu Feb 20 10:48:39 2014) [158x86] [flags=0x0]
1: ranger [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/31 2910 147 5287/7964, 7864542 bytes
2: zsh [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/49 25547 243 2780/2959, 1758330 bytes
99: 99: 3 windows (created Thu Feb 20 13:23:06 2014) [158x86] [flags=0x0]
1: zsh [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/43 13246 174 9431/9490, 7712208 bytes
2: zsh [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/32 24038 175 4392/4577, 3737230 bytes
3: zsh [158x86] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/45 3544 185 322/356, 532084 bytes
0: scratch: 3 windows (created Mon Jan 27 11:09:09 2014) [99x48] [flags=0x0]
1: zsh [99x48] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/0 6851 11 8095/9279, 7276612 bytes
2: vim(todo.otl) [99x48] [flags=0x8, references=1, last layout=-1]
0: /dev/pts/24 27095 74 76/76, 105322 bytes
3: htop [99x48] [flags=0xa, references=1, last layout=-1]
0: /dev/pts/15 14899 145 9480/10024, 9427110 bytes

Terminals:
rxvt-unicode-256color [references=23, flags=0x1]:
1: acsc: (string) +C,D-A.B0E``aaffgghFiGjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~
0: AX: [missing]
2: bel: (string) \007
3: blink: (string) \033[5m
4: bold: (string) \033[1m
5: civis: (string) \033[?25l
6: clear: (string) \033[H\033[2J
7: cnorm: (string) \033[?25h
8: colors: (number) 256
9: Cr: [missing]
10: Cs: (string) \033]12;%p1%s007
11: csr: (string) \033[%i%p1%d;%p2%dr
12: cub: (string) \033[%p1%dD
13: cub1: (string) \010
14: cud: (string) \033[%p1%dB
15: cud1: (string) \012
16: cuf: (string) \033[%p1%dC
17: cuf1: (string) \033[C
18: cup: (string) \033[%i%p1%d;%p2%dH
19: cuu: (string) \033[%p1%dA
20: cuu1: (string) \033[A
21: dch: (string) \033[%p1%dP
22: dch1: (string) \033[P
23: dim: [missing]
24: dl: (string) \033[%p1%dM
25: dl1: (string) \033[M
26: E3: [missing]
27: ech: (string) \033[%p1%dX
28: el: (string) \033[K
29: el1: (string) \033[1K
30: enacs: (string)
31: fsl: (string) \007
32: home: (string) \033[H
33: hpa: (string) \033[%i%p1%dG
34: ich: (string) \033[%p1%d@
35: ich1: (string) \033[@
36: il: (string) \033[%p1%dL
37: il1: (string) \033[L
38: invis: [missing]
39: is1: (string) \033[!p
40: is2: (string) \033[r\033[m\033[2J\033[?7;25h\033[?1;3;4;5;6;9;66;1000;1001;1049l\033[4l
41: is3: [missing]
42: kcbt: (string) \033[Z
43: kcub1: (string) \033[D
44: kcud1: (string) \033[B
45: kcuf1: (string) \033[C
46: kcuu1: (string) \033[A
47: kDC: (string) \033[3$
48: kDC3: [missing]
49: kDC4: [missing]
50: kDC5: [missing]
51: kDC6: [missing]
52: kDC7: [missing]
53: kdch1: (string) \033[3~
54: kDN: [missing]
55: kDN3: [missing]
56: kDN4: [missing]
57: kDN5: [missing]
58: kDN6: [missing]
59: kDN7: [missing]
60: kend: (string) \033[8~
61: kEND: (string) \033[8$
62: kEND3: [missing]
63: kEND4: [missing]
64: kEND5: [missing]
65: kEND6: [missing]
66: kEND7: [missing]
67: kf1: (string) \033[11~
68: kf10: (string) \033[21~
69: kf11: (string) \033[23~
70: kf12: (string) \033[24~
71: kf13: (string) \033[25~
72: kf14: (string) \033[26~
73: kf15: (string) \033[28~
74: kf16: (string) \033[29~
75: kf17: (string) \033[31~
76: kf18: (string) \033[32~
77: kf19: (string) \033[33~
78: kf2: (string) \033[12~
79: kf20: (string) \033[34~
80: kf3: (string) \033[13~
81: kf4: (string) \033[14~
82: kf5: (string) \033[15~
83: kf6: (string) \033[17~
84: kf7: (string) \033[18~
85: kf8: (string) \033[19~
86: kf9: (string) \033[20~
87: kHOM: (string) \033[7$
88: kHOM3: [missing]
89: kHOM4: [missing]
90: kHOM5: [missing]
91: kHOM6: [missing]
92: kHOM7: [missing]
93: khome: (string) \033[7~
94: kIC: (string) \033[2$
95: kIC3: [missing]
96: kIC4: [missing]
97: kIC5: [missing]
98: kIC6: [missing]
99: kIC7: [missing]
100: kich1: (string) \033[2~
101: kLFT: (string) \033[d
102: kLFT3: [missing]
103: kLFT4: [missing]
104: kLFT5: [missing]
105: kLFT6: [missing]
106: kLFT7: [missing]
107: kmous: (string) \033[M
108: knp: (string) \033[6~
109: kNXT: (string) \033[6$
110: kNXT3: [missing]
111: kNXT4: [missing]
112: kNXT5: [missing]
113: kNXT6: [missing]
114: kNXT7: [missing]
115: kpp: (string) \033[5~
116: kPRV: (string) \033[5$
117: kPRV3: [missing]
118: kPRV4: [missing]
119: kPRV5: [missing]
120: kPRV6: [missing]
121: kPRV7: [missing]
122: kRIT: (string) \033[c
123: kRIT3: [missing]
124: kRIT4: [missing]
125: kRIT5: [missing]
126: kRIT6: [missing]
127: kRIT7: [missing]
128: kUP: [missing]
129: kUP3: [missing]
130: kUP4: [missing]
131: kUP5: [missing]
132: kUP6: [missing]
133: kUP7: [missing]
134: Ms: (string) \033]52;%p1%s;%p2%s007
135: op: (string) \033[39;49m
136: rev: (string) \033[7m
137: ri: (string) \033M
138: rmacs: (string) \033(B
139: rmcup: (string) \033[r\033[?1049l
140: rmkx: (string) \033>
141: Se: [missing]
142: setab: (string) \033[48;5;%p1%dm
143: setaf: (string) \033[38;5;%p1%dm
144: sgr0: (string) \033[m\033(B
145: sitm: (string) \033[3m
146: smacs: (string) \033(0
147: smcup: (string) \033[?1049h
148: smkx: (string) \033=
149: smso: (string) \033[7m
150: smul: (string) \033[4m
151: Ss: (string) \033]777;Ss;%p1%d007
152: tsl: (string) \033]2;
153: vpa: (string) \033[%i%p1%dd
154: xenl: (flag) true
155: XT: (flag) true

Jobs:


-Jan
Nicholas Marriott
2014-03-05 11:32:06 UTC
Permalink
Do they increase as you use your run-shell M-hjkl bindings?

-------- Original message --------
From: Jan Larres <***@majutsushi.net>
Date: 05/03/2014 04:23 (GMT+00:00)
To: tmux-***@lists.sourceforge.net
Subject: Re: tmux leaking socket descriptors under certain circumstances

It just happened again, all the file descriptors are used up, and there
are no jobs in the info output. I noticed something else interesting,
though: in the 'Clients' section the 'references' value keeps climbing
for all of them, even now that the rest of the system has returned to
normal (and the descriptors don't change). Here's the complete output:


tmux 1.9, pid 6850, started Mon Jan 27 11:09:09 2014
socket path /tmp/tmux-1179/default, debug level 0
system is Linux 3.11-2-amd64 #1 SMP Debian 3.11.8-1 (2013-11-13) x86_64
configuration file is /home/user/jan/.tmux.conf
protocol version is 8

Clients:
0: /dev/pts/6 (5, 8): scratch [99x49 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=605]
1: /dev/pts/1 (12, 14): 1 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=614]
2: /dev/pts/14 (216, 36): 114 [158x43 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=608]
3: /dev/pts/9 (19, 21): 117 [318x43 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=607]
4: /dev/pts/7 (34, 51): 118 [318x43 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=606]
5: /dev/pts/16 (25, 42): 70 [94x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=606]
6: /dev/pts/19 (46, 78): 50 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=605]
7: /dev/pts/20 (60, 62): 10 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=620]
8: /dev/pts/8 (29, 43): 76 [110x43 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=605]
9: /dev/pts/26 (102, 104): 15 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=605]
10: /dev/pts/33 (116, 118): 51 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=604]
11: /dev/pts/36 (80, 126): 52 [62x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=604]
12: /dev/pts/35 (123, 130): 74 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=604]
13: /dev/pts/40 (134, 138): 75 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=604]
14: /dev/pts/12 (38, 100): 97 [158x43 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=605]
15: /dev/pts/18 (82, 85): scratch [99x49 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=600]
16: /dev/pts/29 (112, 114): 98 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=605]
17: /dev/pts/42 (22, 153): 99 [158x87 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=604]
18: /dev/pts/53 (150, 221): 101 [319x88 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=604]
19: /dev/pts/56 (232, 235): 102 [158x43 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=602]
20: /dev/pts/54 (222, 239): 103 [110x43 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=602]
21: /dev/pts/61 (287, 269): 104 [158x43 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=602]
22: /dev/pts/38 (355, 135): 119 [319x88 rxvt-unicode-256color bs=177 class=1] [flags=0x58001/0x38, references=600]

Sessions: [14]
1: 1: 1 windows (created Mon Jan 27 11:09:55 2014) [158x86] [flags=0x0]
   1: ssh [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/2 7685 17 28/114, 18858 bytes
10: 10: 3 windows (created Tue Jan 28 15:36:41 2014) [158x86] [flags=0x0]
   1: zsh [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/21 3106 65 3384/3478, 6951854 bytes
   2: zsh [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/30 12645 111 811/894, 1031772 bytes
   3: zsh [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/51 16009 219 748/863, 1196790 bytes
101: 101: 1 windows (created Mon Feb 24 10:34:11 2014) [319x87] [flags=0x0]
   1: zsh [319x87] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/55 28510 228 1028/1102, 1420734 bytes
102: 102: 2 windows (created Mon Feb 24 11:45:37 2014) [158x42] [flags=0x0]
   1: ssh [158x42] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/57 20545 238 2193/2295, 1828610 bytes
   2: ssh [158x42] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/63 31535 274 192/202, 143654 bytes
103: 103: 1 windows (created Mon Feb 24 13:18:31 2014) [110x42] [flags=0x0]
   1: eilonwy [110x42] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/58 30740 242 8938/9103, 10068548 bytes
104: 104: 2 windows (created Mon Feb 24 17:08:55 2014) [158x42] [flags=0x0]
   1: ssh [158x42] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/62 11826 272 5752/5916, 6201006 bytes
   2: ssh [158x42] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/65 12640 278 9082/9580, 8593158 bytes
114: 114: 1 windows (created Wed Mar  5 11:46:50 2014) [158x42] [flags=0x0]
   1: ranger [158x42] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/23 3335 48 4942/5030, 7558712 bytes
117: 117: 1 windows (created Wed Mar  5 15:54:04 2014) [318x42] [flags=0x0]
   1: zsh [318x42] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/10 4704 33 671/746, 576030 bytes
118: 118: 3 windows (created Wed Mar  5 16:11:01 2014) [318x42] [flags=0x0]
   1: zsh [318x42] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/11 9017 79 1199/1344, 1509662 bytes
   2: ranger [318x42] [flags=0xa, references=1, last layout=-1]
     0: /dev/pts/48 13947 213 174/225, 413448 bytes
   3: zsh [318x42] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/50 24658 223 331/393, 352492 bytes
119: 119: 1 windows (created Wed Mar  5 16:16:35 2014) [319x87] [flags=0x0]
   1: vim(CginIotSgcRule
) [319x87] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/46 28899 146 111/114, 470540 bytes
15: 15: 2 windows (created Wed Jan 29 15:35:24 2014) [158x86] [flags=0x0]
   1: zsh [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/27 18296 107 2251/2261, 4590320 bytes
   2: zsh [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/47 6676 230 304/350, 612794 bytes
50: 50: 1 windows (created Mon Feb  3 11:30:18 2014) [158x86] [flags=0x0]
   1: zsh [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/22 7710 115 9195/9279, 17188612 bytes
51: 51: 1 windows (created Mon Feb  3 11:30:21 2014) [158x86] [flags=0x0]
   1: zsh [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/34 8466 121 2247/2287, 3949960 bytes
52: 52: 1 windows (created Mon Feb  3 15:22:41 2014) [62x86] [flags=0x0]
   1: ranger [62x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/37 17869 129 8496/9825, 6171452 bytes
70: 70: 4 windows (created Mon Feb 10 19:20:51 2014) [94x86] [flags=0x0]
   1: ranger [94x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/17 32038 50 8704/9137, 8003492 bytes
   2: vim(sgc.dat) [94x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/5 3775 28 86/86, 113162 bytes
   3: vim(sgc.dat) [94x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/4 32525 24 122/122, 160538 bytes
   4: zsh [94x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/64 11895 276 2016/2936, 1171002 bytes
74: 74: 2 windows (created Wed Feb 12 15:42:25 2014) [158x86] [flags=0x0]
   1: mocp [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/39 5152 133 1387/1408, 1978340 bytes
   2: zsh [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/44 11096 214 14/87, 14770 bytes
75: 75: 1 windows (created Wed Feb 12 15:49:17 2014) [158x86] [flags=0x0]
   1: zsh [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/41 8808 141 3/87, 2478 bytes
76: 76: 2 windows (created Thu Feb 13 15:19:01 2014) [110x42] [flags=0x0]
   1: zsh [110x42] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/13 1802 72 2056/2065, 2845220 bytes
   2: zsh [110x42] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/28 3766 99 104/195, 86296 bytes
97: 97: 3 windows (created Thu Feb 20 10:48:38 2014) [158x42] [flags=0x0]
   1: zsh [158x42] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/25 2165 109 2632/2861, 2352966 bytes
   2: zsh [158x42] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/59 30901 245 9097/9942, 4573716 bytes
   3: zsh [158x42] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/60 9071 247 3412/3549, 4362246 bytes
98: 98: 2 windows (created Thu Feb 20 10:48:39 2014) [158x86] [flags=0x0]
   1: ranger [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/31 2910 147 5287/7964, 7864542 bytes
   2: zsh [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/49 25547 243 2780/2959, 1758330 bytes
99: 99: 3 windows (created Thu Feb 20 13:23:06 2014) [158x86] [flags=0x0]
   1: zsh [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/43 13246 174 9431/9490, 7712208 bytes
   2: zsh [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/32 24038 175 4392/4577, 3737230 bytes
   3: zsh [158x86] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/45 3544 185 322/356, 532084 bytes
0: scratch: 3 windows (created Mon Jan 27 11:09:09 2014) [99x48] [flags=0x0]
   1: zsh [99x48] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/0 6851 11 8095/9279, 7276612 bytes
   2: vim(todo.otl) [99x48] [flags=0x8, references=1, last layout=-1]
     0: /dev/pts/24 27095 74 76/76, 105322 bytes
   3: htop [99x48] [flags=0xa, references=1, last layout=-1]
     0: /dev/pts/15 14899 145 9480/10024, 9427110 bytes

Terminals:
rxvt-unicode-256color [references=23, flags=0x1]:
1: acsc: (string) +C,D-A.B0E``aaffgghFiGjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~
0: AX: [missing]
2: bel: (string) \007
3: blink: (string) \033[5m
4: bold: (string) \033[1m
5: civis: (string) \033[?25l
6: clear: (string) \033[H\033[2J
7: cnorm: (string) \033[?25h
8: colors: (number) 256
9: Cr: [missing]
10: Cs: (string) \033]12;%p1%s007
11: csr: (string) \033[%i%p1%d;%p2%dr
12: cub: (string) \033[%p1%dD
13: cub1: (string) \010
14: cud: (string) \033[%p1%dB
15: cud1: (string) \012
16: cuf: (string) \033[%p1%dC
17: cuf1: (string) \033[C
18: cup: (string) \033[%i%p1%d;%p2%dH
19: cuu: (string) \033[%p1%dA
20: cuu1: (string) \033[A
21: dch: (string) \033[%p1%dP
22: dch1: (string) \033[P
23: dim: [missing]
24: dl: (string) \033[%p1%dM
25: dl1: (string) \033[M
26: E3: [missing]
27: ech: (string) \033[%p1%dX
28: el: (string) \033[K
29: el1: (string) \033[1K
30: enacs: (string)
31: fsl: (string) \007
32: home: (string) \033[H
33: hpa: (string) \033[%i%p1%dG
34: ich: (string) \033[%p1%d@
35: ich1: (string) \033[@
36: il: (string) \033[%p1%dL
37: il1: (string) \033[L
38: invis: [missing]
39: is1: (string) \033[!p
40: is2: (string) \033[r\033[m\033[2J\033[?7;25h\033[?1;3;4;5;6;9;66;1000;1001;1049l\033[4l
41: is3: [missing]
42: kcbt: (string) \033[Z
43: kcub1: (string) \033[D
44: kcud1: (string) \033[B
45: kcuf1: (string) \033[C
46: kcuu1: (string) \033[A
47: kDC: (string) \033[3$
48: kDC3: [missing]
49: kDC4: [missing]
50: kDC5: [missing]
51: kDC6: [missing]
52: kDC7: [missing]
53: kdch1: (string) \033[3~
54: kDN: [missing]
55: kDN3: [missing]
56: kDN4: [missing]
57: kDN5: [missing]
58: kDN6: [missing]
59: kDN7: [missing]
60: kend: (string) \033[8~
61: kEND: (string) \033[8$
62: kEND3: [missing]
63: kEND4: [missing]
64: kEND5: [missing]
65: kEND6: [missing]
66: kEND7: [missing]
67: kf1: (string) \033[11~
68: kf10: (string) \033[21~
69: kf11: (string) \033[23~
70: kf12: (string) \033[24~
71: kf13: (string) \033[25~
72: kf14: (string) \033[26~
73: kf15: (string) \033[28~
74: kf16: (string) \033[29~
75: kf17: (string) \033[31~
76: kf18: (string) \033[32~
77: kf19: (string) \033[33~
78: kf2: (string) \033[12~
79: kf20: (string) \033[34~
80: kf3: (string) \033[13~
81: kf4: (string) \033[14~
82: kf5: (string) \033[15~
83: kf6: (string) \033[17~
84: kf7: (string) \033[18~
85: kf8: (string) \033[19~
86: kf9: (string) \033[20~
87: kHOM: (string) \033[7$
88: kHOM3: [missing]
89: kHOM4: [missing]
90: kHOM5: [missing]
91: kHOM6: [missing]
92: kHOM7: [missing]
93: khome: (string) \033[7~
94: kIC: (string) \033[2$
95: kIC3: [missing]
96: kIC4: [missing]
97: kIC5: [missing]
98: kIC6: [missing]
99: kIC7: [missing]
100: kich1: (string) \033[2~
101: kLFT: (string) \033[d
102: kLFT3: [missing]
103: kLFT4: [missing]
104: kLFT5: [missing]
105: kLFT6: [missing]
106: kLFT7: [missing]
107: kmous: (string) \033[M
108: knp: (string) \033[6~
109: kNXT: (string) \033[6$
110: kNXT3: [missing]
111: kNXT4: [missing]
112: kNXT5: [missing]
113: kNXT6: [missing]
114: kNXT7: [missing]
115: kpp: (string) \033[5~
116: kPRV: (string) \033[5$
117: kPRV3: [missing]
118: kPRV4: [missing]
119: kPRV5: [missing]
120: kPRV6: [missing]
121: kPRV7: [missing]
122: kRIT: (string) \033[c
123: kRIT3: [missing]
124: kRIT4: [missing]
125: kRIT5: [missing]
126: kRIT6: [missing]
127: kRIT7: [missing]
128: kUP: [missing]
129: kUP3: [missing]
130: kUP4: [missing]
131: kUP5: [missing]
132: kUP6: [missing]
133: kUP7: [missing]
134: Ms: (string) \033]52;%p1%s;%p2%s007
135: op: (string) \033[39;49m
136: rev: (string) \033[7m
137: ri: (string) \033M
138: rmacs: (string) \033(B
139: rmcup: (string) \033[r\033[?1049l
140: rmkx: (string) \033>
141: Se: [missing]
142: setab: (string) \033[48;5;%p1%dm
143: setaf: (string) \033[38;5;%p1%dm
144: sgr0: (string) \033[m\033(B
145: sitm: (string) \033[3m
146: smacs: (string) \033(0
147: smcup: (string) \033[?1049h
148: smkx: (string) \033=
149: smso: (string) \033[7m
150: smul: (string) \033[4m
151: Ss: (string) \033]777;Ss;%p1%d007
152: tsl: (string) \033]2;
153: vpa: (string) \033[%i%p1%dd
154: xenl: (flag) true
155: XT: (flag) true

Jobs:


-Jan
Jan Larres
2014-03-05 23:40:37 UTC
Permalink
Post by Nicholas Marriott
Do they increase as you use your run-shell M-hjkl bindings?
No, it happens without me doing anything. Now that I think about it the
rate may be related to my statusline update interval (1 second), but
unfortunately I can't test that any more as I had to restart tmux to be
able to continue working.

-Jan
Thomas Adam
2014-03-05 23:44:19 UTC
Permalink
Post by Jan Larres
Post by Nicholas Marriott
Do they increase as you use your run-shell M-hjkl bindings?
No, it happens without me doing anything. Now that I think about it the
rate may be related to my statusline update interval (1 second), but
unfortunately I can't test that any more as I had to restart tmux to be
able to continue working.
So take out the call to tmux-status as you have it declared at the
moment; does that make this go away?

-- Thomas Adam
Jan Larres
2014-03-06 01:00:16 UTC
Permalink
Post by Thomas Adam
Post by Jan Larres
No, it happens without me doing anything. Now that I think about it the
rate may be related to my statusline update interval (1 second), but
unfortunately I can't test that any more as I had to restart tmux to be
able to continue working.
So take out the call to tmux-status as you have it declared at the
moment; does that make this go away?
Like I said I had to restart tmux so I can't test that at the moment,
but I could try to reproduce it. I noticed though that in the current
development version the 'info' command doesn't seem to report the
session information any more, only the terminal information. That
command also isn't documented in the man page so I don't know if I need
any additional switches for that.

-Jan
Balazs Kezes
2014-03-06 02:42:50 UTC
Permalink
Post by Jan Larres
Like I said I had to restart tmux so I can't test that at the moment,
but I could try to reproduce it.
So when I do
set -g status-right "#(sleep 30)"
set -g status-interval 1
I see that tmux starts hoarding the sockets. So it possible that your
tmux-status is the culprit as you suspect although I haven't found any
obvious part in it which could hang in case of high load. If that is the
problem then maybe the hanged instances are still running if you haven't
rebooted your machine. Try "pgrep tmux-status" to check this. I'd
definitely suggest adding start/exit logging to your status script just
make sure we know it isn't that what hangs.

In any case, I think this is a bug which needs to be fixed.

But there's something peculiar in your case which isn't happening in my
Post by Jan Larres
tmux 6850 jan 340u unix 0xffff88004e367480 0t0 2886303145 socket
tmux 6850 jan 341u unix 0xffff8800c5c577c0 0t0 2886303152 socket
tmux 6850 jan 342u unix 0xffff88006b6c0080 0t0 2886303153 socket
tmux 6850 jan 343u unix 0xffff88006b6c0400 0t0 2886303154 socket
tmux 6850 jan 344u unix 0xffff88004e2e38c0 0t0 2886303155 socket
tmux 6850 jan 345u unix 0xffff880012806880 0t0 2886303170 socket
tmux 6850 jan 346u unix 0xffff88005406e740 0t0 2886303171 socket
tmux 6850 jan 347u unix 0xffff88006cdf5bc0 0t0 2258021114 socket
tmux 6850 jan 348u unix 0xffff88004e367800 0t0 2886303224 socket
tmux 6850 jan 349u unix 0xffff88004e367b80 0t0 2886303225 socket
tmux 6850 jan 350u unix 0xffff88005406eac0 0t0 2886303226 socket
tmux 6850 jan 351u unix 0xffff8800c5c57b40 0t0 2886303227 socket
tmux 6850 jan 352u unix 0xffff88006cdf54c0 0t0 2258021115 socket
tmux 6850 jan 353u unix 0xffff88006cdf5840 0t0 2258021128 socket
tmux 6850 jan 354u unix 0xffff8800accda040 0t0 2258021129 socket
The socket inodes are consecutive which isn't in my case thus this might
mean it's a different leak. If the tmux-status investigation fails I
suggest creating a debug tmux and running the server under "valgrind
--track-fds=yes" to determine where were the fds actually allocated in
order to narrow down the search area.
--
Balazs
Jan Larres
2014-03-07 06:52:42 UTC
Permalink
Post by Balazs Kezes
Post by Jan Larres
Like I said I had to restart tmux so I can't test that at the moment,
but I could try to reproduce it.
So when I do
set -g status-right "#(sleep 30)"
set -g status-interval 1
I see that tmux starts hoarding the sockets. So it possible that your
tmux-status is the culprit as you suspect although I haven't found any
obvious part in it which could hang in case of high load. If that is the
problem then maybe the hanged instances are still running if you haven't
rebooted your machine. Try "pgrep tmux-status" to check this. I'd
definitely suggest adding start/exit logging to your status script just
make sure we know it isn't that what hangs.
Are you seeing the sleep jobs in the 'Jobs:' output of 'tmux info'? I
didn't have any jobs there, but I don't know how to test it at the
moment since as I mentioned that section seems to be missing from my
info output in the current tmux revision.
Post by Balazs Kezes
The socket inodes are consecutive which isn't in my case thus this might
mean it's a different leak. If the tmux-status investigation fails I
suggest creating a debug tmux and running the server under "valgrind
--track-fds=yes" to determine where were the fds actually allocated in
order to narrow down the search area.
That sounds like an interesting idea, I'll have a look at that.

-Jan
Balazs Kezes
2014-03-07 23:44:19 UTC
Permalink
Post by Jan Larres
Are you seeing the sleep jobs in the 'Jobs:' output of 'tmux info'?
Ah, yes, I do see them in my case.
Post by Jan Larres
I didn't have any jobs there, but I don't know how to test it at the
moment since as I mentioned that section seems to be missing from my
info output in the current tmux revision.
The code is still there, just the output mechanism changed a bit: If you
don't have jobs, then nothing is printed. Just try "tmux run -b 'sleep
30'; tmux info" and you'll see one.
Post by Jan Larres
running the server under "valgrind --track-fds=yes"
That sounds like an interesting idea, I'll have a look at that.
Yes, and also add something like --log-file=~/valgrind.log to the
arguments. Do this when you can afford to restart your server. It might
slow down tmux but we get valuable logs in return. When you see too many
open fds already, quit the server and if all goes well (tmux doesn't
close them) then valgrind will dump the backtraces of their creation.
Don't forget to create a debug build of tmux before doing this!
--
Balazs
Jan Larres
2014-03-09 23:09:50 UTC
Permalink
Post by Balazs Kezes
Post by Jan Larres
Are you seeing the sleep jobs in the 'Jobs:' output of 'tmux info'?
Ah, yes, I do see them in my case.
Then I would guess that either this is not actually the cause or somehow
the descriptors do not get properly cleaned up even after the jobs
finish.
Post by Balazs Kezes
Post by Jan Larres
I didn't have any jobs there, but I don't know how to test it at the
moment since as I mentioned that section seems to be missing from my
info output in the current tmux revision.
The code is still there, just the output mechanism changed a bit: If you
don't have jobs, then nothing is printed. Just try "tmux run -b 'sleep
30'; tmux info" and you'll see one.
Right, I should have actually tested that. I do see the job list if I
put a sleep into the statusline.

-Jan
Pavlos Parissis
2014-04-07 11:54:20 UTC
Permalink
I am facing the same problem. I use tmux-powerline from github and I
initial worked around the problem by increasing the allowed fd on my user.
But the problem came backup. The powerline status doesn't display what it
should do and I am not able to connect from another client ( I am getting
open terminal failed: not a terminal)

I have attached tmux info, fd of client and server.

Let me know what I else I can do in order to help troubleshooting this.

Cheers,
Pavlos
Post by Jan Larres
Post by Balazs Kezes
Post by Jan Larres
Are you seeing the sleep jobs in the 'Jobs:' output of 'tmux info'?
Ah, yes, I do see them in my case.
Then I would guess that either this is not actually the cause or somehow
the descriptors do not get properly cleaned up even after the jobs
finish.
Post by Balazs Kezes
Post by Jan Larres
I didn't have any jobs there, but I don't know how to test it at the
moment since as I mentioned that section seems to be missing from my
info output in the current tmux revision.
The code is still there, just the output mechanism changed a bit: If you
don't have jobs, then nothing is printed. Just try "tmux run -b 'sleep
30'; tmux info" and you'll see one.
Right, I should have actually tested that. I do see the job list if I
put a sleep into the statusline.
-Jan
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to
Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries. Built-in WAN optimization and
the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
https://lists.sourceforge.net/lists/listinfo/tmux-users
Balazs Kezes
2014-04-12 20:49:17 UTC
Permalink
Post by Pavlos Parissis
Let me know what I else I can do in order to help troubleshooting this.
So I've skimmed the source again and now I've found an actual leak but
I'm not sure you are hitting this or not. If the fork() in job_run()
fails then tmux will definitely leak 2 fds. Is it possible that you have
low process limits or huge amounts of processes or too little memory to
fork?

Before fixing this particular leak here's what we can do to eliminate or
prove this theory for your case. Check out the latest sources and apply
the following to it:

diff --git a/job.c b/job.c
index d7bd852..027a21d 100644
--- a/job.c
+++ b/job.c
@@ -58,6 +58,7 @@ job_run(const char *cmd, struct session *s,

switch (pid = fork()) {
case -1:
+ open("/tmp/tmux_fork_proved", O_WRONLY|O_CREAT, 0666);
environ_free(&env);
return (NULL);
case 0: /* child */

Then recompile, install and restart your tmux server. When you start
seeing leaking fds again just check for the above file whether it exists
and then report back.

Thank you!
--
Balazs
Pavlos Parissis
2014-04-13 12:20:22 UTC
Permalink
Post by Balazs Kezes
Post by Pavlos Parissis
Let me know what I else I can do in order to help troubleshooting this.
So I've skimmed the source again and now I've found an actual leak but
I'm not sure you are hitting this or not. If the fork() in job_run()
fails then tmux will definitely leak 2 fds. Is it possible that you have
low process limits or huge amounts of processes or too little memory to
fork?
Before fixing this particular leak here's what we can do to eliminate or
prove this theory for your case. Check out the latest sources and apply
diff --git a/job.c b/job.c
index d7bd852..027a21d 100644
--- a/job.c
+++ b/job.c
@@ -58,6 +58,7 @@ job_run(const char *cmd, struct session *s,
switch (pid = fork()) {
+ open("/tmp/tmux_fork_proved", O_WRONLY|O_CREAT, 0666);
environ_free(&env);
return (NULL);
case 0: /* child */
Then recompile, install and restart your tmux server. When you start
seeing leaking fds again just check for the above file whether it exists
and then report back.
Thank you!
Patched applied, code was compiled, server was restarted and now I am
waiting.

Thanks,
Pavlos
Pavlos Parissis
2014-05-01 12:31:32 UTC
Permalink
Hi,
I left my tmux sessions live while I was away for 2 weeks and saw that the
tmux_fork_proved file was created.

Here are the info

pparissis at poseidonas in ~ *130
ls -ls /tmp/tmux_fork_proved
0 -rw-r--r-- 1 pparissis pparissis 0 Apr 15 05:37 /tmp/tmux_fork_proved
pparissis at poseidonas in ~
cat !$
cat /tmp/tmux_fork_proved
pparissis at poseidonas in ~

attached files
tmux.fd = lsof for tmux process
tmux.server.info = output of tmux info

I know that Nicholas has already reported that he fixed some leaks, but I
thought it could be useful for Kezes.

Cheers,
Pavlos
Post by Pavlos Parissis
Post by Balazs Kezes
Post by Pavlos Parissis
Let me know what I else I can do in order to help troubleshooting this.
So I've skimmed the source again and now I've found an actual leak but
I'm not sure you are hitting this or not. If the fork() in job_run()
fails then tmux will definitely leak 2 fds. Is it possible that you have
low process limits or huge amounts of processes or too little memory to
fork?
Before fixing this particular leak here's what we can do to eliminate or
prove this theory for your case. Check out the latest sources and apply
diff --git a/job.c b/job.c
index d7bd852..027a21d 100644
--- a/job.c
+++ b/job.c
@@ -58,6 +58,7 @@ job_run(const char *cmd, struct session *s,
switch (pid = fork()) {
+ open("/tmp/tmux_fork_proved", O_WRONLY|O_CREAT, 0666);
environ_free(&env);
return (NULL);
case 0: /* child */
Then recompile, install and restart your tmux server. When you start
seeing leaking fds again just check for the above file whether it exists
and then report back.
Thank you!
Patched applied, code was compiled, server was restarted and now I am
waiting.
Thanks,
Pavlos
Balazs Kezes
2014-05-01 14:21:42 UTC
Permalink
Post by Pavlos Parissis
I know that Nicholas has already reported that he fixed some leaks,
but I thought it could be useful for Kezes.
Awesome, thanks! Yes, the head version already contains the fix so we
can expect it to officially arrive in the next version.
--
Balazs
Pavlos Parissis
2014-04-13 14:15:47 UTC
Permalink
Post by Balazs Kezes
Post by Pavlos Parissis
Let me know what I else I can do in order to help troubleshooting this.
So I've skimmed the source again and now I've found an actual leak but
I'm not sure you are hitting this or not. If the fork() in job_run()
fails then tmux will definitely leak 2 fds. Is it possible that you have
low process limits or huge amounts of processes or too little memory to
fork?
I had the issue while file descriptor limit was set to 65K per user and
on systems with 8G and 16G of RAM. The issue started happening after I
moved to 1.8/1.9a releases.


Cheers,
Pavlos
Jan Larres
2014-04-13 23:57:41 UTC
Permalink
Post by Balazs Kezes
So I've skimmed the source again and now I've found an actual leak but
I'm not sure you are hitting this or not. If the fork() in job_run()
fails then tmux will definitely leak 2 fds. Is it possible that you have
low process limits or huge amounts of processes or too little memory to
fork?
I usually hit the problem when my machine becomes unresponsive for a
while due to heavy swapping when starting a memory-heavy process. I'm
not sure if that could cause fork() to fail, but it sounds like a
possibility.

-Jan
Balazs Kezes
2014-04-14 20:14:49 UTC
Permalink
Post by Jan Larres
I usually hit the problem when my machine becomes unresponsive for a
while due to heavy swapping when starting a memory-heavy process. I'm
not sure if that could cause fork() to fail, but it sounds like a
possibility.
Yeah. If you have large amounts of windows/panes all with large
scrollbacks then tmux can easily eat hundreds of MBs of memory.
Depending on your kernel's memory accounting settings (like the
overcommit setting) the kernel can decide that it will not allow the
fork to succeed but I don't know the details. Do you remember how big
was your tmux server and how much free RAM did you have when you seen
the problems?
--
Balazs
Jan Larres
2014-04-14 22:58:07 UTC
Permalink
Post by Balazs Kezes
Post by Jan Larres
I usually hit the problem when my machine becomes unresponsive for a
while due to heavy swapping when starting a memory-heavy process. I'm
not sure if that could cause fork() to fail, but it sounds like a
possibility.
Yeah. If you have large amounts of windows/panes all with large
scrollbacks then tmux can easily eat hundreds of MBs of memory.
Depending on your kernel's memory accounting settings (like the
overcommit setting) the kernel can decide that it will not allow the
fork to succeed but I don't know the details. Do you remember how big
was your tmux server and how much free RAM did you have when you seen
the problems?
I don't remember the exact numbers, but I do remember that often (or
maybe even always, not sure) when this happened and I tried to open a
new window it would fail with the message "failed to allocate memory"
until I closed a few other windows, which sounds like your guess would
be correct.

-Jan
Nicholas Marriott
2014-04-14 22:28:04 UTC
Permalink
i have fixed this leak, cheers
Post by Balazs Kezes
Post by Pavlos Parissis
Let me know what I else I can do in order to help troubleshooting this.
So I've skimmed the source again and now I've found an actual leak but
I'm not sure you are hitting this or not. If the fork() in job_run()
fails then tmux will definitely leak 2 fds. Is it possible that you have
low process limits or huge amounts of processes or too little memory to
fork?
Before fixing this particular leak here's what we can do to eliminate or
prove this theory for your case. Check out the latest sources and apply
diff --git a/job.c b/job.c
index d7bd852..027a21d 100644
--- a/job.c
+++ b/job.c
@@ -58,6 +58,7 @@ job_run(const char *cmd, struct session *s,
switch (pid = fork()) {
+ open("/tmp/tmux_fork_proved", O_WRONLY|O_CREAT, 0666);
environ_free(&env);
return (NULL);
case 0: /* child */
Then recompile, install and restart your tmux server. When you start
seeing leaking fds again just check for the above file whether it exists
and then report back.
Thank you!
--
Balazs
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
tmux-users mailing list
https://lists.sourceforge.net/lists/listinfo/tmux-users
Jan Larres
2014-04-14 22:59:35 UTC
Permalink
Post by Nicholas Marriott
i have fixed this leak, cheers
Great, thank you!

-Jan
Nicholas Marriott
2014-03-06 08:08:06 UTC
Permalink
Email me the script you are running with #() in the status line please.
Post by Jan Larres
Post by Thomas Adam
Post by Jan Larres
No, it happens without me doing anything. Now that I think about it the
rate may be related to my statusline update interval (1 second), but
unfortunately I can't test that any more as I had to restart tmux to be
able to continue working.
So take out the call to tmux-status as you have it declared at the
moment; does that make this go away?
Like I said I had to restart tmux so I can't test that at the moment,
but I could try to reproduce it. I noticed though that in the current
development version the 'info' command doesn't seem to report the
session information any more, only the terminal information. That
command also isn't documented in the man page so I don't know if I need
any additional switches for that.
-Jan
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries. Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
https://lists.sourceforge.net/lists/listinfo/tmux-users
Jan Larres
2014-03-07 06:57:31 UTC
Permalink
Post by Nicholas Marriott
Email me the script you are running with #() in the status line please.
That script is right here together with the other tmux configuration:
https://github.com/majutsushi/etc/tree/master/tmux
The lib directory in there contains the individual functions that can be
called by the script.

The contents of the local tmux-statusrc script are:

ITEMS="cputemp battery"
TEMP_DEVICES="/sys/class/hwmon/hwmon1/device/temp1_input"

Thanks,

-Jan
Loading...