[Bug 1978699] Re: systemd-oomd kills the whole terminal with the culprit process

Federico Ferri 1978699 at bugs.launchpad.net
Mon Jun 27 13:39:49 UTC 2022


*** This bug is a duplicate of bug 1972159 ***
    https://bugs.launchpad.net/bugs/1972159

Not really a duplicate.

I'm not ranting that oomd should not have killed the memory-intensive
process or that the memory threshold is wrong/not respected, but rather:

1) incorrect (IMHO) process been killed

2) lack of explanation of what happened

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1978699

Title:
  systemd-oomd kills the whole terminal with the culprit process

Status in systemd package in Ubuntu:
  New

Bug description:
  My usecase:

  Compiling a very large C++ unit which required more memory than what
  was available (ram+swap).

  What happened:

  The terminal disappeared without even an explanation of what happened.

  It took me several trials before realizing what was going on.
  Then I quickly created a swap file and activated it, and finally I was able to compile the thing.

  Final remarks:

  1) Killing the whole terminal with all its subprocesses is totally not nice.
  Killing only the culprit process (cc) would have been a more than appropriate action.

  (please don't explain me the details of systemd-oomd; I'm reporting
  this from and end-user's perspective).

  2) Displaying a message informing that some daemon killed one (or
  multiple) processes because those were using too much memory would
  have been a nice addition.

  Otherwise one may as well think that the new Ubuntu release is broken,
  or that the machine is broken.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1978699/+subscriptions




More information about the foundations-bugs mailing list