问题 Gunicorn is sometimes crashing my server, actually exiting the Python interpreter with sys.exit(1) ! Why is this? Note that the failure is not always at the same point. In the two cases shown below, there is a different last codeline before gunicorn's exit . This code running here is openpyxl , which should not be causing interpreter shutdown! Is the server running out of memory? Some other cause? (This is Flask on Gunicorn on Docker in Google Container Engine.) Case 1 File "/virtualenv_for