I'm correctly investigating an issue with a Flask application which I run with gunicorn on AWS. The problem is that the function seems not to be fully executed. It just runs to a point where it loads a big CSV file into a pandas dataframe and then it seems to break up.
When I run it locally, things work fine. When I run it on AWS, I see
[2019-05-23 12:00:25 +0000] [20] [INFO] Booting worker with pid: 20
after a while when the request seems to stop.
Why does gunicorn boot that worker? What happened to the worker before? (edit: I start a new thread for the long-running part ... can that be related?)