[Bug 186354] Re: X server memory leaks related to dbus
** Changed in: xorg-server Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/186354 Title: X server memory leaks related to dbus -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 186354] Re: X server memory leaks related to dbus
** Changed in: xorg-server Importance: Medium => Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/186354 Title: X server memory leaks related to dbus -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 186354] Re: X server memory leaks related to dbus
Adam Porter: Please file a new bug (using ubuntu-bug xorg), the original reporter says this is not an issue anymore and you problem needs logs to analyze and is most likely different. ** Changed in: xorg-server (Ubuntu) Status: Confirmed => Fix Released -- X server memory leaks related to dbus https://bugs.launchpad.net/bugs/186354 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 186354] Re: X server memory leaks related to dbus
Correction, logging out and back in doesn't reduce the X process's memory usage. When I log back in, it's the same X process PID, and RSS is about the same. If I log out, restart X, and log back in, it's back to normal usage. For example, just now I restarted X, loaded Konqueror, and came to this bug's page. # ps aux | grep X USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 8918 7.5 2.6 220520 108072 tty7Ss+ 14:09 0:14 /usr/bin/X Still seems like a lot to me, but it's certainly better than the 500+ MB it was using before. -- X server memory leaks related to dbus https://bugs.launchpad.net/bugs/186354 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 186354] Re: X server memory leaks related to dbus
I'm using Kubuntu Lucid amd64 with KDE4, an ATI Radeon HD 4770 with fglrx drivers. X seems to be leaking a lot of memory. When I first log in to a KDE session my system RAM usage is around 650 MB. After a day or so of normal usage, and then closing all apps that weren't running right after I logged in, my RAM usage is around 1400 MB. X is using more than any other process on the system by far, and it's 13.1% of my 4 GB of RAM. If I log out and back in, RAM usage goes back to around 650 MB. This problem doesn't seem to exist in Kubuntu Hardy. # ps aux | grep X USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1048 3.3 13.0 690928 528600 tty7Ss+ 02:41 22:28 /usr/bin/X... ** Changed in: xorg-server (Ubuntu) Status: Incomplete => Confirmed -- X server memory leaks related to dbus https://bugs.launchpad.net/bugs/186354 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 186354] Re: X server memory leaks related to dbus
I don't see it too on Lucid at now: # ps aux | grep X USER PID %CPU %MEMVSZ RSS TTY STAT START TIME COMMAND root 9599 5.0 0.8 149052 33864 tty7 Ss+ May02 340:29 /usr/bin/X -nr -nolisten tcp :0 vt7 -auth /var/run/xauth/A:0-7SRb1a # uptime 19:34:48 up 4 days, 18:10, 6 users, load average: 0.25, 0.41, 0.49 ~about 33mb -- X server memory leaks related to dbus https://bugs.launchpad.net/bugs/186354 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 186354] Re: X server memory leaks related to dbus
I don't see this problem any more. -- X server memory leaks related to dbus https://bugs.launchpad.net/bugs/186354 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 186354] Re: X server memory leaks related to dbus
[This is an automatic notification.] Hi Lukas, This bug was reported against an earlier version of Ubuntu, can you test if it still occurs on Lucid? Please note we also provide technical support for older versions of Ubuntu, but not in the bug tracker. Instead, to raise the issue through normal support channels, please see: http://www.ubuntu.com/support If you are the original reporter and can still reproduce the issue on Lucid, please run the following command to refresh the report: apport-collect 186354 If you are not the original reporter, please file a new bug report, so we can work with you as the original reporter instead (you can reference bug 186354 in your report if you think it may be related): ubuntu-bug xorg If by chance you can no longer reproduce the issue on Lucid or if you feel it is no longer relevant, please mark the bug report 'Fix Released' or 'Invalid' as appropriate, at the following URL: https://bugs.launchpad.net/ubuntu/+bug/186354 ** Changed in: xorg-server (Ubuntu) Status: Triaged => Incomplete ** Tags added: needs-retested-on-lucid-by-june -- X server memory leaks related to dbus https://bugs.launchpad.net/bugs/186354 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 186354] Re: X server memory leaks related to dbus
Hello, Disabling xinerama worked for me too. On ubuntu 9.04 (using an Intel GMA chipset), I added this at the bottom of my /etc/X11/xorg.conf file and then had no more problem after restarting the X server: Section "Serverflags" Option "Xinerama" "false" Endsection -- X server memory leaks related to dbus https://bugs.launchpad.net/bugs/186354 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 186354] Re: X server memory leaks related to dbus
I have the same problem and took also an xrestop snapshot. Looks like plasma-desktop is eating up memory. But when i use top its seams xorg is eating it. -- snippet from output of top PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 2270 bernhard 20 0 1020m 97m 17m S9 4.9 6:29.28 plasma-desktop 2268 bernhard 20 0 555m 20m 11m S5 1.0 19:04.35 kwin 1353 root 20 0 4884m 1.0g 3468 S3 52.4 6:43.74 Xorg 2304 bernhard 20 0 701m 23m 13m S1 1.2 2:11.15 krunner ** Attachment added: "xrestop.log - highmem for plasma-desktop" http://launchpadlibrarian.net/36544096/xrestop.log -- X server memory leaks related to dbus https://bugs.launchpad.net/bugs/186354 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 186354] Re: X server memory leaks related to dbus
** Changed in: xorg-server Status: Confirmed => Invalid -- X server memory leaks related to dbus https://bugs.launchpad.net/bugs/186354 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 186354] Re: X server memory leaks related to dbus
he, this is my valgrind log file. Command: valgrind --log-file=vdebug.log --leak-check=full startx > xdebug.log vdebug.log is attachted, but not very helpful i think. is my command wrong? ** Attachment added: "Log file of Valgrind" http://launchpadlibrarian.net/29998217/vdebug.log -- X server memory leaks related to dbus https://bugs.launchpad.net/bugs/186354 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 186354] Re: X server memory leaks related to dbus
@Murz, installing debug symbols for the X server (xserver-xorg-core-dbg package) and then running it under valgrind with the --leak-check=full parameter might be sufficient to pin point a malloc/free mismatch. I have never tried this myself though; I have no idea if it's useful in practice for the X server but I think so.. -- X server memory leaks related to dbus https://bugs.launchpad.net/bugs/186354 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 186354] Re: X server memory leaks related to dbus
What additional info I can give you for describing this bug? -- X server memory leaks related to dbus https://bugs.launchpad.net/bugs/186354 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 186354] Re: X server memory leaks related to dbus
Confirm this issue on fresh install of Ubuntu Jaunty AMD64 and KDE 4.2.2 or KDE 4.3 Beta 1. Output of xrestop is attached. $ ps aux | grep X USER PID %CPU %MEMVSZ RSS TTY STAT START TIME COMMAND root 2755 21.8 20.3 815752 617420 tty7Ss+ 09:59 107:16 /usr/bin/X -br -nolisten tcp :0 vt7 -auth /var/run/xauth/A:0-iUW6TE and htop command says that /usr/bin/X process uses 1058M of VIRT and 563M of RES (19.0% of 3GB memory). ** Attachment added: "Output of xrestop after ~6 hours of work" http://launchpadlibrarian.net/27173723/xrestop_output.txt -- X server memory leaks related to dbus https://bugs.launchpad.net/bugs/186354 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 186354] Re: X server memory leaks related to dbus
Can you correlate the X leaking to any particular type of X resource inside the "xrestop" program? -- X server memory leaks related to dbus https://bugs.launchpad.net/bugs/186354 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 186354] Re: X server memory leaks related to dbus
I also have noticed the X binary growing to 1.2GB on my laptop running 9.0.4 and compiz. It resets down to around 400MB if I restart X. -- X server memory leaks related to dbus https://bugs.launchpad.net/bugs/186354 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 186354] Re: X server memory leaks related to dbus
I am running the patched version of the intel driver 2:2.7.0-1ubuntu2~xup~1 to help with the freeze, and I also have a severe memory leak. Overnight (approx 12 hours) my swap space grew from nothing to 2G. When I tried to logout kdm apparently hung. I could ssh in from another machine and re-start kdm, and swap cleared to nothing. -- X server memory leaks related to dbus https://bugs.launchpad.net/bugs/186354 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 186354] Re: X server memory leaks related to dbus
wa...@wayne-laptop:~/tmp/azure_dev/src$ lspci | grep VGA 00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c) wa...@wayne-laptop:~/tmp/azure_dev/src$ uname -a Linux Wayne-laptop 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux -- X server memory leaks related to dbus https://bugs.launchpad.net/bugs/186354 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 186354] Re: X server memory leaks related to dbus
I don't know whether the following info help. I restarted my system when I left my office and didn't run any big program, like Firefox. Then use "free -m" to exam the memory usage. wa...@wayne-laptop:~$ free -m total used free sharedbuffers cached Mem: 2999518 2480 0 15302 -/+ buffers/cache:201 2798 Swap: 486 0486 I disabled sleep and hibernate, and in the next morning I ran "free -m" again. wa...@wayne-laptop:~$ free -m total used free sharedbuffers cached Mem: 2999830 2169 0116458 -/+ buffers/cache:255 2744 Swap: 486 0486 X.org including some daemons consumed more 300MB over one night. Is it reasonable? -- X server memory leaks related to dbus https://bugs.launchpad.net/bugs/186354 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs