← Back to team overview

desktop-packages team mailing list archive

[Bug 1527200] [NEW] gnome-keyring memory use (leak?)

 

Public bug reported:

I see gnome-keyring-daemon using hundreds of meabytes after just a few
days of uptime. Here's one with weeks of uptime:

$ cat /proc/`pidof gnome-keyring-daemon`/status
Name:	gnome-keyring-d
State:	S (sleeping)
Tgid:	2437
Ngid:	0
Pid:	2437
PPid:	2243
TracerPid:	0
Uid:	1000	1000	1000	1000
Gid:	1000	1000	1000	1000
FDSize:	64
Groups:	4 24 27 30 46 107 124 127 136 1000 
VmPeak:	  916888 kB
VmSize:	  916632 kB
VmLck:	    2404 kB
VmPin:	       0 kB
VmHWM:	  219472 kB
VmRSS:	   87048 kB
VmData:	  861876 kB
VmStk:	     136 kB
VmExe:	     872 kB
VmLib:	    7292 kB
VmPTE:	     956 kB
VmSwap:	  314888 kB
Threads:	7
SigQ:	0/31584
SigPnd:	0000000000000000
ShdPnd:	0000000000000000
SigBlk:	0000000000005201
SigIgn:	0000000000001000
SigCgt:	0000000180000000
CapInh:	0000000000000000
CapPrm:	0000000000004000
CapEff:	0000000000004000
CapBnd:	0000003fffffffff
Seccomp:	0
Cpus_allowed:	f
Cpus_allowed_list:	0-3
Mems_allowed:	00000000,00000001
Mems_allowed_list:	0
voluntary_ctxt_switches:	693063
nonvoluntary_ctxt_switches:	289977

90 MB RSS and 300 MB in swap when I've had plenty of memory free
suggests there's a lot of data that is not actually used. (If I'm
interpreting the above correctly, the most that's ever been in use at
the same time is 200 MB.)

Maybe a memory leak?

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: gnome-keyring 3.10.1-1ubuntu4.2
ProcVersionSignature: Ubuntu 3.19.0-33.38~14.04.1-generic 3.19.8-ckt7
Uname: Linux 3.19.0-33-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Dec 17 12:36:28 2015
InstallationDate: Installed on 2012-11-10 (1131 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
SourcePackage: gnome-keyring
UpgradeStatus: Upgraded to trusty on 2014-04-19 (607 days ago)

** Affects: gnome-keyring (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug trusty

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-keyring in Ubuntu.
https://bugs.launchpad.net/bugs/1527200

Title:
  gnome-keyring memory use (leak?)

Status in gnome-keyring package in Ubuntu:
  New

Bug description:
  I see gnome-keyring-daemon using hundreds of meabytes after just a few
  days of uptime. Here's one with weeks of uptime:

  $ cat /proc/`pidof gnome-keyring-daemon`/status
  Name:	gnome-keyring-d
  State:	S (sleeping)
  Tgid:	2437
  Ngid:	0
  Pid:	2437
  PPid:	2243
  TracerPid:	0
  Uid:	1000	1000	1000	1000
  Gid:	1000	1000	1000	1000
  FDSize:	64
  Groups:	4 24 27 30 46 107 124 127 136 1000 
  VmPeak:	  916888 kB
  VmSize:	  916632 kB
  VmLck:	    2404 kB
  VmPin:	       0 kB
  VmHWM:	  219472 kB
  VmRSS:	   87048 kB
  VmData:	  861876 kB
  VmStk:	     136 kB
  VmExe:	     872 kB
  VmLib:	    7292 kB
  VmPTE:	     956 kB
  VmSwap:	  314888 kB
  Threads:	7
  SigQ:	0/31584
  SigPnd:	0000000000000000
  ShdPnd:	0000000000000000
  SigBlk:	0000000000005201
  SigIgn:	0000000000001000
  SigCgt:	0000000180000000
  CapInh:	0000000000000000
  CapPrm:	0000000000004000
  CapEff:	0000000000004000
  CapBnd:	0000003fffffffff
  Seccomp:	0
  Cpus_allowed:	f
  Cpus_allowed_list:	0-3
  Mems_allowed:	00000000,00000001
  Mems_allowed_list:	0
  voluntary_ctxt_switches:	693063
  nonvoluntary_ctxt_switches:	289977

  90 MB RSS and 300 MB in swap when I've had plenty of memory free
  suggests there's a lot of data that is not actually used. (If I'm
  interpreting the above correctly, the most that's ever been in use at
  the same time is 200 MB.)

  Maybe a memory leak?

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: gnome-keyring 3.10.1-1ubuntu4.2
  ProcVersionSignature: Ubuntu 3.19.0-33.38~14.04.1-generic 3.19.8-ckt7
  Uname: Linux 3.19.0-33-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.19
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Thu Dec 17 12:36:28 2015
  InstallationDate: Installed on 2012-11-10 (1131 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
  SourcePackage: gnome-keyring
  UpgradeStatus: Upgraded to trusty on 2014-04-19 (607 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-keyring/+bug/1527200/+subscriptions