Geoclue 2 very high memory usage

Bug #1827498 reported by Hugh Wormington
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
geoclue (Ubuntu)
Incomplete
Low
Unassigned

Bug Description

After geoclue 2 running at high CPU for some minutes I found CPU usage had dropped to zero but geoclue was still hogging a whopping 11GB of memory (the PC has 16GB). I stopped the geoclue service to recover the memory.

Kubuntu 18.04

$ apt-cache policy geoclue-2.0
geoclue-2.0:
  Installed: 2.4.7-1ubuntu1
  Candidate: 2.4.7-1ubuntu1
  Version table:
 *** 2.4.7-1ubuntu1 500
        500 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status

Happy to provide other info on request.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in geoclue (Ubuntu):
status: New → Confirmed
Revision history for this message
Andrew Gaul (gaul) wrote :

Using Fedora 31 with geoclue2-2.5.5-1.fc31 I also see an RSS of over 3 GB. gnome-shell is using almost as much; perhaps these are related?

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
geoclue 1520 0.3 19.3 7513496 3139312 ? Ssl Oct03 129:56 /usr/libexec/geoclue
gaul 1850 1.8 15.5 5809552 2533988 ? Ssl Oct03 766:09 /usr/bin/gnome-shell

Revision history for this message
Andrew Gaul (gaul) wrote :

Oddly my system reports 2.5.5 installed but 2.5.3 active:

$ /usr/libexec/geoclue --version
2.5.3

It appears 2.5.4 and 2.5.5 address some memory leaks:

https://gitlab.freedesktop.org/geoclue/geoclue/issues/120

Revision history for this message
Ian Turner (vectro) wrote :

I saw this issue using geoclue-2.0 2.5.3-1ubuntu1 on eoan.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Is anyone still seeing that issue in focal?

Changed in geoclue (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.