Apps are killed for no reason

Asked by Karol Kurek

The question is moved from: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1985041

My problem is similar to those that have been reportedly solved:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1980169
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1972159

However, I already have a patch (ManagedOOMSwap=auto), have 16GB RAM and when applications are being crashed I have more than 50% of RAM available. Killed applications are always those which I'm currently using and yes, they are using some RAM (even 3GB). They are: PyCharm, Visual Studio Code, Vivaldi, Firefox, Chrome, sometimes even Slack. So it seems that if any program is using some RAM (and I don't really care about it) it is killed by the system.

I've disabled oopd (systemctl disable --now systemd-oomd) and even uninstalled it (apt remove systemd-oomd). When asking for status of it (systemctl status systemd-oomd) it says:
○ systemd-oomd.service
     Loaded: masked (Reason: Unit systemd-oomd.service is masked.)
     Active: inactive (dead)

But still applications are closed without any information. Probably it's not systemd-oomd.service or it's working still even if it says "dead". Write if I'm able to share any additional context.

Ubuntu 22.04.1 LTS

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1
Revision history for this message
Karol Kurek (tuliokkj) said :
#2

@actionparsnip Did you read that I have no out-of-memory-killer at all now?

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Is there any information in the system logs about the terminating processes?
If there is no OOM killer active, then the only explanation is that they are crashing on their own.
Have you tested the RAM?

Revision history for this message
Karol Kurek (tuliokkj) said :
#4

RAM is ok - I even changed it to different ones.
I have Windows on another partition - it works like a charm.
No way that all applications have problem and they are crashing on their own.
No idea what logs I should check. Here are logs: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1985041

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

My first target would be /var/log/syslog (and syslog.1 etc.)

Can you help with this problem?

Provide an answer of your own, or ask Karol Kurek for more information if necessary.

To post a message you must log in.