oom-killer gets triggered when there is plenty of memory still available
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- linux
- Domain
- operating-systems
Research direction
Start by examining the attached dmesg.txt alongside the reported Raspberry Pi 4B, Raspbian 10, firmware, and kernel versions. Determine why the OOM killer runs despite the reported available memory, reproduce the behavior if possible, and verify that the issue no longer kills the download-management programs under comparable conditions.
Written by the indexing model from the issue text.
Description
Using this machine as a torrent downloader with Transmission, Sonarr, Radarr, Jackett, etc. I know these programs are heavy on RAM, but oom-killer gets triggered even when memory usage is lower than 1,5 or 1GB. Tried using a 2GB swapfile (which never gets too used) without solving the issue. Every 8-12 hours OOM reaper kills all download managing programs, even Transmission.
To reproduce
Not sure, probably adding some memory hungry program helps reproduce.
Expected behaviour
oom-killer should only trigger when memory and swap are really scarce..
Actual behaviour
oom-killer gets triggered even when memory usage is low, even < 1GB.
System
- Which model of Raspberry Pi? Rpi4B Rev 1.2 4GB
- Which OS and version (
cat /etc/rpi-issue)? Raspbian GNU/Linux 10 - Which firmware version (
vcgencmd version)? version 4439d2aaa6c376a2d1ef4402f142e1cf4de37c43 (clean) (release) (start) - Which kernel version (
uname -a)? 5.4.51-v7l+
Logs
dmesg.txt
- Dominant language
- C
- Stars
- 13.2k
- Forks
- 5.5k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 21
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from raspberrypi/linux
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
raspberrypi/linux#7415 · 2 comments · 1 reaction ·
-
rp1-cfe doesn't forward V4L2_EVENT_SOURCE_CHANGE event from csi-2 sensor driver to userspace app Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
raspberrypi/linux#7399 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
raspberrypi/linux#7357 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
raspberrypi/linux#7054 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
raspberrypi/linux#7634 · 8 comments · 1 reaction ·
All issues in raspberrypi/linux
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
zephyrproject-rtos/zephyr#119726 ·
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
BasedHardware/omi#15320 ·
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarbourMasters/Shipwright#7229 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
riscv-software-src/riscv-isa-sim#2435 · 1 comment ·