FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Kubuntu Development

 
 
LinkBack Thread Tools
 
Old 12-24-2011, 03:42 PM
let rec
 
Default xorg memory leak

Hi,



I'm experiencing a huge memory leak in xorg.

Sometimes virtual memory size gets up to 12 Gb (I'm not sure how it's possible on a machine with 2Gb of memory and 2Gb of swap).

My system gets sluggish and I have to restart xorg once a day, which feels a bit win95ish.



My setup is: Kubuntu 11.10 64 bit, KDE 4.7.4, ati mobility radeon x1350.

I've been hoping that fix of https://bugs.kde.org/show_bug.cgi?id=271934#c43 would resolve the issue, but it seems it's not the case.





I tried to kill and restart top memory KDE processes to see if the leak is caused by one of them, but it's not the case either.

My current top output sorted by mem usage looks like:


top - 00:40:51 up 1 day,* 6:54,* 9 users,* load average: 0.20, 0.18, 0.15
Tasks: 141 total,** 1 running, 140 sleeping,** 0 stopped,** 0 zombie
Cpu(s): 30.6%us, 11.5%sy,* 0.0%ni, 57.0%id,* 0.0%wa,* 0.0%hi,* 1.0%si,* 0.0%st


Mem:** 2056332k total,* 1985548k used,*** 70784k free,***** 804k buffers
Swap:* 1998844k total,** 101084k used,* 1897760k free,** 191648k cached

* PID USER***** PR* NI* VIRT* RES* SHR S %CPU %MEM*** TIME+* COMMAND******************************************* ***************************************


29075 root***** 20** 0 8373m 692m* 29m S** 29 34.5* 11:22.99 Xorg********************************************** ***************************************
29324 user***** 20** 0 1370m 602m* 17m S*** 6 30.0** 7:19.01 firefox******************************************* ***************************************


29231 user***** 20** 0 1138m* 98m* 25m S*** 2* 4.9** 2:27.75 plasma-desktop******************************************* ********************************
30227 user***** 20** 0* 746m* 66m* 20m S** 16* 3.3** 7:54.23 vlc*********************************************** ***************************************


29385 user***** 20** 0* 581m* 49m* 19m S*** 0* 2.5** 0:11.78 kopete******************************************** ***************************************
29219 user***** 20** 0* 653m* 48m* 13m S** 17* 2.4** 3:12.64 kwin********************************************** ***************************************


29387 user***** 20** 0* 388m* 41m 6272 S*** 4* 2.1** 3:38.66 plugin-containe****************************************** ********************************
29383 user***** 20** 0* 474m* 34m* 17m S*** 0* 1.7** 0:24.46 konversation************************************** ***************************************


29306 user***** 20** 0* 427m* 30m* 15m S*** 5* 1.5** 2:55.08 konsole******************************************* ***************************************
29257 user***** 20** 0* 680m* 27m* 11m S*** 0* 1.4** 0:03.98 krunner******************************************* ***************************************


29201 user***** 20** 0* 706m* 22m* 12m S*** 0* 1.1** 0:04.03 kded4********************************************* ***************************************
29272 user***** 20** 0* 647m* 20m* 10m S*** 0* 1.0** 0:00.53 kmix********************************************** ***************************************


29209 user***** 20** 0* 286m* 13m 9756 S*** 0* 0.7** 0:00.32 kwalletd****************************************** ***************************************
29416 user***** 20** 0* 253m* 12m 8676 S*** 0* 0.6** 0:00.28 kwalletmanager************************************ ***************************************


29276 user***** 20** 0* 260m* 12m 8528 S*** 0* 0.6** 0:00.39 klipper******************************************* ***************************************
29269 user***** 20** 0* 340m* 11m 8152 S*** 0* 0.6** 0:00.21 polkit-kde-auth





Does it look sane?
Can someone recommend any way to track root cause of the issue down?
I'm ok to install debug symbols and debug, but not sure what is the most efficient approach would be.
Any ideas would be much appreciated.





Thanks,
Andrew
--
kubuntu-devel mailing list
kubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-devel
 
Old 12-27-2011, 01:03 AM
Mackenzie Morgan
 
Default xorg memory leak

On Sat, Dec 24, 2011 at 11:42 AM, let rec <shweduke@gmail.com> wrote:
> Hi,
>
> I'm experiencing a huge memory leak in xorg.
> Sometimes virtual memory size gets up to 12 Gb (I'm not sure how it's
> possible on a machine with 2Gb of memory and 2Gb of swap).

Virtual is how much it thinks it has access to, not necessarily how
much it's actually got holding bits. I usually go by the "resident"
column. Xorg is a special beast because it's got so many processes
running under it. Its CPU usage also looks high, but when I've asked X
type people about that before, they said it means some graphical
application is spamming X with requests and X is trying to keep up
with them, so I'd actually look at seeing what happens with killing
individual applications and which makes a big difference to X's
resource usage.

