~/talk

Envoy’s Using 10GB of Memory and It’s All My Fault!

Talkat EnvoyCon 2019 · on Monday, 2019-11-18· [networking, devops-and-delivery]
speakerdeck:stevesloka
slides:none on file

Custom xDS server misorders and floods Envoy with TLS listener updates, causing linear memory growth up to ~70 GB (30 GB in another run) when applying 5,000 ingresses in blocks; old listeners accumulate in draining mode with a 600s drain timeout and hold memory. Reproduction uses zero traffic, Kubernetes watches + client-go, and Contour as the xDS server. Mitigations that reduce but don’t fully fix it are sorting secrets before xDS push, implementing XDS ACKs/discovery request handling, and batching rapid cluster events.

AI-written summary · about

  1. 0:00Intro
  2. 0:30The Issue
  3. 1:44What is Contour
  4. 2:42Contour Implementation
  5. 3:44Memory Growth
  6. 4:45Recap
  7. 5:47The Problem
  8. 7:12Current Solution
~/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.