Skip to content

Cap swap size to prevent filling root filesystem (sandbox) (#245)#261

Merged
akuzminsky merged 1 commit intomainfrom
issue-245
Mar 18, 2026
Merged

Cap swap size to prevent filling root filesystem (sandbox) (#245)#261
akuzminsky merged 1 commit intomainfrom
issue-245

Conversation

@akuzminsky
Copy link
Member

Port the swap size cap from development to sandbox. On instances with
large RAM and small root volumes, the swap profile attempted to create
a swap file of 2x RAM, which could fill the root filesystem.

Swap size is now the minimum of 2x total RAM, 8 GB, and 25% of
available disk space on /.

Port the swap size cap from development to sandbox. On instances with
large RAM and small root volumes, the swap profile attempted to create
a swap file of 2x RAM, which could fill the root filesystem.

Swap size is now the minimum of 2x total RAM, 8 GB, and 25% of
available disk space on /.
@akuzminsky akuzminsky merged commit fbd63cb into main Mar 18, 2026
2 checks passed
@akuzminsky akuzminsky deleted the issue-245 branch March 18, 2026 03:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants