So, for some reason I had unity-greeter-session-broadcast installed.
This has a user session dbus rule:

start on dbus BUS=system SIGNAL=StartUrl
INTERFACE=com.canonical.Unity.Greeter.Broadcast
OBJPATH=/com/canonical/Unity/Greeter/Broadcast

which is the only dbus rule for my user session.  When I removed unity-
greeter-session-broadcast, I can no longer see all the dbus messages in
upstart-monitor, and init --user doesn't seem to leak any memory.

** Description changed:

  Easiest way to see this:
+ 0. Make sure there is a user session job with a dbus rule (eg 
unity-greeter-session-broadcast)
  1. Install and run system-load-indicator (indicator-multiload)
  2. Set the update interval to 100ms
  3. Now watch the memory use of init --user increase by 100kb per second
  4. Also open up upstart-monitor to see all the dbus messages being sent
  
  (This might also be a bug in unity-panel-service or system-load-
  indicator...)
  
  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: upstart 1.12.1-0ubuntu1
  ProcVersionSignature: Ubuntu 3.13.0-22.44-generic 3.13.8
  Uname: Linux 3.13.0-22-generic x86_64
  ApportVersion: 2.14-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sat Apr  5 18:17:40 2014
  InstallationDate: Installed on 2013-06-22 (287 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130621)
  SourcePackage: upstart
  UpgradeStatus: Upgraded to trusty on 2013-12-05 (120 days ago)
  UpstartBugCategory: Session
  UpstartRunningSessionCount: 1
  UpstartRunningSessionVersion: init (upstart 1.12.1)
  UpstartRunningSystemVersion: init (upstart 1.12.1)

** Description changed:

  Easiest way to see this:
  0. Make sure there is a user session job with a dbus rule (eg 
unity-greeter-session-broadcast)
  1. Install and run system-load-indicator (indicator-multiload)
  2. Set the update interval to 100ms
  3. Now watch the memory use of init --user increase by 100kb per second
  4. Also open up upstart-monitor to see all the dbus messages being sent
  
- (This might also be a bug in unity-panel-service or system-load-
- indicator...)
  
  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: upstart 1.12.1-0ubuntu1
  ProcVersionSignature: Ubuntu 3.13.0-22.44-generic 3.13.8
  Uname: Linux 3.13.0-22-generic x86_64
  ApportVersion: 2.14-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sat Apr  5 18:17:40 2014
  InstallationDate: Installed on 2013-06-22 (287 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130621)
  SourcePackage: upstart
  UpgradeStatus: Upgraded to trusty on 2013-12-05 (120 days ago)
  UpstartBugCategory: Session
  UpstartRunningSessionCount: 1
  UpstartRunningSessionVersion: init (upstart 1.12.1)
  UpstartRunningSystemVersion: init (upstart 1.12.1)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1302955

Title:
  upstart user session leaks all the dbus events it receives

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1302955/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to