2020-02-14 12:18:27 |
Balint Reczey |
bug |
|
|
added bug |
2020-02-14 14:23:16 |
Balint Reczey |
ec2-hibinit-agent (Ubuntu): assignee |
|
Balint Reczey (rbalint) |
|
2020-03-11 12:14:18 |
Balint Reczey |
ec2-hibinit-agent (Ubuntu): status |
New |
Incomplete |
|
2020-03-11 12:14:22 |
Balint Reczey |
ec2-hibinit-agent (Ubuntu): assignee |
Balint Reczey (rbalint) |
|
|
2020-03-12 15:02:15 |
Launchpad Janitor |
ec2-hibinit-agent (Ubuntu): status |
Incomplete |
Fix Released |
|
2020-03-13 12:48:47 |
Francis Ginther |
tags |
|
id-5e459f823f8a2435d44842eb |
|
2020-03-16 19:28:14 |
Francis Ginther |
attachment added |
|
mem-waster-pct.py https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1863242/+attachment/5337655/+files/mem-waster-pct.py |
|
2020-03-23 15:35:28 |
Balint Reczey |
description |
TODO |
[Impact]
* During resuming EC2 instances from hibernation sometimes processes are killed OOM manager.
[Test Case]
* Set up an EC2 instance to allow hibernation as the stop instance action.
* Start the attached Python script in a screen session to reserve 85% of the memory:
python3 mem-waster-pct.py -p 85
* Log out, hibernate, then resume the instance.
* Observe the Python script still running after resuming
[Regression Potential]
* The fix is setting memory overcommit policy to 'always overcommit' while removing the swap file. This helps dealing with the shrinking swap space during the swap removal. There is no expected side effect, since processes trying to allocate excessive amount of memory would fail with stricter policies, too.
The fix introduces a potential race condition with processes detecting the overcommit policy:
The policy used when the hibernation took place is saved shortly after resuming and it is restored after the swap file is removed. In this time window other processes detect the policy as 'always overcommit', despite it may not have been set as such before hibernation and may be restored to a different policy after removing the swap file. Hitting this race condition seems to be unlikely and there seem to be no good way of avoiding it. |
|
2020-03-23 17:28:11 |
Łukasz Zemczak |
ec2-hibinit-agent (Ubuntu Eoan): status |
New |
Fix Committed |
|
2020-03-23 17:28:14 |
Łukasz Zemczak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2020-03-23 17:28:18 |
Łukasz Zemczak |
bug |
|
|
added subscriber SRU Verification |
2020-03-23 17:28:21 |
Łukasz Zemczak |
tags |
id-5e459f823f8a2435d44842eb |
id-5e459f823f8a2435d44842eb verification-needed verification-needed-eoan |
|
2020-03-23 17:29:32 |
Łukasz Zemczak |
ec2-hibinit-agent (Ubuntu Bionic): status |
New |
Fix Committed |
|
2020-03-23 17:29:36 |
Łukasz Zemczak |
tags |
id-5e459f823f8a2435d44842eb verification-needed verification-needed-eoan |
id-5e459f823f8a2435d44842eb verification-needed verification-needed-bionic verification-needed-eoan |
|
2020-04-01 21:30:24 |
Francis Ginther |
tags |
id-5e459f823f8a2435d44842eb verification-needed verification-needed-bionic verification-needed-eoan |
id-5e459f823f8a2435d44842eb verification-done-bionic verification-needed verification-needed-eoan |
|
2020-04-07 19:23:56 |
Launchpad Janitor |
ec2-hibinit-agent (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2020-04-07 19:24:02 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2020-07-02 20:33:14 |
Francis Ginther |
tags |
id-5e459f823f8a2435d44842eb verification-done-bionic verification-needed verification-needed-eoan |
id-5e459f823f8a2435d44842eb verification-done-bionic verification-done-eoan verification-needed |
|
2020-07-07 18:24:51 |
Launchpad Janitor |
ec2-hibinit-agent (Ubuntu Eoan): status |
Fix Committed |
Fix Released |
|
2020-10-20 16:08:16 |
Balint Reczey |
nominated for series |
|
Ubuntu Xenial |
|
2020-10-20 16:08:16 |
Balint Reczey |
bug task added |
|
ec2-hibinit-agent (Ubuntu Xenial) |
|
2020-10-20 16:08:25 |
Balint Reczey |
ec2-hibinit-agent (Ubuntu Xenial): status |
New |
Incomplete |
|