[Bug 296835] kern: coredump of a process with many EVFILT_VNODE knotes hangs for hours, process unkillable (SIGKILL pending), holds fd table lock (NT_PROCSTAT_KQUEUES note generation)
[email protected] Fri, 31 Jul 2026 15:55:54 +0000
| Newsgroups | gmane.os.freebsd.bugs |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D296835 --- Comment #3 from [email protected] --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dff97443beef614a12652cb96ccebe95e9= 046e82a commit ff97443beef614a12652cb96ccebe95e9046e82a Author: Abdelkader Boudih <[email protected]> AuthorDate: 2026-07-31 15:46:38 +0000 Commit: Adrian Chadd <[email protected]> CommitDate: 2026-07-31 15:46:45 +0000 kqueue: do not buffer the whole knote report when sizing it kern_proc_kqueues_out() reported into an intermediate sbuf and copied t= he result into the caller's. A process that had leaked 468k kqueue descriptors wired 757 MB of M_SBUF while dumping core, over roughly 9M reallocations, then copied the whole thing again. Reviewed by: adrian, markj Differential Revision: https://reviews.freebsd.org/D58536 PR: 296835 MFC after: 1 week sys/kern/kern_event.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=