top | item 23474821

(no title)

no_gravity | 5 years ago

My PI is too cool. It freezes.

I have playing with a PI Zero W over the last weeks. At first everything worked as expected.

But now it developed some strange "hangings" I cannot explain. It kinda randomly freezes in time for a few minutes every now and then.

Sometimes it takes several minutes to ssh into it. Sometimes, the terminal just freezes for several minutes.

Neither top nor iostat seem to show any elevated activity during these periods. Since they hang throughout the freeze, its a bit hard to say though.

The strangest thing: Pings to the PI always come back fast. So its probably not that the hardware really freezes completely.

discuss

order

mszcz|5 years ago

Have you tried replacing the SD card with a fresh one with a fresh install and checking if this still occurs? I've had a somewhat similar problem and it turned out to be a dying SD card.

no_gravity|5 years ago

I will try that. At first I would like to see if I can find the problem. I would have thought that when the SD card is not responding, it would show up as "wa" in top and "%util" in iostat -x. But both are zero for the next output after a freeze.

dsun179|5 years ago

I had a similar problem. For me the reason was that I used a cheap charger with too less power.

no_gravity|5 years ago

Just exchanged the charger .. the hanging still occurs.

jstanley|5 years ago

I've had this sort of issue caused by bad SD cards. Basically anything that touches the disk can block for several seconds sometimes.

xrmagnum|5 years ago

Is your hostname added to /etc/hosts?

bmurphy1976|5 years ago

Sounds like a crappy sdcard to me. I tossed an older one out recently that would randomly stall during io operations.

tleb_|5 years ago

Could strace on the ssh server help you? You would know if it's a disk issue.