Stuck with high CPU usage after some days until restarted
Posted: Sun 08 Nov 2020 4:34 pm
Hi
I have had problems with Cumulus MX processes suddenly using 100%+ CPU and staying there. It usually happens after it's been running a few days and has been happening with all releases in the last 6 months or so from when I started using it. Cumulus still continues to work normally and I only notice there's a problem when I check the CPU usage on the server. The problem can occur multiple times so for example after a few days the Cumulus MX CPU usage will be shown as 100% but if left to run then after a few more days it will get stuck at 200% then 300% (as displayed by htop). When running normally it uses 1-2%.
The server is running Slackware Linux on an i5-4570 with mono 6.10.0.104 currently but it also happened with older versions of mono. The weather station is a USB Fine Offset WH1080. Synchronise Fine Offset reads is enabled in the settings.
I enabled extra logging in Cumulus but that doesn't show any error messages at the times when the CPU usage jumps up. I also have the CPU usage graphed so I can see exactly what times it happens. There are also no errors shows at those times in dmesg or in syslog so it's not a USB problem.
I have attached the MXdiags log from the last run where the CPU usage jumped up at the following times:
2020-11-06 14:00 - 100%
2020-11-07 17:50 - 200%
2020-11-08 07:50 - 300%
I can't see any errors in there at those times.
I have had problems with Cumulus MX processes suddenly using 100%+ CPU and staying there. It usually happens after it's been running a few days and has been happening with all releases in the last 6 months or so from when I started using it. Cumulus still continues to work normally and I only notice there's a problem when I check the CPU usage on the server. The problem can occur multiple times so for example after a few days the Cumulus MX CPU usage will be shown as 100% but if left to run then after a few more days it will get stuck at 200% then 300% (as displayed by htop). When running normally it uses 1-2%.
The server is running Slackware Linux on an i5-4570 with mono 6.10.0.104 currently but it also happened with older versions of mono. The weather station is a USB Fine Offset WH1080. Synchronise Fine Offset reads is enabled in the settings.
I enabled extra logging in Cumulus but that doesn't show any error messages at the times when the CPU usage jumps up. I also have the CPU usage graphed so I can see exactly what times it happens. There are also no errors shows at those times in dmesg or in syslog so it's not a USB problem.
I have attached the MXdiags log from the last run where the CPU usage jumped up at the following times:
2020-11-06 14:00 - 100%
2020-11-07 17:50 - 200%
2020-11-08 07:50 - 300%
I can't see any errors in there at those times.