I was having trouble with my tmux sessions, I was getting messages like:
-bash: fork: retry: Resource temporarily unavailable
-bash: fork: retry: Resource temporarily unavailable
being spammed when I would type any commands, so I killed my sessions, disconnected and reconnected to the login node. Now I get the same messages when I try to use bash-completion on module names, e.g. typing “module load gTAB” which should attempt to list modules starting with letter “g”, I get:
module load g-bash: fork: retry: Resource temporarily unavailable
-bash: fork: retry: Resource temporarily unavailable
and then it hangs. If I load a module without using bash-completion, and then try running the command, I just get some random characters printed to the terminal
(base) [sagendor@discovery2 ~]$ module load tmux
(base) [sagendor@discovery2 ~]$ tmux ls
no server running on /scratch2/sagendor/tmux-214701/default
(base) [sagendor@discovery2 ~]$ tmux
(base) [sagendor@discovery2 ~]$ 62;9;c