~/talk

Bug of the Year: A Memory Leak Reboot Could Not Help with

Talkat Cephalocon 2023 · 2023-04-16..04-18· [linux-and-operating-systems]
links:none on file
slides:none on file

A Ceph OSD memory leak stems from corrupt PG dupes entries that persist on disk so reboot does not help and an OSD must be redeployed to recover; the root cause is a trimming bug triggered by PG splits plus a libstdc++ std::list::size complexity mismatch and was amplified when autoscaler defaulting changed in Octopus. Operators see millions of dupes entries, TCMalloc warnings and latency spikes. Fixes include an injector to reproduce the state, new admin checks (mempools, PG query), and an offline tool trim-pg-lock-dupes plus phased OSD-side trimming patches.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:08Memory leak immune to reboot
  3. 9:53Symptoms and diagnosis heuristics
  4. 12:51What is PG log and dupes issue
  5. 20:09How dupes entries are generated
  6. 25:01Auto scalar and split operations
  7. 28:17Root cause and recent triggers
  8. 30:06Workarounds and prevention
  9. 33:45Fixing the problem challenges
  10. 38:23Offline and online streaming fixes
  11. 41:40Conclusion and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.