njfaria / SolPipLog

Logger for the PIP Inverter series ( USB / RS232 version )
Apache License 2.0
86 stars 32 forks source link

High CPU with Raspberry 4 #30

Closed AndyMuc72 closed 4 years ago

AndyMuc72 commented 4 years ago

Hello, I like your tool SolPipLog and so far everything was good. For some time I realized that on my Raspberry 4 solpiplog uses more and more CPU until 100% and only a reboot of the Raspberry or ending SolPipLog ends this. I use an autostart with /etc/init.d. Maybe you know some explanation for this behavior

grafik

AndyMuc72 commented 4 years ago

I use TightVNC to start the virtual desktop on startup of the Raspberry. I was wondering on my Raspberry 3 why solpiplog always crashed. After I changed to the Raspberry 4 I have now every day a 100% CPU. In htop (picture above) it seems like that a lot of processes have been started, but with the command 'ps aux |grep solpiplog' I only see one process. So I cannot kill any process. Only a restart solves the problem for some hours and the problem occurs again. I use the Image 'Openhabian' and I do not have a desktop installed.

Does anybody start solpiplog like this? Anyone else has the same problem oder maybe a solution? or How do you autostart solpiplog on linux without a desktop installed?

I would be grateful for some help.

I solved the problem right now, because solpiplog ist running from a desktop and not from the commandline anymore. I still have 33% of CPU. Is that normal?