PI won't restart / 100% CPU
-
This might not be the perfect forum for my question but I guess I am not the only one here running domoticz on a raspberry pi (B in my case) as a controller for mysensors. Everything was working fine for me for more than half a year but recently I noticed that my pi was running at around 100% cpu utilization for some months (according to the sensor data in domoticz).
I coudn't ssh to it (using putty from windows I got some software error message), so I tried to restart it using the panel in domoticz. I guess that just restarts the software though, anyways it did not help. So I tried to restart it by pulling the power and now it won't start up anymore. The power led is constantly on (red) and one other flashes 2 times (twice) and then stays off. Google told me this means the sd card can't be read. I had some similar issues when installing the system where it was running without any problems until I tried to restart. Since then it's been running without problems (but also without a restart).
Any ideas how to fix this?
-
I have seen some issues on Domoticz forum about some versions causing 100% CPU (bugs).
Maybe you can verify you dont run one of those versions...If you pulled the power without using any command, you have probably corrupted the sd-card. The storage is pretty sensitive to power issues. You need to take the sd-card out, format it and reflash domoticz.
-
@sundberg84 Yes, thank you. I have just reflashed to another sd card hoping that it runs fine now (and it does for now). I will check the domoticz version later. I am currently running 2.3530, although I don't know if thats the same one as before the crash.
I just did not know what else to do when I cound't reach the pi via ssh^^ Bad idea I guess.
Suggested Topics
-
Vera Gateway Versions
Troubleshooting • 29 Mar 2014, 19:59 • karenbobiv 30 Mar 2014, 07:20 -
Node update on value from Domoticz
Domoticz • 30 Jul 2023, 19:19 • zboblamont 7 Aug 2023, 14:33 -
Roller shutter(s_cover) on Domoticz
Domoticz • 5 Aug 2019, 08:43 • Tmaster 21 Jun 2022, 20:48 -
Questions about an old setup
Domoticz • 4 May 2022, 02:55 • dbemowsk 9 May 2022, 17:30 -
eventsystem: problem writing file
Domoticz • 27 Feb 2022, 00:11 • Feliw05 27 Feb 2022, 17:50 -
Blockley in Domoticz-not working correctly. Anyone know how to fix.... ?
Domoticz • 15 Nov 2021, 23:07 • Bren 21 Nov 2021, 18:09