[Bug 280846] Low memory freezes / OOM: a thread waited too long to allocate a page

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 23 Oct 2024 12:49:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280846

--- Comment #56 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Mark Millard from comment #55)

Now there is unswappable:

# sysctl vm.domain | grep stat | sort
vm.domain.0.stats.active: 463905
vm.domain.0.stats.actpdpgs: 25127955
vm.domain.0.stats.free_count: 71099
vm.domain.0.stats.free_min: 12880
vm.domain.0.stats.free_reserved: 2713
vm.domain.0.stats.free_severe: 7796
vm.domain.0.stats.free_target: 43381
vm.domain.0.stats.inactive: 973704
vm.domain.0.stats.inactive_pps: 106004072
vm.domain.0.stats.inactive_target: 65071
vm.domain.0.stats.inactpdpgs: 6715012
vm.domain.0.stats.laundpdpgs: 25988
vm.domain.0.stats.laundry: 201452
vm.domain.0.stats.unswappable: 5488
vm.domain.0.stats.unswppdpgs: 0

so Laundry by itself is now inaccurate in this old context.

1796Mi Active, 3829Mi Inact, ??? Laundry, 1243Mi Wired, . . ., 273724Ki Free,
3761Mi MaxObsActive, 1281Mi MaxObsWired, ??? MaxObs(Act+Wir+Lndry)

7939 - 1796 - 3829 - 1243 - 267.3 == 803.7 estimate of Laundry (MiBytes)
vs.
(201452+5488)*4096/(1024*1024)    == 808.4 estimate of Laundry (MiBytes)

Those 3 more active firefox processes look like:

 1526     0 root         29  28    0   3103Mi  655960Ki select   2 100:17  
7.30% /usr/local/lib/firefox/firefox -contentproc
{b91e352c-11e4-473a-bb58-eb4826e54ecf} 1512 8 tab
 1525     0 root         28  20    0   3730Mi    1228Mi select   3   5:20  
0.42% /usr/local/lib/firefox/firefox -contentproc
{744240e1-aa23-48b1-bded-f62a1fa4696a} 1512 7 tab
 1524     0 root         29  20    0   3034Mi  530976Ki select   0   8:37  
5.64% /usr/local/lib/firefox/firefox -contentproc
{075167db-4164-41b8-b7df-4f99b4610ef9} 1512 6 tab

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