Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Oct 2023 23:16:47 +0200
From:      Mateusz Guzik <mjguzik@gmail.com>
To:        Graham Perrin <grahamperrin@gmail.com>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: kernel 100% CPU
Message-ID:  <CAGudoHFc2JZpffmqRpmtdBzpGJhnWgz6QBgP2nD%2BrBJzfs8_DQ@mail.gmail.com>
In-Reply-To: <84712139-f7d8-41b5-a122-7ab1b24ffd61@gmail.com>
References:  <95e9f65b-58c4-ef3a-a5d1-b794179e4252@gmail.com> <CAGudoHG%2B4wT-MCP=zE4VqdJYJwTKSLf8GfARvQbGwKZw%2Bz8F_g@mail.gmail.com> <d2e5951a-7c6c-f450-eacc-d8e4f6446118@gmail.com> <CAGudoHEhNG2e2J7Cb2w0EKZ7p_cdq0hie_s67AHCj7x8hfw8SA@mail.gmail.com> <23c596e7-d710-c17d-a4e7-b21c99a4fe00@gmail.com> <CAGudoHFZUXcmM6DdnkWHAsxfjF5DVnjE5YT5mPA%2Bjjs12-JGzg@mail.gmail.com> <5528e510-2d79-ebc9-b3f4-79d5fb80f38f@gmail.com> <CAGudoHHcEgnZMbyGPZgaOum7wVr8wvhHDE%2B7nXVqVttpgAh_rg@mail.gmail.com> <84712139-f7d8-41b5-a122-7ab1b24ffd61@gmail.com>

index | next in thread | previous in thread | raw e-mail

On 10/14/23, Graham Perrin <grahamperrin@gmail.com> wrote:
> On 03/09/2023 20:25, Mateusz Guzik wrote:
>
>> …
>>
>> Sorry mate, neglected to specify: collect sysctl -a once you run into
>> the problem.
>>
>> Once I look at that I'm probably going to ship some debug patches to
>> narrow it down.
>
>
> I had what might be the same issue this afternoon, for the first time in
> weeks. With the slowdown, it took a few minutes for me to find your
> email, unfortunately the symptoms subsided moments before finding it.
>
> So, I collected the information, but it's probably another missed
> opportunity (the information collected too late).
>
> The busy period lasted for around six minutes:
>
> root@mowa219-gjp4-8570p-freebsd:~ # poudriere bulk -j main -J 3 -Ctv
> devel/pkgconf
> [00:00:00] Creating the reference jail... done
> [00:00:01] Mounting system devices for main-default
> [00:00:02] Warning: Using packages from previously failed, or
> uncommitted, build:
> /usr/local/poudriere/data/packages/main-default/.building
> [00:00:02] Mounting ccache from: /usr/.ccache
> [00:00:02] Mounting ports from: /usr/local/poudriere/ports/default
> [00:00:02] Mounting packages from:
> /usr/local/poudriere/data/packages/main-default
> [00:00:02] Mounting distfiles from: /usr/ports/distfiles
> [00:00:02] Copying /var/db/ports from:
> /usr/local/etc/poudriere.d/main-options
> [00:00:02] Appending to make.conf: /usr/local/etc/poudriere.d/make.conf
> /etc/resolv.conf ->
> /usr/local/poudriere/data/.m/main-default/ref/etc/resolv.conf
> [00:00:02] Starting jail main-default
> [00:00:02] Will build as nobody:nobody (65534:65534)
> [00:00:05] Logs:
> /usr/local/poudriere/data/logs/bulk/main-default/2023-10-14_16h16m30s
> [00:00:05] Loading MOVED for
> /usr/local/poudriere/data/.m/main-default/ref/usr/ports
> [00:00:06] Ports supports: FLAVORS SELECTED_OPTIONS
> [00:00:06] Inspecting ports tree for modifications to git checkout... yes
> [00:06:39] Ports top-level git hash: e843b8293c (dirty)
> …
>

sysctl output you pasted privately shows you are running a kernel form
October 9th, fee14577d590. This predates a slew of fixes to vnlru I
committed the day after.

They fix some of the problems (not all of them!), but it should be good enough.

tl;dr just update to newest main and it should be fine.

-- 
Mateusz Guzik <mjguzik gmail.com>


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGudoHFc2JZpffmqRpmtdBzpGJhnWgz6QBgP2nD%2BrBJzfs8_DQ>