← Back to team overview

desktop-packages team mailing list archive

[Bug 1441474] Re: gnome-keyring-daemon uses a lot of memory


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

** Changed in: gnome-keyring (Ubuntu)
       Status: New => Confirmed

You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-keyring in Ubuntu.

  gnome-keyring-daemon uses a lot of memory

Status in Linux Mint:
Status in gnome-keyring package in Ubuntu:

Bug description:
  1) The version and edition of Linux Mint and version of gnome-keyring:

  $ cat /etc/lsb-release
  DISTRIB_DESCRIPTION="Linux Mint 17.1 Rebecca"

  $ cinnamon --version
  Cinnamon 2.4.7

  $ dpkg -l gnome-keyring       
  | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
  |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
  ||/ Name           Version      Architecture Description
  ii  gnome-keyring  3.10.1-1ubun amd64        GNOME keyring services (daemon an

  2) How to reproduce it.

  Start one or more gnome-terminal sessions connected to remote server
  by ssh and leave them open for at least half an hour or more, e.g.
  snippet from pstree:

          |                     |-bash(4195)
          |                     |-bash(14698)---ssh(14759)
          |                     |-bash(16908)
          |                     |-bash(18025)
          |                     |-bash(19604)
          |                     |-bash(20717)---man(20779)---pager(20795)
          |                     |-bash(23307)
          |                     |-bash(23607)-+-less(24019)
          |                     |             `-pstree(24018)

  3) The result in an hour or more is gnome-kerying-daemon process is using almost 1/6 of all of the host memory:

  $ ps -p 32051 -o pcpu,pmem,pid,comm
   1.1 15.8 32051 gnome-keyring-d

  $ cat /proc/32051/cmdline 

  If freshly started it is using not more than 1MB or less.

  4) The expected is to leave the session for days at a time without any
  need for gnome-keyring-daemon to be restarted.

  5) The problem is reproducible always, just have to leave some
  terminals open for some time.

  Some remarks:
  - Tried to reproduce similar behaviour with Ubuntu 14.04 and 14.10 without success.
  - The same issue was reproducible also in Linux Mint 17 Qiana. In fact the host was upgraded from Quiana to Rebecca some months ago.
  - Logging out and log-in back resolves the issue as the keyring daemon is restarted.
  - Attempting to restart just the process results in:
  /usr/bin/gnome-keyring-daemon -r --daemonize
  ** Message: couldn't communicate with already running daemon: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
  ** Message: Replacing daemon, using directory: /run/user/1000/keyring-PQyeQe

  Password unlock prompt opens for every gnome-terminal window or
  session opened.

To manage notifications about this bug go to: