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


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

Reply via email to