Answer the question
In order to leave comments, you need to log in
Raspberry hangs, how to understand what's wrong?
Good afternoon, there is Raspberry, a program written by me in Python, a small server on flask.
Sometimes once every 1 day/week it is not at all clear why the Raspberry freezes hard, only a power reset helps.
Symptoms when it freezes:
1. The green and red LEDs are on. During normal operation, the green LED blinks infrequently.
2. Can't connect to my server
3. Can't connect via ssh. It's like the server is offline.
3. Lan flashes - there seems to be a connection.
There is no way to connect the screen to hdmi. Therefore, it is not clear to see whether the raspberry is actually hung or not.
What to watch? Where to dig?
Answer the question
In order to leave comments, you need to log in
View logs.
If there is nothing in the logs, then iron is the fastest.
First, check if your Raspberry chips are overheating - if they have sufficient cooling.
Try to eliminate overheating by hanging radiators.
My Raspi freezes when it runs out of RAM and linux tries to use the swap file. Perhaps you also have some kind of memory problem, some kind of structure is very swollen in size. In C++, memory leaks are even easier to get
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question