touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #52445
[Bug 1390084] Re: ubuntu-location-service is leaking memory a lot
I did not manage to reproduce with the latest image, keeping it high and
incomplete, though.
** Changed in: location-service (Ubuntu)
Importance: Critical => High
** Changed in: location-service (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to location-service in
Ubuntu.
https://bugs.launchpad.net/bugs/1390084
Title:
ubuntu-location-service is leaking memory a lot
Status in location-service package in Ubuntu:
Incomplete
Bug description:
Yesterday evening I tested two applications using positioning.
Everything was working fine. I can't remember if I have closed the
apps or not, but today I noticed unity8-dash being stuck in a restart-
loop. All open/recent apps were killed by the oom killer (lifecycled)
and the dash keeps getting killed by the oom killer and respawned by
upstart.
logging into the phone reveals that ubuntu-location-service is taking
approx 1GB of memory, causing everything else to be killed.
Here's some collected data:
Device: Nexus 4 (mako)
Image #: 6 (RTM channel)
----------------------------------------------
dmesg keeps on printing this repeatedly:
[101795.423688] send sigkill to 1431 (unity8-dash), adj 50, size 23410
[101807.612457] send sigkill to 1496 (unity8-dash), adj 50, size 23635
[101820.325321] send sigkill to 1550 (unity8-dash), adj 50, size 23748
[101833.122788] send sigkill to 1607 (unity8-dash), adj 50, size 24336
-----------------------------------------------
location-service's oom score info:
phablet@ubuntu-phablet:~$ cat /proc/984/oom_score
452
phablet@ubuntu-phablet:~$ cat /proc/984/oom_adj
0
phablet@ubuntu-phablet:~$ cat /proc/984/oom_score_adj
0
----------------------------------------------
excerp from top, sorted by memory consumption:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
984 root 20 0 3129260 913608 772 S 1,0 48,6 2:51.88 ubuntu-location
1062 radio 20 0 219820 211732 244 S 0,0 11,3 1:10.68 netmgrd
853 phablet 20 0 521780 139576 36304 S 8,7 7,4 28:30.99 unity8
2598 phablet 20 0 428556 74036 30212 R 91,1 3,9 0:09.28 unity8-dash
as we can see here, location-service is using about 1 GB reserved
memory, steadily growing (about 100kb every 10 mins). unity8-dash is
using all the CPU because it keeps getting respawned and killed.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/location-service/+bug/1390084/+subscriptions
References