How to Debug Flask API Web Service Crashing

We have a web service that is a Flask app that keeps crashing and restarting. We thought maybe it was running out of memory, so we upgraded the plan, but even after upgrading to an amount of memory which seems more than enough relative to what is showing up on the metrics graph, it is still happening.

What should we do to help debug the cause of this? The logs don’t show anything that is a cause of shutdown, only a line for “Starting service…”, and other attempts to get something to show up in the logs have not worked either.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.