I have about 1 million files (which are output simulation outputs). I want to store a specific information of them within one file. I have a for loop which goes to 1M. I put a counter to track the state of the for loop. It will be killed some where between 875000 and 900000. I thought that it may be a space problem.
When I run df -h or df /, I have about 68G available.
What are other possible reasons that a Python script may be killed? How can I explore it more?