stable

earlyoom-1.4-2.fc32

FEDORA-2020-e1682c6370 created by xvitaly 4 years ago for Fedora 32
  • Make victim selection logic 50% faster by lazy-loading process attributes
  • Log the user id uid of killed processes in addition to pid and name
  • Color debug log in light grey
  • Code clean-up
    • Use block-local variables where possible
    • Introduce PATH_LEN to replace several hardcoded buffer lengths
  • Expand testsuite (make test)
  • Run cppcheck when available
  • Add unit-test benchmarks (make bench)
  • Drop root privileges in systemd unit file earlyoom.service

Updated to version 1.3.1.

How to install

Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:

sudo dnf upgrade --refresh --advisory=FEDORA-2020-e1682c6370

This update has been submitted for testing by xvitaly.

4 years ago

This update's test gating status has been changed to 'waiting'.

4 years ago

This update's test gating status has been changed to 'ignored'.

4 years ago

xvitaly edited this update.

4 years ago

This update has obsoleted earlyoom-1.3.1-1.fc32, and has inherited its bugs and notes.

4 years ago
User Icon chrismurphy commented & provided feedback 4 years ago
karma

Test case: 8G RAM, 4G swap-on-RAM, build webkitgtk.2.27.91 RelWithDebInfo

[30443.168841] fmac.local earlyoom[2464]: mem avail:  2131 of  7830 MiB (27 %), swap free: 2442 of 3914 MiB (62 %)
[30503.336507] fmac.local earlyoom[2464]: mem avail:    61 of  7830 MiB ( 0 %), swap free:  673 of 3914 MiB (17 %)
[30506.302683] fmac.local earlyoom[2464]: mem avail:    57 of  7830 MiB ( 0 %), swap free:  426 of 3914 MiB (10 %)
[30506.302683] fmac.local earlyoom[2464]: low memory! at or below SIGTERM limits: mem 10 %, swap 10 %
[30506.432334] fmac.local earlyoom[2464]: sending SIGTERM to process 36231 uid 1000 "cc1plus": badness 113, VmRSS 779 MiB
[30506.949317] fmac.local earlyoom[2464]: process exited after 0.6 seconds
[30564.238461] fmac.local earlyoom[2464]: mem avail:  5129 of  7830 MiB (65 %), swap free: 3264 of 3914 MiB (83 %)

Works and recovers as expected.

User Icon chrismurphy commented & provided feedback 4 years ago
karma

Bug 1809408 After reboot, it's not working. I'm guessing the service restart after the update must've run the old version in the old location, and after boot now it can't be found. So it is a regression.

xvitaly edited this update.

New build(s):

  • earlyoom-1.4-2.fc32

Removed build(s):

  • earlyoom-1.4-1.fc32

Karma has been reset.

4 years ago

This update has been submitted for testing by xvitaly.

4 years ago

This update has been pushed to testing.

4 years ago
User Icon chrismurphy commented & provided feedback 4 years ago
karma

Fixes bug 1809408, including after reboot, and building webkitgtk also goes well.

[  786.474530] fmac.local earlyoom[807]: mem avail:   525 of  7865 MiB ( 6 %), swap free: 2494 of 3931 MiB (63 %)
[  812.984426] fmac.local earlyoom[807]: mem avail:    38 of  7865 MiB ( 0 %), swap free:  418 of 3931 MiB (10 %)
[  812.984426] fmac.local earlyoom[807]: low memory! at or below SIGTERM limits: mem 10 %, swap 10 %
[  813.180206] fmac.local earlyoom[807]: sending SIGTERM to process 9206 uid 1000 "cc1plus": badness 113, VmRSS 1125 MiB
[  813.491278] fmac.local earlyoom[807]: process exited after 0.5 seconds
[  847.998649] fmac.local earlyoom[807]: mem avail:  4316 of  7865 MiB (54 %), swap free: 3218 of 3931 MiB (81 %)

This update can be pushed to stable now if the maintainer wishes

4 years ago
User Icon roypen commented & provided feedback 4 years ago
karma

Tested with memory eating program. Everything works as expected.

This update has been submitted for stable by bodhi.

4 years ago

This update has been pushed to stable.

4 years ago

Please login to add feedback.

Metadata
Type
bugfix
Severity
medium
Karma
2
Signed
Content Type
RPM
Test Gating
Autopush Settings
Unstable by Karma
-3
Stable by Karma
2
Stable by Time
3 days
Dates
submitted
4 years ago
in testing
4 years ago
in stable
4 years ago
modified
4 years ago

Automated Test Results