The morning copy ran without incident but the evening copy triggered a
fault between 1944 and 1952 CST (UTC-5).  I'm attaching a TAR which
contains three screenshots (before, during, and just after the fault) as
well as the time-relevant output of 'journalctl', and an sosreport.  The
sosreport contains 'sar' data which can be nicely graphed by 'ksar'
(https://github.com/vlsi/ksar) if you, like me, would rather see a graph
of the values instead of reading them line-by-line.

The relevant systemd-oomd text today was this:
=-=-=-=-=-
Nov 13 19:44:41 Boromir systemd-oomd[1084]: Killed 
/user.slice/user-1000.slice/user@1000.service/app.slice/app-org.gnome.Terminal.slice/vte-spawn-d21ca39b-f66d-4b6c-aa6b-e087b2171268.scope
 due to memory pressure for /user.slice/user-1000.slice/user@1000.service being 
59.43% > 50.00% for > 20s with reclaim activity
Nov 13 19:44:41 Boromir systemd[2457]: 
vte-spawn-d21ca39b-f66d-4b6c-aa6b-e087b2171268.scope: systemd-oomd killed 2 
process(es) in this unit.
Nov 13 19:44:57 Boromir systemd-oomd[1084]: Killed 
/user.slice/user-1000.slice/user@1000.service/app.slice/app-org.gnome.Terminal.slice/vte-spawn-552a2d8e-2b19-483b-824a-dd4a5138012b.scope
 due to memory pressure for /user.slice/user-1000.slice/user@1000.service being 
60.58% > 50.00% for > 20s with reclaim activity
Nov 13 19:51:55 Boromir systemd-oomd[1084]: Killed 
/user.slice/user-1000.slice/user@1000.service/app.slice/app-org.gnome.Terminal.slice/vte-spawn-48215c41-bdeb-4430-a3f1-eae7f6af30d3.scope
 due to memory pressure for /user.slice/user-1000.slice/user@1000.service being 
67.81% > 50.00% for > 20s with reclaim activity
=-=-=-=-=-

The immediately obvious symptom before oomd kicked in was the load
average climbing and the system responsiveness falling.  I tried taking
two other screenshots during that time (load avg 30-40) but the
clipboard didn't update or Gimp hung.

** Attachment added: "OOM_Fault_20221113_1952.tar"
   
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1985887/+attachment/5630682/+files/OOM_Fault_20221113_1952.tar

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1985887

Title:
  systemd kills gnome-shell or gnome-terminal if gnome-terminal uses
  much memory (50% over 20s)

Status in OEM Priority Project:
  Invalid
Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  [Steps to reproduce]
  0. Install Jammy image
  1. open gnome terminal
  2. issue stress_ng or Canonical certification tool checkbox as
  "checkbox-cli run com.canonical.certification::memory/memory_stress_ng"
  or
  "stress-ng --stack 0 --timeout 300"
  3. Terminal or Gnome-shell will be killed by systemd-oomd

  It's because all stressors are under same cgroup belongs to terminal.

  Both Wayland and Xorg can reproduce.

  over ssh and in multi-user.target work good.

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1985887/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to