NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: wired memory leak?



Hi, Greg, Manuel
On Fri, Oct 30, 2026 at 08:59:12AM -0400, Greg Troxel wrote:
> Manuel Bouyer <bouyer%antioche.eu.org@localhost> writes:
> 
> > it occured several times, but I was running a -11 kernel with a -10
> > userland. I'm quite confident that this was triggered by firefox. I never
> > noticed this while I was running a -10 kernel; and I've not seen it since I
> > updated userland to -11.
> 
> I started logging wired memory pages and overnight exited firefox.  The
> data is pretty clear: no firefox running and wired pages are stable;
> with firefox running they grow, irregularly.
> 
> It's interesting that you say
> 
>   with netbsd 11 kernel/user you don't see this
> 
>   you added AccelMethod UXA and system/X is stable*
> 
> * of course firefox is never truly stable
> 

Some of my stats if they can be of help. My system is modest (4GB RAM).

I don't see any particular issue on wired memory after 8-day uptime. I
see it in Firefox memory usage.. it's outrageous. 

Here are the top -sorted by RAM- processes  

load averages:  0.41,  0.40,  0.42;               up 8+20:07:27                                 12:42:48
111 processes: 110 sleeping, 1 on CPU
CPU states:  0.1% user,  0.0% nice,  0.1% system,  0.1% interrupt, 99.6% idle
Memory: 1817M Act, 975M Inact, 5408K Wired, 420M Exec, 1100M File, 169M Free
Swap: 6048M Total, 2430M Used, 3618M Free / Pools: 843M Used / Network: 9K In

  PID USERNAME PRI NICE   SIZE   RES STATE       TIME   WCPU    CPU COMMAND
25579 lfm       85    0    19G  195M poll/1     17:59  0.00%  0.00% firefox140
26363 lfm       43    0    11G  509M parked/3  148:16  0.00%  0.00% firefox140
 2192 lfm       43    0    11G  334M parked/6    3:09  0.00%  0.00% firefox140
  677 lfm       43    0  2760M   96M parked/3    0:52  0.00%  0.00% firefox140
22573 lfm       43    0  2729M  115M parked/1    2:29  0.00%  0.00% firefox140


Firefox has been the only reason to increase my swap space. On another chapter,
it also uses LLM :( , so really looking for an alternative. (netsurf is very nice
and lightweight, but does not support JS.

Not sure if Konform will build on NetBSD, being based on LibreWolf &
Tor..

Best,
Luis



Home | Main Index | Thread Index | Old Index