Repository navigation
fix(approuter): bump memory 512M→2048M to stop prod OOM crash-loop - #1587
Merged
Merged
Conversation
The prod approuter (tutorials-prod-approuter, serves developers.sap.com) crash-looped on 2026-08-10 with exit 137 (container cgroup OOM) once the vanity route was mapped and real traffic arrived. 512M was insufficient headroom for concurrent request buffering + the large static-asset surface. Mirrors the srv module's earlier 1G→2G OOM fix. Matches the emergency cf scale that stabilized prod; steady-state usage is ~260M. MTA version 1.13.1 → 1.13.2 (patch: config fix).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The prod approuter
tutorials-prod-approuter(servesdevelopers.sap.com) crash-looped in production on 2026-08-10 withexit status 137— container cgroup OOM kill at its 512M memory limit.Root cause
developers.sap.comvanity route mapped at 13:10 EDT → OOM crash-loop 13:37–13:55 EDT once real prod traffic arrived.srvmodule's earlier exit-134 V8 heap SIGABRT — but the same class of under-provisioning. Thesrvmodule was already bumped 1G→2G for this reason (mta.yaml:96); the approuter was never given headroom.Fix
tutorials-approutermemory: 512M → 2048Min.deploy/mta.yaml.1.13.1 → 1.13.2(patch — config fix).cf scale ... -m 2048M; this bakes it into the descriptor so the next deploy doesn't silently revert to 512M.Disk
Checked per request:
disk-quotais already 2048M and steady-state usage is ~33% (682M). Approuter logs stream off-container to stdout/stderr, so log growth is not a disk/OOM vector — no disk change needed.Verification
yqconfirms descriptor parses and reportsmemory: 2048M,disk-quota: 2048M,version: 1.13.2.