Ubuntu

xfce4-volumed using too much RAM

Reported by Kangarooo Jānis on 2010-07-19
40
This bug affects 9 people
Affects Status Importance Assigned to Milestone
xfce4-volumed
Low
Steve Dodier-Lazaro
xfce4-volumed (Ubuntu)
Medium
Unassigned

Bug Description

Binary package hint: xfce4-volumed

Using too much ram see pic after 5h working and after restart also very much also pic

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: xfce4-volumed 0.1.8-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-9.14-generic 2.6.35-rc5
Uname: Linux 2.6.35-9-generic i686
Architecture: i386
Date: Tue Jul 20 00:39:57 2010
EcryptfsInUse: Yes
InstallationMedia: Xubuntu 10.10 "Maverick Meerkat" - Alpha i386 (20100701)
ProcEnviron:
 LANG=lv_LV.utf8
 SHELL=/bin/bash
SourcePackage: xfce4-volumed
---
Architecture: i386
DistroRelease: Ubuntu 10.10
EcryptfsInUse: Yes
InstallationMedia: Xubuntu 10.10 "Maverick Meerkat" - Alpha i386 (20100701)
Package: xfce4-mixer 1:4.6.1-2ubuntu2
PackageArchitecture: i386
ProcEnviron:
 LANG=lv_LV.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.35-9.14-generic 2.6.35-rc5
Tags: maverick
Uname: Linux 2.6.35-9-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Kangarooo Jānis (kangarooo) wrote :
tags: added: apport-collected
description: updated

apport information

Kangarooo Jānis (kangarooo) wrote :

Heres ram size

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 417778, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

Changed in xfce4-volumed (Ubuntu):
status: New → Confirmed

This bug is no longer a duplicate of bug 417778. That bug concerns xfce4-volumed taking 100% of the CPU. This bug was filed because it is using too much ram. This bug can be confirmed by checking the image attached.

Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better!

Changed in xfce4-volumed (Ubuntu):
importance: Undecided → Medium
summary: - Using too much RAM
+ xfce4-volumed using too much RAM
tags: added: xubuntu
Steve Dodier-Lazaro (sidi) wrote :

Please do not get confused between virtual memory and write memory. On your system, xfce4-volumed appears to be using 600kiB of RAM, and then 6MiB. This still indicates a memory leak, however, but I'm not sure the code I wrote is responsible for it (since it was audited for memory leaks and none were found except for some oneshot code run at initialization).

I have some code to commit for xfce4-volumed that might remove some of the memory leaks (and might add some) since it will change the library used for key bindings. I'm not going to investigate the memory leaks till then.

Changed in xfce4-volumed:
assignee: nobody → Steve Dodier (sidi)
importance: Undecided → Low
status: New → Confirmed
Kangarooo Jānis (kangarooo) wrote :

Here 2 different comps screenshots both Xubuntu 10.10 alpha2 with latest updates

Kangarooo Jānis (kangarooo) wrote :

This also affects oneiric:

VmPeak: 574128 kB
VmSize: 573104 kB
VmLck: 0 kB
VmHWM: 9024 kB
VmRSS: 8248 kB
VmData: 86152 kB
VmStk: 136 kB
VmExe: 24 kB
VmLib: 23512 kB
VmPTE: 140 kB
VmSwap: 0 kB

574MB is a bit much for a daemon that simply adjusts the volume.

Uptime of 21 days.

$ ps uax | grep xfce4-volumed
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
bo 1667 0.0 5.5 1209524 456488 ? Ssl Jun30 5:01 xfce4-volumed

..so 445 MiB.

Indeed. and still leaking/consuming an inordinate amount of memory for what it does:

  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
 4889 brian 20 0 570m 4512 2716 S 0 0.1 0:14.73 xfce4-volumed

Yes, the RES is quite small compared to the VIRT, but really why does such a utility need almost 600MB of memory, virtual or otherwise?

Hrm. I don't see the launchpad function to link to other bug trackers any more.

In any case, I have filed this bug upstream at https://bugzilla.xfce.org/show_bug.cgi?id=9144

yurx cherio (cherio) wrote :

Still happening in 12.04 64bit. 312M is "a bit excessive" for volume management.

Filipe Boleto (fboleto) wrote :

Linux Mint 14 xfce edition with the same issue

$ ps uax | grep xfce4-volumed
uskto 2442 0.0 3.3 2039656 268096 ? Tsl Jun26 6:25 xfce4-volumed

Any suggestion workaround?

thank you

micsu (micsu-z) wrote :

same here :(
fresh install of Xubuntu 12.04.3 + updates
up time 27 hrs
RSS=8MiB
VSZ=262MiB

thanks, robert

Steve Dodier-Lazaro (sidi) wrote :

As I've written a few years back, the code in xfce4-volumed itself does not leak (much). I'm pretty convinced that leaks occur within gstreamer for certain types of configurations / cards, rather than within xvd itself (though I will correct my code if proven wrong :) ).

People posting 'ps aux' commands will not help me to figure out what triggers the leaks, since that does not tell me what card they have, and how their gstreamer is configured.

Please also note that xvd is no longer officially supported, and some distros ship a modified version with a PulseAudio backend. I'd need at the very least to know which backend is being used and what hardware/software is being used, so I can forward bugs to gstreamer if appropriate.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.