Skip to content

bump aro-rp memory to 4g#4792

Open
slawande2 wants to merge 1 commit intomasterfrom
slawande/bump-rp-memory-4g
Open

bump aro-rp memory to 4g#4792
slawande2 wants to merge 1 commit intomasterfrom
slawande/bump-rp-memory-4g

Conversation

@slawande2
Copy link
Copy Markdown
Collaborator

What this PR does / why we need it:

In busy regions with concurrent cluster installations, the RP process is being OOM-killed by the kernel when it exceeds its 2GB cgroups limit. During peak load, the RP attempts to use ~2.5GB of memory, which triggers the kernel's OOM killer and causes the process to be terminated.

This PR bumps the 2GB memory to 4GB. This increase is safe since the default RP VMSS SKU is being bumped from Standard_D2s_v3 (8GB) to Standard_D4s_v3 (16GB), providing sufficient headroom for the higher memory limit.

Is there any documentation that needs to be updated for this PR?

no

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR increases the Podman container memory limit for the aro-rp systemd service to reduce OOM kills under peak regional installation concurrency, aligning the generated deployment asset with the updated generator script.

Changes:

  • Update aro-rp service container memory limit from 2g to 4g in the service definition.
  • Regenerate/update the production gateway ARM template asset to include the new aro-rp memory limit.

Reviewed changes

Copilot reviewed 1 out of 3 changed files in this pull request and generated no comments.

File Description
pkg/deploy/generator/scripts/util-services.sh Bumps aro-rp container memory limit to 4g in the systemd podman run command generated for gateway hosts.
pkg/deploy/assets/gateway-production.json Updates the embedded CustomScript payload so the deployed aro-rp service uses -m 4g.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@slawande2 slawande2 force-pushed the slawande/bump-rp-memory-4g branch from 374a01f to 5ddc227 Compare April 23, 2026 21:57
@tsatam tsatam added the next-release To be included in the next RP release rollout label Apr 24, 2026
@cadenmarchese
Copy link
Copy Markdown
Member

/azp run ci

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@cadenmarchese
Copy link
Copy Markdown
Member

/azp run ci

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chainsaw Pull requests or issues owned by Team Chainsaw next-release To be included in the next RP release rollout release-blocker

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants