Bug 2374205 - Fix swap allocation by SwapInitializer
Summary: Fix swap allocation by SwapInitializer
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: ec2-hibinit-agent
Version: epel9
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: David Duncan
QA Contact:
URL:
Whiteboard:
: 2374204 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-06-22 17:02 UTC by Ayushmaan Banerjee
Modified: 2025-06-23 13:09 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github aws amazon-ec2-hibinit-agent pull 48 0 None Merged Fix swap allocation bug 2025-06-22 17:02:17 UTC

Description Ayushmaan Banerjee 2025-06-22 17:02:17 UTC
Description of problem:
SwapInitializer was not using the greater of the two configuration options: percentage-of-ram and target-size-mb, but instead just target-size-mb in EPEL-8/9 (not tested in EPEL-10). 

Version-Release number of selected component (if applicable):
Latest

Ref: https://github.com/aws/amazon-ec2-hibinit-agent/pull/48

Fix: https://github.com/aws/amazon-ec2-hibinit-agent/commit/3700a58fb73778dd02d37617b952766d4828e332

Comment 1 Ayushmaan Banerjee 2025-06-22 17:02:41 UTC
*** Bug 2374204 has been marked as a duplicate of this bug. ***

Comment 2 David Duncan 2025-06-23 13:09:59 UTC
Reviewed with Banerjee. I am working on this today.


Note You need to log in before you can comment on or make changes to this bug.