From #16105: on production 0.7.629 the main thread paused 0.9 to 4 s about 14 times a minute, labelled jobs egress-idle, heap near 8 GiB, 'did not fall: no collection seen'. The sweep in src/apps/egress.ts (one setInterval per egress server, each walking its live set) is a few lines, so the label is probably only the timer that runs when a long pause ends; a garbage collection of an 8 GiB heap is the likelier pause. Not profiled: the sandbox has no 420 cells. Done when: a CPU and heap profile on the stage rig with production's count of apps names what pauses the thread, written here, and the fix or a smaller issue for it exists.
From #16105: on production 0.7.629 the main thread paused 0.9 to 4 s about 14 times a minute, labelled
jobs egress-idle, heap near 8 GiB, 'did not fall: no collection seen'. The sweep in src/apps/egress.ts (one setInterval per egress server, each walking itsliveset) is a few lines, so the label is probably only the timer that runs when a long pause ends; a garbage collection of an 8 GiB heap is the likelier pause. Not profiled: the sandbox has no 420 cells. Done when: a CPU and heap profile on the stage rig with production's count of apps names what pauses the thread, written here, and the fix or a smaller issue for it exists.