Repository navigation
Conversation
The clickhouse proxy is a t3a.nano with 512 MiB and no swap. On 2026-10-06 at 06:50 UTC unattended-upgrades (about 160 MiB resident) filled memory; the kernel evicted nginx's pages and the proxy stalled for 12 minutes until the OOM killer finished it off, taking fastpath and the API's ClickHouse access down with it (OOPRIV-140). swap_size_mb defaults to 0, which renders the cloud-config as the empty string it was, so the other instances' launch templates do not change. cloud-init only runs at first boot and user_data is in ignore_changes, so the running proxy keeps the swapfile enabled on it by hand; a rebuilt or replaced one gets it from here. swappiness 10 keeps nginx in RAM unless memory runs short.
Terraform Run Output 🤖Format and Style 🖌
|
| Pusher | @aagbsn |
| Action | pull_request |
| Environment | dev |
| Workflow | .github/workflows/check_terraform.yml |
| Last updated | Tue, 06 Oct 2026 14:31:01 GMT |
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.
The clickhouse proxy is a t3a.nano with 512 MiB and no swap. On 2026-10-06 at 06:50 UTC unattended-upgrades (about 160 MiB resident) filled memory; the kernel evicted nginx's pages and the proxy stalled for 12 minutes until the OOM killer finished it off, taking fastpath and the API's ClickHouse access down with it (OOPRIV-140).
swap_size_mb defaults to 0, which renders the cloud-config as the empty string it was, so the other instances' launch templates do not change. cloud-init only runs at first boot and user_data is in ignore_changes, so the running proxy keeps the swapfile enabled on it by hand; a rebuilt or replaced one gets it from here. swappiness 10 keeps nginx in RAM unless memory runs short.
This is low priority as the host will not get redeployed and already has a swapfile created manually to avoid this issue.