Do they increase as you use your run-shell M-hjkl bindings?

-------- Original message --------
From: Jan Larres <j...@majutsushi.net> 
Date: 05/03/2014  04:23  (GMT+00:00) 
To: tmux-users@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


------------------------------------------------------------------------------
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
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users
------------------------------------------------------------------------------
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
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to