From: Steven Rostedt <rostedt@goodmis.org>
To: ying chen <yc1082463@gmail.com>
Cc: "mingo@redhat.com" <mingo@redhat.com>,
peterz@infradead.org, juri.lelli@redhat.com,
vincent.guittot@linaro.org, linux-kernel@vger.kernel.org,
dietmar.eggemann@arm.com, bsegall@google.com, mgorman@suse.de,
bristot@redhat.com, vschneid@redhat.com
Subject: Re: [bug report, 6.1.52] /proc/loadavg shows incorrect values
Date: Sun, 23 Mar 2025 14:03:58 -0400 [thread overview]
Message-ID: <20250323140358.61c1ad10@batman.local.home> (raw)
In-Reply-To: <CAN2Y7hyM6pAupptUZx-cQsbTimxYSYKinyrSGBLYq5i3Dbxmgw@mail.gmail.com>
On Sun, 23 Mar 2025 20:45:51 +0800
ying chen <yc1082463@gmail.com> wrote:
> Hello everyone. Have you ever encountered a similar situation?
>
> On Tue, Mar 18, 2025 at 9:54 PM ying chen <yc1082463@gmail.com> wrote:
> >
> > Hello all,
> >
> > In our production environment, "cat /proc/loadavg" shows incorrect
> > huge values. The kernel version is 6.1.52. So far, at least four such
> > cases have been found. It seems to be a kernel bug.
> >
> > ~$ cat /proc/loadavg
> > 4294967392.49 4294967395.80 4294967395.83 87/16100 2341720
> >
> > top output is below:
> >
> > top - 21:12:13 up 191 days, 20:50, 1 user, load average:
> > 4294967397.45, 4294967396.82, 4294967396.15
4294967397 = 0x100000065
Which looks like some calculation overflowed.
191 day uptime is quite long (I reboot to update my kernel every
month). Perhaps there's something there that caused an overflow.
Interestingly in 5.14, some values were converted from long to int. Not
sure if there was anything there that could have caused this.
Just something to look at.
-- Steve
> > Tasks: 2388 total, 3 running, 1208 sleeping, 0 stopped, 0 zombie
> > %Cpu(s): 27.9 us, 6.7 sy, 0.0 ni, 57.3 id, 0.5 wa, 1.7 hi, 5.8 si, 0.0 st
> > KiB Mem : 99966995+total, 56704217+free, 22655678+used, 20607096+buff/cache
> > KiB Swap: 0 total, 0 free, 0 used. 68817177+avail Mem
next prev parent reply other threads:[~2025-03-23 18:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-18 13:54 ying chen
2025-03-23 12:45 ` ying chen
2025-03-23 18:03 ` Steven Rostedt [this message]
2025-03-24 2:31 ` ying chen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250323140358.61c1ad10@batman.local.home \
--to=rostedt@goodmis.org \
--cc=bristot@redhat.com \
--cc=bsegall@google.com \
--cc=dietmar.eggemann@arm.com \
--cc=juri.lelli@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mgorman@suse.de \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=vincent.guittot@linaro.org \
--cc=vschneid@redhat.com \
--cc=yc1082463@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®