[Bug 279203] logger: Forking many logger executables at once renders machine unresponsive

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 22 May 2024 10:29:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279203

--- Comment #2 from Michael Gmelin <grembo@FreeBSD.org> ---
Cherry-picking this commit fixes the issue for me:

commit 7a70f17ac4bd64dc1a5020f963ba4380cf37b7e5
Author: Konstantin Belousov <kib@FreeBSD.org>
Date:   Fri Jul 7 20:19:33 2023 +0300

    killpg(): more carefully avoid LoR

    otherwise we could end up with the livelock.  When pg_killsx trylock
    failed, ensure that we do wait for lock availability before retry.

    Reported and tested by: pho
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week

-- 
You are receiving this mail because:
You are the assignee for the bug.