After discussing this with Ted, I think the right answer architecturally
is to move these clients to talking to the session bus, where filtering
of messages will be done for us automatically, and have the session init
register on the session bus, rather than deploying an unreliable change
like having upstart only keep one message at a time in the queue for a
client.  This will require a few changes in upstart, including working
out the correct way to get the session init to register with the session
bus after dbus has been spawned (presumably we want to reuse SIGUSR1 for
this, and maybe get the session bus address out of the global
environment?)

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

Title:
  uevent spam causes libdbus client code in session upstart to consume
  massive amounts of memory on Ubuntu Touch

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to