RPI4 oom killer crashes

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

Re: RPI4 oom killer crashes

Postby kwirk » Mon Jul 26, 2021 9:42 pm

So commits that caused the memory leak have now been reverted (with raspberrypi/linux#4478). Built and tested current latest on rpi-5.10.y branch 9a22b00, and memory leak seems to be resolved.
kwirk
 
Posts: 1
Joined: Sun Aug 08, 2010 8:48 pm

Re: RPI4 oom killer crashes

Postby jaka87 » Tue Jul 27, 2021 7:18 pm

I installed todays kernel update and seem fine so far...will post in a few days with an update...
@graysky i instaled aarch64 on spare SD card. Its noticeably faster but could not get CEC to work. That is a dealbreaker for me...
jaka87
 
Posts: 6
Joined: Sat Jul 24, 2021 2:09 pm

Re: RPI4 oom killer crashes

Postby graysky » Tue Jul 27, 2021 7:21 pm

Which kernel are you using? linux-raspberrypi4 or linux-aarch64? I believe you need rpi4.
graysky
Developer
 
Posts: 1727
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: RPI4 oom killer crashes

Postby jaka87 » Sun Aug 01, 2021 6:47 am

Im not sure, but im guessing rpi4 since i used official rpi4 installation file.

PS: Latest systemd update is causing the issues again...
jaka87
 
Posts: 6
Joined: Sat Jul 24, 2021 2:09 pm

Re: RPI4 oom killer crashes

Postby unformatted » Sun Aug 01, 2021 7:58 am

Just to confirm that I'm on a RPi4/4GB with armv7l and yesterday upgraded to kodi-rpi 19.1-10 and don't have any issues but will keep a close watch. I have linux-raspberrypi4 5.10.52-4.
unformatted
 
Posts: 119
Joined: Tue Mar 09, 2021 5:23 pm

Re: RPI4 oom killer crashes

Postby graysky » Sun Aug 01, 2021 8:36 am

uname -a
graysky
Developer
 
Posts: 1727
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: RPI4 oom killer crashes

Postby unformatted » Sun Aug 01, 2021 8:39 am

Linux PC19 5.10.52-4-ARCH #1 SMP Tue Jul 27 11:35:41 UTC 2021 armv7l GNU/Linux
unformatted
 
Posts: 119
Joined: Tue Mar 09, 2021 5:23 pm

Re: RPI4 oom killer crashes

Postby Marcool » Tue Aug 03, 2021 12:25 pm

I also have this issue on a Raspberry Pi 4 with 8Gb RAM, running an armv7l system, when attempting to upgrade linux-raspberrypi4 from version 5.10.52-1 to 5.10.52-5. Upon reboot the system is sluggish, barely responsive, and soon the oom-killer starts to fire at will. Fortunately I have my system on lvm and perform upgrades with a snapshot taken, so when the oom-kill eventually quieted down, and I recovered a usable(-ish) system (despite all the hate for the oom-killer, it did its job in this case, eventually!) I could revert to the snapshot and reboot (barely) to a pre-upgrade state.
Something strange seems to be going on though, because the -5 rel linux-raspberrypi4 package points to commit 6495fa3396fb387d3871ced42a30281fe7be5352, which according to the repo timeline https://github.com/raspberrypi/linux/commits/rpi-5.10.y means it includes the reversions made in https://github.com/raspberrypi/linux/pull/4478 that are supposed to have solved https://github.com/raspberrypi/linux/issues/4474 (but I note that issue is still open despite a comment by kwirk 8 days ago saying pull request 4478 solved it…)
Does anybody else have issues with 5.10.52-5 on armv7h or should I be looking elsewhere for an explanation to my oom problems?
Thanks in advance for any thoughts or pointers.
Regards,
Mark.
Marcool
 
Posts: 7
Joined: Fri Nov 09, 2018 6:16 pm

Re: RPI4 oom killer crashes

Postby telsch » Tue Aug 03, 2021 3:20 pm

Same here on Raspberry Pi 4 with 8Gb RAM, running an armv7l system. linux-raspberrypi4-5.10.52-1 is working, oom killer starts with linux-raspberrypi4-5.10.52-4/5.
5.10.52-5 on aarch64 seems to work normal here on Raspberry Pi 4 with 1Gb RAM.
telsch
 
Posts: 5
Joined: Wed Jan 29, 2020 12:54 pm

Re: RPI4 oom killer crashes

Postby Marcool » Tue Aug 03, 2021 6:45 pm

Thanks for the feedback telsch. I have added a comment to the github issue also since it's "not just me" :)
Marcool
 
Posts: 7
Joined: Fri Nov 09, 2018 6:16 pm

PreviousNext

Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 5 guests