Raspberry Pi 3没有回复

时间:2017-10-12 09:35:52

标签: linux raspberry-pi raspbian

今天,我有一个在Rasbian下的RPI3。 电源线为2.5A,温度约为39/40°C(我有一个风扇)

我的问题是:我的Raspberry Pi 3连接到我的盒子,它用作Web服务器。现在它的工作“完美”。但有时 - 这就是问题 - Pi没有回应。

我的意思是我的所有网站都是“离线”,我无法通过本地SSH连接,我唯一需要做的就是通过删除电线“强制”重新启动它。 之后一切都很好。

实际上,我不知道在哪里寻找。由于电线和温度对,它不能是硬件问题吗?

这是一个软件问题吗?如果是,我怎么知道冻结了哪个设备?

2 个答案:

答案 0 :(得分:0)

Plug in a monitor and look what happened. Maybe you see a kernel panic or kernel oops on the screen, maybe you can just login on the terminal and look what happened (maybe the network is down for some reason).

If everything freezes without visible error on the console, add more logging. install a munin, use verbose logging for all services you're using and read the logs after the freeze and look at the munin graphs what happened (i.e. if there is a memleak, you probably see it in the memory graph before everything freezes).

答案 1 :(得分:0)

Using dmesg would not work after you reboot, so maybe you can find a software-related error in /var/log/kern.log. Since raspbian is based on debian, I would expect to find kernel logs here.

I would add this as a comment, but I don't have enough reputation yet.