Bug 458306

Summary: ksysguardd reported unrealistic value for one of the cpu/cpu,*/TotalLoad sensors
Product: [Unmaintained] ksysguard Reporter: Alex Kh <khalukhin>
Component: ksysguarddAssignee: KSysGuard Developers <ksysguard-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: plasma-bugs-null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot

Description Alex Kh 2022-08-25 17:27:30 UTC
Created attachment 151588 [details]
screenshot

SUMMARY
On some rare occasions gsysguard receives some very high value for CPU utilization for one of the CPU cores. That value exceeds what it can be in real life. If user has a plot, where he prints together all the CPUs utilization together, this  sudden spike makes the plot to dynamically change its scale, which in turn makes further readings from the plot impossible, until the spike goes away into history and plot scale returns back to normal on its own.

See screenshot please - the insane high value came from gsysguardd was  3e+19%

IMHO, for the sensors/metrics we know the physical limit (like this one - total load for CPU cannot physically exceed 100%) there should be some simple protection in place, like to report the MAX value when the sensor' readings ksysguardd gets is unreliable. Freezing the scale on front end side is the workaround off course, but you discover this option only after this bug plays a trick on you :) 

SOFTWARE/OS VERSIONS
System monitor version 5.20.5 
KDE Frameworks 5.78.0
Qt 5.15.2 (built against 5.15.2)
The xcb windowing system
ksysguard 4:5.20.5-2 arm64
ksysguardd 4:5.20.5-2 arm64
CPU is ARM RockChip RK3399
Linux kernel 5.18.5-rk3399
Comment 1 Christoph Cullmann 2024-09-23 20:59:42 UTC
ksysguard is no longer maintained, in Plasma 6 there is the Plasma system monitor for this task.

If your issue still happens with the Plasma 6 replacement, please re-open and we can move this bug to the new product, thanks!