Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LightDM memory leak? Or is it gtk-greeter?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7051
Location: almost Mile High in the USA

PostPosted: Mon Jan 11, 2016 10:12 pm    Post subject: LightDM memory leak? Or is it gtk-greeter? Reply with quote

Has anyone seen x11-misc/lightdm-1.10.5 leaking memory?

I don't really monitor my server that much, and usually leave it logged out with lightdm started. Today I noticed

Code:
  PID USER      PR  NI    VIRT    RES    SHR S  %CPU     TIME+ P   SWAP COMMAND
 3987 qemu      20   0 4655568 1.153g   1388 S   0.7 969:36.68 2 238828 qemu-system-i38
 4987 root      20   0 1626552 990.9m   3088 S   0.0  89:03.54 3 352148 lightdm-gtk-gre
 3635 qemu      20   0 2314432  91196   1296 S   0.3 213:06.82 3 350360 qemu-system-i38


I have 6GB RAM in the system and since I only have one large VM running at the moment, it's not a big deal, but it shouldn't be using nearly 1GB of RAM?

I suppose a restart of lightdm will clear it up. Uptime = 49 days, but unsure when I logged into the console last.

[EDIT]

Yes it is leaking very slowly, Not sure what's causing it to leak but after checking it again, the resident size has increased.

Restarting it got it back down to 35MB resident, 288MB virtual.

[EDIT 2]
After almost a day, it has increased to 48MB resident, 302MB virtual.

Looks like it leaks around 16MB/day, which is pretty close to what I saw yesterday before restarting.

And a link: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734526 but it refers to an old fixed bug? Though the rate of leakage is similar to what I see...
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Princess Nell
l33t
l33t


Joined: 15 Apr 2005
Posts: 738

PostPosted: Wed Jan 13, 2016 11:00 pm    Post subject: Reply with quote

My reading of the bug report you reference, and indeed your top excerpt indicates it's the greeter that leaks, x11-misc/lightdm-gtk-greeter. It is a separate package/ebuild.

The stable version of the greeter is 1.6.1, the bug report indicates that this problem is fixed in 1.8.2, but not 1.7.0. I see that 1.9.0 (2.0.0, 2.0.1) is available in portage, you could unmask and test this version.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7051
Location: almost Mile High in the USA

PostPosted: Wed Jan 13, 2016 11:20 pm    Post subject: Reply with quote

Ahh... Thought they were the same package, so this makes more sense now. Might need to get the gentoo devs to unmask a newer version.

Installed 2.0.1-r1 which is worse off the bat (384MB virt, 95MB RSS) but hope this won't leak further... we'll see in a few hours...

[edit]
Filed https://bugs.gentoo.org/show_bug.cgi?id=571960 as it looks like it's no longer leaking.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum