[Bug 1972159] Re: systemd-oomd frequently kills firefox and visual studio code

2022-05-30 Thread Sebastien Bacher
@Kevin, we cherrypicked that patch in 22.04 before release https://launchpad.net/ubuntu/+source/systemd/249.11-0ubuntu3 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1972159 Title: systemd-oomd

[Bug 1972159] Re: systemd-oomd frequently kills firefox and visual studio code

2022-05-29 Thread Adolfo Jayme Barrientos
I wish upstart was back -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1972159 Title: systemd-oomd frequently kills firefox and visual studio code To manage notifications about this bug go to:

[Bug 1972159] Re: systemd-oomd frequently kills firefox and visual studio code

2022-05-27 Thread Kevin
This is greatly exasperated because systemd until v251 is using MemFree and not MemAvailable to decide how much memory is remaining. Since Linux aggressively uses MemFree for caching, this will result in systemd-oomd excessively killing applications. There's a fix in upstream

[Bug 1972159] Re: systemd-oomd frequently kills firefox and visual studio code

2022-05-27 Thread John S
For me I have 32GB of ram and it was killing my entire user session and dropping me back to the GDM. (It took me over a week to realise this was happening and I was kicked back to login losing all work at least 15 times, having to log back in produced a lot of log spam that hid the OOM message, I

[Bug 1972159] Re: systemd-oomd frequently kills firefox and visual studio code

2022-05-27 Thread ChM
Problem definitely disappeared once I upgraded memory to 40GB. But memory usage displayed in top never exceed 6GB. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1972159 Title: systemd-oomd

[Bug 1972159] Re: systemd-oomd frequently kills firefox and visual studio code

2022-05-26 Thread Connor Nolan
This also affects me: May 26 08:47:22 systemd-oomd[542]: Killed /user.slice/user-1000.slice/user@1000.service/app.slice/snap.firefox.firefox.cef581a2-89d2-4a72-86a9-8a0a30cfdb86.scope due to memory used (14922825728) / total (16526151680) and swap used (1944498176) / total (2147479552) being

[Bug 1972159] Re: systemd-oomd frequently kills firefox and visual studio code

2022-05-11 Thread ChM
I have upgraded my computer to 40GB of memory and restarted systemd- oomd. Memory usage is stable. No memory leak to report. I can make further test if needed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1972159] Re: systemd-oomd frequently kills firefox and visual studio code

2022-05-10 Thread Lukas Märdian
** Tags removed: rls-jj-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1972159 Title: systemd-oomd frequently kills firefox and visual studio code To manage notifications about this bug go

[Bug 1972159] Re: systemd-oomd frequently kills firefox and visual studio code

2022-05-09 Thread ChM
The free -h information was collected by me after my firefox and visual studio code were killed. The values in the log report were generated by systemd-oomd when it killed the apps I assume. I disabled it, I thus can't contribute any further. sorry. -- You received this bug notification

[Bug 1972159] Re: systemd-oomd frequently kills firefox and visual studio code

2022-05-09 Thread Lukas Märdian
** Tags added: rls-kk-incoming ** Tags removed: rls-kk-incoming ** Tags added: rls-jj-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1972159 Title: systemd-oomd frequently kills firefox

[Bug 1972159] Re: systemd-oomd frequently kills firefox and visual studio code

2022-05-09 Thread Sebastien Bacher
When did you get the 'free' information? The log states > due to memory used (8181518336) / total (8280240128) and swap used (1969328128) / total (2147479552) it would be interesting to know if you actually hit the limits or if the computation is wrong? ** Changed in: systemd (Ubuntu)

[Bug 1972159] Re: systemd-oomd frequently kills firefox and visual studio code

2022-05-09 Thread ChM
$ LANG=en free -h totalusedfree shared buff/cache available Mem: 7.7Gi 3.3Gi 2.1Gi 113Mi 2.2Gi 4.0Gi Swap: 2.0Gi 1.1Gi 941Mi -- You received this bug notification because you are a member of

[Bug 1972159] Re: systemd-oomd frequently kills firefox and visual studio code

2022-05-09 Thread ChM
$ free -h total utilisé libre partagé tamp/cache disponible Mem: 7,7Gi 3,3Gi 2,2Gi 113Mi 2,2Gi 4,0Gi Partition d'échange: 2,0Gi 1,1Gi 936Mi Syslog: May 9 09:55:32 xxx systemd[2839]: