Bug 214485

Summary: oom killer kills processes with more then 1 GB free memory
Product: Memory Management Reporter: Dieter Ferdinand (dieter.ferdinand)
Component: OtherAssignee: Andrew Morton (akpm)
Status: REOPENED ---    
Severity: normal    
Priority: P1    
Hardware: ARM   
OS: Linux   
Kernel Version: 5.10.50 Subsystem:
Regression: No Bisected commit-id:
Attachments: kernel log

Description Dieter Ferdinand 2021-09-22 09:00:00 UTC
Created attachment 298911 [details]
kernel log

hello,
i have a big problem on one of my systems. the oomkiller kills my processes (tonight mysqldump, rsync and xterm) with more then 1 GB free memory and 2 GB swap which is over 1,8 GB free.

i have moved the process (mariadb) with the biggest memory usage (vm more then 700 MB) to an other system to solve this problem, but this don't help.

the first killed process was mysqldump, but after killing this process some other processes where killed.

i will deaktivate this backup-task and hope, it solve this problem for the moment.

i will also try to change this system from 32 bit kernel to a 64 bit kernel and programs with the hope, that this solve the problem finally.

goodby
Comment 1 Artem S. Tashkinov 2021-09-28 08:05:26 UTC
This looks like an issue with Raspberry Pi, not an inherent Linux kernel issue:


https://www.raspberrypi.org/forums/viewtopic.php?t=283660

https://github.com/raspberrypi/linux/issues/3210

Check if this works for you:

https://github.com/raspberrypi/linux/issues/3210#issuecomment-716510916

Please leave your further comments in the corresponding github issue.
Comment 2 Dieter Ferdinand 2021-09-28 09:27:00 UTC
hello, i has last year the same problem with a new installed x86 32 bit system with 2 gb ram and a kernel 5.x. i don't think, that it is a problem with a raspberry pi.

i have installed a 64bit system on the pi in the last two weeks to see, if this problem is only with the 32 bit system.

i has the same problem on my server with 16 GB ram. i change some settings and change it to a 64 bit kernel. since this time, i have no more problems with this system. with the 32 bit kernel, the system was very slow after some time because there was a bug in the pae-extension in kombination with the filessystem or cache.

this problem happens only on this pi, i have a second pi as nas which runs fine.
i try it with the same kernel on both systems, without success. but there is a difference between the two systems. the older sysem have 8 usb3-hds and the newer system 14 or more. the hds have 3 or 4 TB.

i try to get more memory free and move some big programs to other systems, but this don't help.

i has some problems with the old usb2 disk on this system, but i changed this to an iscsi-disk which is faster and disconnect all usb2 devices. i think, that the usb2 disk hangs after some time and crash the system.

my biggest problem is, that all bugs will find me.

if the ooem-killer is no more aktivated with the 64 bit system, then is must be a bug in the 32 bit system. i will have a look at this in the next time. but i plan to change from pi4 to a bananapi r2 because this have two usb3 controllers, so i can connect more usb3-disks.

goodby