[Bug 283747] kernel panic after telegraf service restart

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 19 Mar 2025 17:18:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283747

--- Comment #40 from Gleb Smirnoff <glebius@FreeBSD.org> ---
Matthew, this is just a hypothesis, not a confident fix.  Let's see how it
goes.

The guess is that telegraf would spawn lots of children for its purposes and
sometimes leaks a zombie.  Those zombies accumulate and each carry large
number of credential reference counts.  Given that cr_refs was extended to
long, but credbatch refs was forgotten, and the latter accumulates counts
from several crs, an overflow is possible.  But the overflow will be triggered
only when telegraf is killed and all leaked zombies are reaped.

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