Ubuntu 22.04 has fixed the problem of OOMD killing apps
- An American company made 0.7nm chips: EUV lithography machines can’t do it
- CVE-2007-4559 Python vulnerability ignored for 15 years puts 350,000 projects at risk of code execution
- RISC-V only takes 12 years to achieve the milestone of 10 billion cores
- 14000 cores + 450W: RTX 4080 graphics card perfectly replaces the RTX 3080
- Big upgrade: The difference between Bluetooth 5.0 and 5.2
- Geeks Disappointed that RTX 4080/4090 doesn’t come with PCIe 5.0
- What are advantages and disadvantages of different load balancing?
Ubuntu 22.04 has fixed the problem of OOMD killing apps.
Earlier in the month we reported an issue with Ubuntu 22.04 version killing apps frequently, systemd-oomd directly killing apps like Firefox during high memory/swap usage without giving any feedback to the user.
Following the issue, the Ubuntu developers have been looking for a workaround to better handle systemd’s out-of-memory daemon (OOMD) and provide a fix for users of Ubuntu 22.04 LTS who were having problems.
Now that the problem has been solved, according to foreign media Phoronix , the new systemd 249.11-0ubuntu3. package contains the latest changes to OOMD: swap kill is disabled by default.
This patch replaces what Ubuntu 22.04 LTS has been using ManagedOOMSwap=kill to set it on the root slice (-.slice) ManagedOOMSwap=auto.
Disabling swap kill by default limits the default behavior of systemd-oomd on Ubuntu Linux to monitoring memory pressure instead of monitoring memory swap usage.
Since Ubuntu only provides 1GB of swap space, monitoring memory swap usage can easily trigger conditions, while monitoring memory pressure effectively improves the experience of unexpected application termination.
The patch is expected to be implemented in the next fix release of Ubuntu 22.04 LTS.
Ubuntu download address: Click to download
- DIY a PBX (Phone System) on Raspberry Pi
- How to host multiple websites on Raspberry Pi 3/4?
- A Free Intercom/Paging system with Raspberry pi and old Android phones
- DIY project: How to use Raspberry Pi to build DNS server?
- Raspberry Pi project : How to use Raspberry Pi to build git server?