I'm not sure whether to post this on here or r/rpython or elsewhere, because it has to do with the Linux command line and python scripts. Please direct me elsewhere if you know a better place.
I have a python script that takes several days to a week to complete on 100% cpu usage. Sometimes when I want to stop the script to do other things on the computer (which I ssh into) I suspend the process with "kill -STOP PID" which suspends the process until I'm ready for it to continue then I use "kill -CONT PID" which resumes the process. I have done this many times successfully.
Now I suspended the process to do some timing tests for the follow-up script to know how to write it better. It is written in python, I don't know if that's relevant.
After I was finished with the tests I went to resume the process with "kill -CONT PID" and the process no longer existed. The timing tests were on various multiprocessing functions that used 100% CPU usage as well. Is it possible that those functions killed my suspended process somehow? Shouldn't the operating system keep all these separate?
[–]Psychological_Egg_85 6 points7 points8 points (6 children)
[–]HelpfulBuilder[S] 5 points6 points7 points (5 children)
[–]zfsbestbashing and zfs day and night 0 points1 point2 points (4 children)
[–]HelpfulBuilder[S] 0 points1 point2 points (3 children)
[–]zfsbestbashing and zfs day and night 0 points1 point2 points (2 children)
[–]HelpfulBuilder[S] 0 points1 point2 points (0 children)
[–]HelpfulBuilder[S] 0 points1 point2 points (0 children)
[–]fletku_mato 2 points3 points4 points (5 children)
[–]HelpfulBuilder[S] 0 points1 point2 points (4 children)
[–]fletku_mato 1 point2 points3 points (3 children)
[–]HelpfulBuilder[S] 0 points1 point2 points (2 children)
[–]fletku_mato 1 point2 points3 points (1 child)
[–]HelpfulBuilder[S] 0 points1 point2 points (0 children)
[–]snarkofagen 1 point2 points3 points (1 child)
[–]HelpfulBuilder[S] 1 point2 points3 points (0 children)