Re: FYI; 14.3: A discord report of Wired Memory growing to 17 GiBytes over something like 60 days; ARC shrinks to, say, 1942 MiBytes

From: Mark Johnston <markj_at_freebsd.org>
Date: Thu, 14 Aug 2025 15:50:24 UTC
On Thu, Aug 14, 2025 at 08:33:44AM -0700, Rick Macklem wrote:
> On Thu, Aug 14, 2025 at 12:37 AM Darrin Smith <beldin@beldin.org> wrote:
> > I appologise for not just pasting the direct dumps, but I didn't
> > think multiple 246 line files would be appreciated.
> >
> > All the raw data is at http://files.beldin.org/logs.
> >
> > Unfortunately a power outage occured here before I was able to reach
> > the memory exhaustion level so I will have to wait another
> > approximately 2 days to hit the problem again.
> So, in your case it looks like a NAMEI leak (buffers for file paths being
> looked up).
> It is up to about 10million by the last log entry, whereas vnodes are at
> 77K and have gone down from previous entries.
> 
> It wasn't clear to me what version of FreeBSD you are running and
> what was changed when you started experiencing this.
> Maybe you can post with some info?

From an earlier email it was -CURRENT and apparently related to desktop
software.  Sure enough, the new inotify implementation contains a path
buffer leak: https://reviews.freebsd.org/D51900

This wouldn't affect stable branches though.