← Back to team overview

dx-packages team mailing list archive

[Bug 1647982] Re: [Regression]: Krillin gets to a state where OOM starts killing every app (also Dash)

 

** Also affects: indicator-datetime (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: canonical-devices-system-image
       Status: Incomplete => Confirmed

** Changed in: canonical-devices-system-image
     Assignee: Pat McGowan (pat-mcgowan) => Alejandro J. Cura (alecu)

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to indicator-datetime in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1647982

Title:
  [Regression]: Krillin gets to a state where OOM starts killing every
  app (also Dash)

Status in Canonical System Image:
  Confirmed
Status in indicator-datetime package in Ubuntu:
  New

Bug description:
  Krillin, rc-proposed/bq-aquaris.en, r486

  Description:
  In the last 3 weeks I managed to get myself into a situation where it was completely unusable. 
  Basically, every time I started an app (the *only* one currently running), it would get killed
  by OOM after a very short amount of time.
  It did not let me do anything, a few seconds after running the app, the OOM would kick in and kill it.
  At one point it started killing the Dash as well as it had nothing else to kill as no apps were running.

  A reboot fixes it.
  I'm not sure about how to reproduce this yet. Once you get into that situation, the only thing you can do seems to be a reboot.

  I experienced this problem about 3 times in the last couple of weeks.
  I already reported it to the Unity8 team when it happened, but it
  seems like the logs I provided were not enough to show the cause of
  the issue.

  The logs show that some processes have really high Virtual Memory Size, probably because they link to plenty of shared libraries or load plenty of plugins, but it's maybe something we want to keep an eye on...
  See polld and push-client: they have 900+Mb of VSZ, each.

  Evidence of OOM killing Telegram and then the Dash:
  "free -m" was showing 151Mb with no apps running, then when I tried to run one, it would get killed.

  Nov 18 11:08:33 ubuntu-phablet kernel: [182604.420249]   Free memory is -2912kB above reserved [gfp(0x200da)]
  Nov 18 11:09:19 ubuntu-phablet kernel: [182650.251867]Killing 'telegram' (15175), adj 100,
  Nov 18 11:09:19 ubuntu-phablet kernel: [182650.251871]   to free 89460kB on behalf of 'QSGRenderThread' (15244) because
  Nov 18 11:09:19 ubuntu-phablet kernel: [182650.251876]   cache 65396kB is below limit 65536kB for oom_score_adj 12
  Nov 18 11:09:19 ubuntu-phablet kernel: [182650.251881]   Free memory is -2820kB above reserved [gfp(0x200da)]

  Nov 18 11:30:37 ubuntu-phablet kernel: [183928.542584]select 'unity8-dash' (1385), adj 50, size 8384, to kill
  Nov 18 11:30:37 ubuntu-phablet kernel: [183928.542617]Killing 'unity8-dash' (1385), adj 50,
  Nov 18 11:30:37 ubuntu-phablet kernel: [183928.542623]   to free 33536kB on behalf of 'lsb_release' (1428) because
  Nov 18 11:30:37 ubuntu-phablet kernel: [183928.542629]   cache 65248kB is below limit 65536kB for oom_score_adj 12
  Nov 18 11:30:37 ubuntu-phablet kernel: [183928.542634]   Free memory is -2900kB above reserved [gfp(0x200da)]

  
  TOP RAM EATERS:
  phablet@ubuntu-phablet:~$ ps aux --sort=-%mem | awk 'NR<=20{print $0}'
  USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
  phablet   2998  0.7 13.3 856732 131420 ?       Ssl  Nov14  44:56 unity8 --mode=full-greeter
  phablet   5292  6.6  9.8 525300 96952 ?        Ssl  11:32   0:15 unity8-dash --desktop_file_hint=unity8-dash.desktop
  phablet   2163  0.1  1.8  26096 17996 ?        Ss   Nov14  11:36 dbus-daemon --fork --session --address=unix:abstract=/tmp/dbus-VwsPw6LOmi
  phablet   3706  0.2  1.7 357620 17064 ?        Ssl  Nov14  15:48 maliit-server
  phablet   3721  0.1  1.7 935372 16760 ?        Ssl  Nov14   6:38 /usr/bin/account-polld
  phablet   3828  0.0  1.5 219696 15360 ?        Sl   Nov14   2:17 /usr/lib/evolution/evolution-calendar-factory
  phablet   3696  0.0  1.5 137904 15140 ?        Ssl  Nov14   4:40 /usr/lib/arm-linux-gnueabihf/sync-monitor/sync-monitor
  phablet   3623  0.0  0.9 193676  9592 ?        Ssl  Nov14   3:56 /usr/lib/arm-linux-gnueabihf/indicator-datetime/indicator-datetime-service
  phablet   2941  0.0  0.8 146332  8028 ?        Ssl  Nov14   0:22 /usr/lib/arm-linux-gnueabihf/address-book-service/address-book-service
  phablet   3694  0.0  0.8 976116  7904 ?        Ssl  Nov14   1:58 /usr/lib/ubuntu-push-client/ubuntu-push-client
  phablet   2959  0.0  0.6  97412  6836 ?        S    Nov14   1:45 /usr/bin/history-daemon
  root      1619  0.3  0.4 111084  4624 ?        Ssl  Nov14  20:10 NetworkManager
  phablet   3768  0.0  0.4 394092  4360 ?        Ssl  Nov14   1:33 /usr/lib/arm-linux-gnueabihf/unity-scopes/smartscopesproxy upstart
  phablet  20493  0.0  0.3  52036  3928 ?        Sl   11:18   0:00 /usr/lib/arm-linux-gnueabihf/thumbnailer/thumbnailer-service
  phablet   3814  0.0  0.3  63724  3912 ?        Ssl  Nov14   1:14 /usr/lib/arm-linux-gnueabihf/indicator-network/indicator-network-service
  phablet   3861  0.0  0.3 352740  3848 ?        Ssl  Nov14   1:28 /usr/lib/arm-linux-gnueabihf/unity-scopes/scoperegistry
  phablet   2794  0.0  0.3 131456  3712 ?        Ssl  Nov14   0:10 /usr/bin/telephony-service-indicator
  root      1949  0.1  0.3 178760  3408 ?        Sl   Nov14  11:05 unity-system-compositor --disable-overlays=false --spinner=/usr/bin/unity-system-compositor-spinner --file /run/mir_socket --from-dm-fd 10 --to-dm-fd 13 --vt 1
  phablet   7245  0.0  0.3 120452  3408 ?        Sl   Nov14   0:09 /usr/bin/telephony-service-approver

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1647982/+subscriptions