So, I have a sudoer account in a remote host, in which I create a process with thousands of threads and sockets. The thing is, if I create too many threads/sockets (not sure which one, it might even be some other limit), I get locked out of the host: my ssh connection is lost and, if I try to ssh back in, I get a
Write failed: Broken pipe error message.
How can I get back into the system, other than asking some other user to
sudo killall -9 -u myusername in that machine? The host is normally accessible to other users.