Closed judouk closed 1 month ago
As provided in the comment of /etc/hibinit-config.cfg , we take into account which one is greater.
For your configuration , the percentage-of-ram = 100 was provided , so we have gone ahead with validating .
But you are correct in pointing out that there is an inconsistency. We should be allocating the same size as we are validating. We will track this issue.
I am using a Rocky8 installation on an AWS EC2 m5a.large instance I have ec2-hibinit-agent-1.0.9-1.el8.noarch installed
My /etc/hibinit-config.cfg contains
My host has 8GB installed but the swap file is created as 4GB
Looking at the logs, it seems to contradict itself. I need 7912648704....so I allocate 4194304000 !!!
For now, I've updated my configuration to use target-size-mb = 8192 but this feels like a bug