Closed HenrikBengtsson closed 2 years ago
Implemented:
quit()
in R), or from timing out
because it has been idle for more than two hours. In other words,
the default behavior is to automatically shut down everything after
the user having been idle for more than 125 minutes.
Idea
There is a built-in mechanism for timing out
rsession
which we make use of. There is none for therserver
process itself.What we could do is to run a monitor process in parallel that:
rserver
process and any reverse SSH connection. This should result thersc start
process terminating.This is useful for not leaving behind stray
rsc
sessions on devel nodes and elsewhere.