Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#15838 - [dbus-core] D-Bus memory leaks?

Attached to Project: Arch Linux
Opened by rida (rida) - Thursday, 06 August 2009, 22:57 GMT
Last edited by Jan de Groot (JGC) - Saturday, 07 November 2009, 23:15 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Jan de Groot (JGC)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Hello,

Since an update I did in June (i can't really remember when), i can't use gnome more than 2-3 weeks in a row because of D-Bus taking too much memory over time. The issue is if I restart D-Bus, I lose my session...

After a simple test, I think i found the application using too much (or not) d-bus: epiphany. I use epiphany heavily (opening and closing several instances of it). The only other application that is running is irssi in a terminal (i think/hope it doesn't rely on d-bus) and pidgin (runs all day).

The test consisted of:
* a ps aux of the dbus-daemon process,
* the use of epiphany: browsing a few pages, in my example, finding objects on ebay during 2 minutes
* running ps aux again on the dbus-daemon process
* and finally do the math.

I know, it's cheap, but the results are:
none 5887 0.1 8.3 271544 255752 ? Ss Jul10 72:47 /usr/bin/dbus-daemon --fork --print-pid 6 --print-address 9 --session
none 5887 0.1 8.3 272700 256888 ? Ss Jul10 72:49 /usr/bin/dbus-daemon --fork --print-pid 6 --print-address 9 --session

I did a third one after talking about this bug on launchpad and posting it here:
none 5887 0.1 8.4 275124 259396 ? Ss Jul10 72:55 /usr/bin/dbus-daemon --fork --print-pid 6 --print-address 9 --session

Additional info:
* package version(s) :
$ yaourt -Ss dbus | grep installed
core/dbus-core 1.2.14-1 [installed] (base)
extra/dbus 1.2.14-1 [installed]
extra/dbus-glib 0.80-1 [installed]
extra/dbus-python 0.83.0-2 [installed]
* config and/or log files etc.

Steps to reproduce:
* a ps aux of the dbus-daemon process,
* the use of epiphany: browsing a few pages, in my example, finding objects on ebay during 2 minutes
* running ps aux again on the dbus-daemon process
* and finally do the math.
This task depends upon

Closed by  Jan de Groot (JGC)
Saturday, 07 November 2009, 23:15 GMT
Reason for closing:  Fixed
Comment by Jan de Groot (JGC) - Friday, 07 August 2009, 00:30 GMT
Can't reproduce it here. I'm a heavy epiphany user, this is my output:
[jan@jan ~]$ ps auxw | grep dbus
jan 3426 0.0 0.0 9168 1716 ? Ss Aug05 0:07 /usr/bin/dbus-daemon --fork --print-pid 6 --print-address 9 --session

Can you find out things using dbus-monitor? That program attaches to dbus and monitors every message that goes over dbus.
Comment by rida (rida) - Friday, 07 August 2009, 08:16 GMT
I'll you in a few hours, don't have my laptop right now.

My dbus-daemon has been running for more than 72 hours, that may come from this fact...
Comment by Jan de Groot (JGC) - Friday, 07 August 2009, 08:22 GMT
Something very weird is going on in your dbus, I haven't seen this before. I leave my system running for a week sometimes and never noticed these problems. As you can see from my ps aux output above, my dbus had been running for 2 days already.
Comment by rida (rida) - Friday, 07 August 2009, 08:26 GMT
Yeah, the thing is in the first days I don't notice anything... do you run an x86_64 arch too?
Comment by Gerardo Exequiel Pozzi (djgera) - Saturday, 07 November 2009, 21:06 GMT
any new status on this?
Comment by rida (rida) - Saturday, 07 November 2009, 23:12 GMT
Since Gnome 2.28, no more strange memory leaks. I hardly go over 1 Gb of used ram now...

Loading...