M
M
Mikhail2019-02-25 22:10:56
Python
Mikhail, 2019-02-25 22:10:56

Why does Flask often crash on a development server, but not produce traceback errors?

Actually. Interestingly, with Django, an order of magnitude smaller site falls.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Z
Zanak, 2019-02-26
@lightarhont

First tip: use the search, in this case, searching for "flask debug on", or similar criteria can help.
Usually turning on debugging and studying the logs helps.
You can try to advise to monitor memory usage. I'm not 100% sure, but in one of my projects, the process quietly fell when it ran into memory, and optimization on this matter helped solve the problem.
If the server is behind apache/nginx, take a look at their logs, sometimes it's useful.
I can hardly offer more meaningful ideas without seeing the code.

D
Dimonchik, 2019-02-25
@dimonchik2013

as they nailed, so it keeps (c)
i.e. how they cheated

P
Pasechnik Kuzmich, 2019-02-26
@Hivemaster

I don't fall. And if this does happen, the logs always have all the necessary information.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question