Today logged on to a HPC facility to check on my tmux sessions. Did a tmux ls and it successfully listed all the sessions. But when I tried to attach to a session, it hung! So I opened another ssh session to the HPC facility and ran tmux ls and it hung too! Basically any tmux command now hangs. I was succesfully able to kill the hung commands but am afraid to kill the main tmux process as it may wipe all my 12 sessions. The sessions take a long time to set up. I can however see in the monitoring tools that the processes spawned inside tmux are still running. So anyway I can get tmux to respond back normally without killing it? Would really appreciate it.
Thanks!
strace tmux lsand check where it is hanging. In case this itself hangs, you can go to a new SSH session and trystrace -p <TMUX LS PID>where you have to use the