> top - 00:40:51 up 1 day,* 6:54,* 9 users,* load average: 0.20, 0.18, 0.15
> Tasks: 141 total,** 1 running, 140 sleeping,** 0 stopped,** 0 zombie
> Cpu(s): 30.6%us, 11.5%sy,* 0.0%ni, 57.0%id,* 0.0%wa,* 0.0%hi,* 1.0%si,
> 0.0%st
> Mem:** 2056332k total,* 1985548k used,*** 70784k free,***** 804k buffers
> Swap:* 1998844k total,** 101084k used,* 1897760k free,** 191648k cached
>
> * PID USER***** PR* NI* VIRT* RES* SHR S %CPU %MEM*** TIME+
> COMMAND
> 29075 root***** 20** 0 8373m 692m* 29m S** 29 34.5* 11:22.99
> Xorg

--
Mackenzie Morgan

--
kubuntu-devel mailing list
kubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-devel
 
Old 12-29-2011, 06:14 AM
let rec
 
Default xorg memory leak

The bug seems to be gone after a recent bunch of KDE related updates!
Is there any way to know what exactly has been changed there?
I'm keen to get to the bottom of the issue.

On Sun, Dec 25, 2011 at 12:42 AM, let rec <shweduke@gmail.com> wrote:


Hi,



I'm experiencing a huge memory leak in xorg.

Sometimes virtual memory size gets up to 12 Gb (I'm not sure how it's possible on a machine with 2Gb of memory and 2Gb of swap).

My system gets sluggish and I have to restart xorg once a day, which feels a bit win95ish.



My setup is: Kubuntu 11.10 64 bit, KDE 4.7.4, ati mobility radeon x1350.

I've been hoping that fix of https://bugs.kde.org/show_bug.cgi?id=271934#c43 would resolve the issue, but it seems it's not the case.






I tried to kill and restart top memory KDE processes to see if the leak is caused by one of them, but it's not the case either.

My current top output sorted by mem usage looks like:


top - 00:40:51 up 1 day,* 6:54,* 9 users,* load average: 0.20, 0.18, 0.15
Tasks: 141 total,** 1 running, 140 sleeping,** 0 stopped,** 0 zombie
Cpu(s): 30.6%us, 11.5%sy,* 0.0%ni, 57.0%id,* 0.0%wa,* 0.0%hi,* 1.0%si,* 0.0%st



Mem:** 2056332k total,* 1985548k used,*** 70784k free,***** 804k buffers
Swap:* 1998844k total,** 101084k used,* 1897760k free,** 191648k cached

* PID USER***** PR* NI* VIRT* RES* SHR S %CPU %MEM*** TIME+* COMMAND******************************************* ***************************************



29075 root***** 20** 0 8373m 692m* 29m S** 29 34.5* 11:22.99 Xorg********************************************** ***************************************
29324 user***** 20** 0 1370m 602m* 17m S*** 6 30.0** 7:19.01 firefox******************************************* ***************************************



29231 user***** 20** 0 1138m* 98m* 25m S*** 2* 4.9** 2:27.75 plasma-desktop******************************************* ********************************
30227 user***** 20** 0* 746m* 66m* 20m S** 16* 3.3** 7:54.23 vlc*********************************************** ***************************************



29385 user***** 20** 0* 581m* 49m* 19m S*** 0* 2.5** 0:11.78 kopete******************************************** ***************************************
29219 user***** 20** 0* 653m* 48m* 13m S** 17* 2.4** 3:12.64 kwin********************************************** ***************************************



29387 user***** 20** 0* 388m* 41m 6272 S*** 4* 2.1** 3:38.66 plugin-containe****************************************** ********************************
29383 user***** 20** 0* 474m* 34m* 17m S*** 0* 1.7** 0:24.46 konversation************************************** ***************************************



29306 user***** 20** 0* 427m* 30m* 15m S*** 5* 1.5** 2:55.08 konsole******************************************* ***************************************
29257 user***** 20** 0* 680m* 27m* 11m S*** 0* 1.4** 0:03.98 krunner******************************************* ***************************************



29201 user***** 20** 0* 706m* 22m* 12m S*** 0* 1.1** 0:04.03 kded4********************************************* ***************************************
29272 user***** 20** 0* 647m* 20m* 10m S*** 0* 1.0** 0:00.53 kmix********************************************** ***************************************



29209 user***** 20** 0* 286m* 13m 9756 S*** 0* 0.7** 0:00.32 kwalletd****************************************** ***************************************
29416 user***** 20** 0* 253m* 12m 8676 S*** 0* 0.6** 0:00.28 kwalletmanager************************************ ***************************************



29276 user***** 20** 0* 260m* 12m 8528 S*** 0* 0.6** 0:00.39 klipper******************************************* ***************************************
29269 user***** 20** 0* 340m* 11m 8152 S*** 0* 0.6** 0:00.21 polkit-kde-auth






Does it look sane?
Can someone recommend any way to track root cause of the issue down?
I'm ok to install debug symbols and debug, but not sure what is the most efficient approach would be.
Any ideas would be much appreciated.






Thanks,
Andrew


--
kubuntu-devel mailing list
kubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/kubuntu-devel
 

Thread Tools




All times are GMT. The time now is 04:57 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org