Bug 29253 - Weird output in load average in the 'top' command
Summary: Weird output in load average in the 'top' command
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL: https://gitlab.com/procps-ng/procps/-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-13 17:32 CEST by Stig-Ørjan Smelror
Modified: 2021-07-15 23:23 CEST (History)
2 users (show)

See Also:
Source RPM: procps-ng-3.3.17-1.mga9.src.rpm
CVE:
Status comment:


Attachments
Weird 'load average' output in top (114.16 KB, image/png)
2021-07-13 17:33 CEST, Stig-Ørjan Smelror
Details

Description Stig-Ørjan Smelror 2021-07-13 17:32:55 CEST
Please see attached screenshot.

As you can see, my load averages are in the millions...
Comment 1 Stig-Ørjan Smelror 2021-07-13 17:33:27 CEST
Created attachment 12859 [details]
Weird 'load average' output in top
Comment 2 Stig-Ørjan Smelror 2021-07-13 17:43:48 CEST
https://gitlab.com/procps-ng/procps/-/issues/214
Comment 3 Aurelien Oudelet 2021-07-13 23:00:16 CEST
Hi, thanks reporting this.

Here is:
$ inxi -Sxx
System:    Host: mageia.local Kernel: 5.10.48-desktop-1.mga8 x86_64 bits: 64 compiler: gcc v: 10.3.0 
           Desktop: KDE Plasma 5.20.4 tk: Qt 5.15.2 wm: kwin_x11 dm: SDDM Distro: Mageia 8 mga8

$ top
> top - 22:55:30 up  1:20,  2 users,  load average: 0,80, 0,74, 0,74

OK. No such strange numbers...
I don't really know why you get such numbers, as you reported that compiling this utility from sources, it is same.

@Stig, you did mention on upstream report that you use Cauldron with a 5.10.46 Kernel... This is a Mageia 8 Kernel. I'am not affected, nor upstream dev.

Can you confirm which kernel version you use?

CC: (none) => ouaurelien

Comment 4 Stig-Ørjan Smelror 2021-07-13 23:11:35 CEST
Yes, I'm using a custom kernel because the Cauldron kernel has issues that I haven't reported yet.

Cheers,
Stig
Comment 5 Lewis Smith 2021-07-15 21:07:25 CEST
@Stig : thank you for the screenshot, & upstream ref.

Following Stig's upstream bug report (comment 2, worth reading)), I think this bug is now invalid.
> [Jim] I just tried the Mageia-8 (5.10.48 kernel) top (3.3.16)
> and everything was fine
>_
> [Stig] After an update to 5.10.49 I no longer see the same issue.
> However, I now see, on an idle system, load averages of 48.x
> with the same numbers in /proc/loadavg.
> Have to mention that the kernel I'm using is a custom kernel
>_
> [Jim] I went on to also test against a Mageia-8 5.10.46 kernel
> with no problems found.
> Anyway, it sounds like we're beginning to hold top blameless
>_
> [Stig] I've just booted in to kernel 5.13.1, the official
> Mageia Cauldron kernel, and the output is as expected and correct.
> Something else is happening here
On my M8 system with kernel 5.10.46-desktop-1.mga8:
 top - 20:49:57 up 23 min,  1 user,  load average: 0.13, 0.28, 0.34
 $ cat /proc/loadavg
 0.64 0.40 0.38 3/471 9372

If others agree, let's close this.

Ever confirmed: 1 => 0
URL: (none) => https://gitlab.com/procps-ng/procps/-/issues/214
CC: (none) => lewyssmith
Status: NEW => UNCONFIRMED

Comment 6 Aurelien Oudelet 2021-07-15 23:23:36 CEST
Cauldron kernel.

Newer seems to not affected

(In reply to Lewis Smith from comment #5)
> > [Stig] I've just booted in to kernel 5.13.1, the official
> > Mageia Cauldron kernel, and the output is as expected and correct.
> > Something else is happening here
> On my M8 system with kernel 5.10.46-desktop-1.mga8:
>  top - 20:49:57 up 23 min,  1 user,  load average: 0.13, 0.28, 0.34
>  $ cat /proc/loadavg
>  0.64 0.40 0.38 3/471 9372
> 
> If others agree, let's close this.

Agree this.
Closed upstream.

Resolution: (none) => INVALID
Status: UNCONFIRMED => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.