I use screen to run a script which will run for several days (It will train some neural nets). In general it's working.

However, it appears that screen and all processes started in the screen session stops working after some time. This means the processes still exist but they seem to sleep. After reattaching with the screen session (screen -r) the processes continue.

Any idea why the processes take a break?

  • 1
    ask your sysadmin – Ipor Sircer Feb 19 '18 at 17:44
  • Yes, ask your sysadmin. It may be that there is some sort of script running that will pause long-running jobs on the server that you're using. Make sure that you are using the resource in an appropriate way. – Kusalananda Feb 19 '18 at 17:49
  • Could this be related to the stdout and (potentially) entering copy mode? I've found that when I look back over terminal output from a process that is still running, that process can sometimes sleep. Be sure that, if you're running it "interactively", that you're not in copy-mode. Perhaps when you reconnect the session, you have exited copy-mode, so it resumes? – Dave May 31 '18 at 9:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.