GNU bug report logs - #40116
GDM: Memory leak in .gnome-shell-real process

Previous Next

Package: guix;

Reported by: sirgazil <sirgazil <at> zoho.com>

Date: Wed, 18 Mar 2020 14:19:02 UTC

Severity: important

Merged with 41215

Done: Luis Felipe <luis.felipe.la <at> protonmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40116 in the body.
You can then email your comments to 40116 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#40116; Package guix. (Wed, 18 Mar 2020 14:19:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to sirgazil <sirgazil <at> zoho.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 18 Mar 2020 14:19:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: sirgazil <sirgazil <at> zoho.com>
To: "bug-guix" <bug-guix <at> gnu.org>
Subject: GDM: Memory leak in .gnome-shell-real process
Date: Wed, 18 Mar 2020 09:18:11 -0500
I can't use GNOME anymore because of the problem I explained in the following thread:

https://lists.gnu.org/archive/html/help-guix/2020-02/msg00206.html

On recent system upgrades, the problem got worse. Before, I could get to the end of the day despite the leak; but now it takes around 3 hours for the .gnome-shell-real process run by the gdm user to eat the remaining RAM.

It seems that the bug is stronger in the GNOME desktop, but I've seen, at least once, .gnome-shell-real using an abnormal amount of RAM while in sway (about 800 MiB).

My current guix:

$ guix describe
Generation 61	Mar 15 2020 08:44:39	(current)
  sirgazil-x 8274cd7
    repository URL: https://gitlab.com/sirgazil/guix-channel-x.git
    branch: master
    commit: 8274cd78f9f6d58e00e057a0eabe58e4e143cc4d
  guix a431a63
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: a431a63537c8103b2a58c9a55d90184fb5c90361


---
https://sirgazil.bitbucket.io/







Information forwarded to bug-guix <at> gnu.org:
bug#40116; Package guix. (Wed, 18 Mar 2020 15:11:02 GMT) Full text and rfc822 format available.

Message #8 received at 40116 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: 40116 <at> debbugs.gnu.org,  sirgazil <sirgazil <at> zoho.com>
Subject: Re: bug#40116: GDM: Memory leak in .gnome-shell-real process
Date: Wed, 18 Mar 2020 16:09:57 +0100
Hi sirgazil,

sirgazil via Bug reports for GNU Guix <bug-guix <at> gnu.org> skribis:

> I can't use GNOME anymore because of the problem I explained in the following thread:
>
> https://lists.gnu.org/archive/html/help-guix/2020-02/msg00206.html
>
> On recent system upgrades, the problem got worse. Before, I could get to the end of the day despite the leak; but now it takes around 3 hours for the .gnome-shell-real process run by the gdm user to eat the remaining RAM.

Ouch.

> It seems that the bug is stronger in the GNOME desktop, but I've seen, at least once, .gnome-shell-real using an abnormal amount of RAM while in sway (about 800 MiB).

Could you check if it happens in a VM?  That is, you build your GNOME
config with ‘guix system vm’, try to do some activity in the VM, and
check in top whether ‘gnome-shell’ is growing.

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#40116; Package guix. (Wed, 18 Mar 2020 16:10:02 GMT) Full text and rfc822 format available.

Message #11 received at 40116 <at> debbugs.gnu.org (full text, mbox):

From: Julien Lepiller <julien <at> lepiller.eu>
To: sirgazil <sirgazil <at> zoho.com>,40116 <at> debbugs.gnu.org
Subject: Re: bug#40116: GDM: Memory leak in .gnome-shell-real process
Date: Wed, 18 Mar 2020 12:09:36 -0400
Le 18 mars 2020 10:18:11 GMT-04:00, sirgazil via Bug reports for GNU Guix <bug-guix <at> gnu.org> a écrit :
>I can't use GNOME anymore because of the problem I explained in the
>following thread:
>
>https://lists.gnu.org/archive/html/help-guix/2020-02/msg00206.html
>
>On recent system upgrades, the problem got worse. Before, I could get
>to the end of the day despite the leak; but now it takes around 3 hours
>for the .gnome-shell-real process run by the gdm user to eat the
>remaining RAM.
>
>It seems that the bug is stronger in the GNOME desktop, but I've seen,
>at least once, .gnome-shell-real using an abnormal amount of RAM while
>in sway (about 800 MiB).
>
>My current guix:
>
>$ guix describe
>Generation 61	Mar 15 2020 08:44:39	(current)
>  sirgazil-x 8274cd7
>    repository URL: https://gitlab.com/sirgazil/guix-channel-x.git
>    branch: master
>    commit: 8274cd78f9f6d58e00e057a0eabe58e4e143cc4d
>  guix a431a63
>    repository URL: https://git.savannah.gnu.org/git/guix.git
>    branch: master
>    commit: a431a63537c8103b2a58c9a55d90184fb5c90361
>
>
>---
>https://sirgazil.bitbucket.io/

I'm also hit by that bug. I do not use gnome though, and the .gnome-session-real process is owned by gdm. Ram usage is at around 200MB when starting and after a few days (putting the laptop to sleep during the night), it got to 2.4GB, even though I don't really need or use it beside logging in. After another restart, it was at 600MB after a day. That memory usage is ridiculous :/




Information forwarded to bug-guix <at> gnu.org:
bug#40116; Package guix. (Wed, 18 Mar 2020 16:12:02 GMT) Full text and rfc822 format available.

Message #14 received at 40116 <at> debbugs.gnu.org (full text, mbox):

From: sirgazil <sirgazil <at> zoho.com>
To: "Ludovic Courtès" <ludo <at> gnu.org>
Cc: 40116 <40116 <at> debbugs.gnu.org>
Subject: Re: bug#40116: GDM: Memory leak in .gnome-shell-real process
Date: Wed, 18 Mar 2020 11:10:49 -0500
 ---- On Wed, 18 Mar 2020 10:09:57 -0500 Ludovic Courtès <ludo <at> gnu.org> wrote ----

[...]

 > > It seems that the bug is stronger in the GNOME desktop, but I've seen, at least once, .gnome-shell-real using an abnormal amount of RAM while in sway (about 800 MiB).
 > 
 > Could you check if it happens in a VM?  That is, you build your GNOME
 > config with ‘guix system vm’, try to do some activity in the VM, and
 > check in top whether ‘gnome-shell’ is growing.

I can try, but last time I did something like that the VM with GNOME was too slow to do anything (this computer only has 4 GiB of RAM).




Information forwarded to bug-guix <at> gnu.org:
bug#40116; Package guix. (Thu, 19 Mar 2020 18:14:01 GMT) Full text and rfc822 format available.

Message #17 received at 40116 <at> debbugs.gnu.org (full text, mbox):

From: sirgazil <sirgazil <at> zoho.com>
To: "40116" <40116 <at> debbugs.gnu.org>
Subject: GDM: Memory leak in .gnome-shell-real process
Date: Thu, 19 Mar 2020 13:13:32 -0500
I tried a virtual machine with my system configuration during 4 hours and couldn't reproduce the leak (I used "guix system vm"). ".gnome-shell-real" kept using about 260 MiB of RAM and it actually went down to 220 at some point.

In 4 hours, in my real system, the leak would have been visible.

I'm planning to create another virtual machine with "guix system vm-image" instead to install all the packages I have in my user profile and leave it running overnight to see if there is any difference.







Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 21 Mar 2020 22:18:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#40116; Package guix. (Sun, 22 Mar 2020 00:39:02 GMT) Full text and rfc822 format available.

Message #22 received at 40116 <at> debbugs.gnu.org (full text, mbox):

From: sirgazil <sirgazil <at> zoho.com>
To: "40116" <40116 <at> debbugs.gnu.org>
Subject: GDM: Memory leak in .gnome-shell-real process
Date: Sat, 21 Mar 2020 19:38:42 -0500
 > I'm planning to create another virtual machine with "guix system vm-image" instead to install all the packages I have in my user profile and leave it running overnight to see if there is any difference.

I wasn't able to create the VM image with this method. After an hour, the image was still building. I interrupted the process and gave up.







Information forwarded to bug-guix <at> gnu.org:
bug#40116; Package guix. (Mon, 23 Mar 2020 17:02:02 GMT) Full text and rfc822 format available.

Message #25 received at 40116 <at> debbugs.gnu.org (full text, mbox):

From: sirgazil <sirgazil <at> zoho.com>
To: "40116" <40116 <at> debbugs.gnu.org>
Subject: GDM: Memory leak in .gnome-shell-real process
Date: Mon, 23 Mar 2020 12:01:11 -0500
I experience the same as Julien yesterday in a computer reconfigured with sway (no GNOME), but still using GDM. Here's a screenshot of "top" with gdm's .gnome-shell-real using 2.5 GiB of RAM:

https://multimedialib.files.wordpress.com/2020/03/gnome-shell-real-leak-sway-2020-03-22.png

I'm currently trying other other desktop environments in combination with slim login manager to work around the issue.




Information forwarded to bug-guix <at> gnu.org:
bug#40116; Package guix. (Tue, 24 Mar 2020 13:16:02 GMT) Full text and rfc822 format available.

Message #28 received at 40116 <at> debbugs.gnu.org (full text, mbox):

From: sirgazil <sirgazil <at> zoho.com>
To: "40116" <40116 <at> debbugs.gnu.org>
Subject: GDM: Memory leak in .gnome-shell-real process
Date: Tue, 24 Mar 2020 08:15:33 -0500
 > I'm currently trying other other desktop environments in combination with slim login manager to work around the issue.

I've been using a configuration with SLiM and GNOME for more than 20 hours with no leaks.







Information forwarded to bug-guix <at> gnu.org:
bug#40116; Package guix. (Mon, 30 Mar 2020 02:36:32 GMT) Full text and rfc822 format available.

Message #31 received at 40116 <at> debbugs.gnu.org (full text, mbox):

From: Jan Nieuwenhuizen <janneke <at> gnu.org>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 40116 <at> debbugs.gnu.org,  sirgazil <sirgazil <at> zoho.com>
Subject: Re: bug#40116: GDM: Memory leak in .gnome-shell-real process
Date: Sun, 29 Mar 2020 18:08:17 +0200
Ludovic Courtès writes:

> Hi sirgazil,
>
> sirgazil via Bug reports for GNU Guix <bug-guix <at> gnu.org> skribis:
>
>> I can't use GNOME anymore because of the problem I explained in the following thread:
>>
>> https://lists.gnu.org/archive/html/help-guix/2020-02/msg00206.html
>>
>> On recent system upgrades, the problem got worse. Before, I could get to the end of the day despite the leak; but now it takes around 3 hours for the .gnome-shell-real process run by the gdm user to eat the remaining RAM.
>
> Ouch.
>
>> It seems that the bug is stronger in the GNOME desktop, but I've seen, at least once, .gnome-shell-real using an abnormal amount of RAM while in sway (about 800 MiB).
>
> Could you check if it happens in a VM?  That is, you build your GNOME
> config with ‘guix system vm’, try to do some activity in the VM, and
> check in top whether ‘gnome-shell’ is growing.

That looks like an upstream problem

    https://gitlab.gnome.org/GNOME/gnome-shell/issues/64

are we going to investigate backporting a fix?

janneke

-- 
Jan Nieuwenhuizen <janneke <at> gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com




Information forwarded to bug-guix <at> gnu.org:
bug#40116; Package guix. (Mon, 30 Mar 2020 02:36:32 GMT) Full text and rfc822 format available.

Message #34 received at 40116 <at> debbugs.gnu.org (full text, mbox):

From: Jan Nieuwenhuizen <janneke <at> gnu.org>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 40116 <at> debbugs.gnu.org,  sirgazil <sirgazil <at> zoho.com>
Subject: Re: bug#40116: GDM: Memory leak in .gnome-shell-real process
Date: Sun, 29 Mar 2020 18:10:34 +0200
Jan Nieuwenhuizen writes:

> That looks like an upstream problem
>
>     https://gitlab.gnome.org/GNOME/gnome-shell/issues/64

Sorry, this is not helping.

-- 
Jan Nieuwenhuizen <janneke <at> gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com




Merged 40116 41215. Request was from Leo Famulari <leo <at> famulari.name> to control <at> debbugs.gnu.org. (Fri, 15 May 2020 17:15:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#40116; Package guix. (Thu, 01 Oct 2020 15:57:02 GMT) Full text and rfc822 format available.

Message #39 received at 40116 <at> debbugs.gnu.org (full text, mbox):

From: Luis Felipe <luis.felipe.la <at> protonmail.com>
To: "40116 <at> debbugs.gnu.org" <40116 <at> debbugs.gnu.org>
Subject: GDM: Memory leak in .gnome-shell-real process
Date: Thu, 01 Oct 2020 15:56:02 +0000
[Message part 1 (text/plain, inline)]
I've been using GDM again for 8 days now, and I don't see the leak anymore.

(Using guix 97e98e2)

---
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#40116; Package guix. (Wed, 23 Mar 2022 11:46:02 GMT) Full text and rfc822 format available.

Message #42 received at 40116 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: sirgazil <sirgazil <at> zoho.com>
Cc: 41215 <at> debbugs.gnu.org, 40116 <at> debbugs.gnu.org
Subject: Re: bug#41215: memory leak in gnome-shell
Date: Wed, 23 Mar 2022 12:35:47 +0100
Hi,

On Wed, 18 Mar 2020 at 09:18, sirgazil <sirgazil <at> zoho.com> wrote:

> I can't use GNOME anymore because of the problem I explained in the following thread:

[...]

> $ guix describe
> Generation 61	Mar 15 2020 08:44:39	(current)

What is the status of this old bug [1]?  Especially since the last merge
of core-updates.


1: <http://issues.guix.gnu.org/issue/41215>


Cheers,
simon




Information forwarded to bug-guix <at> gnu.org:
bug#40116; Package guix. (Wed, 23 Mar 2022 15:14:01 GMT) Full text and rfc822 format available.

Message #45 received at 40116 <at> debbugs.gnu.org (full text, mbox):

From: Luis Felipe <luis.felipe.la <at> protonmail.com>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: 41215 <at> debbugs.gnu.org, 40116 <at> debbugs.gnu.org, sirgazil <sirgazil <at> zoho.com>
Subject: Re: bug#41215: memory leak in gnome-shell
Date: Wed, 23 Mar 2022 15:13:02 +0000
[Message part 1 (text/plain, inline)]
Hi zimoun,

On Wednesday, March 23rd, 2022 at 11:35 AM, zimoun <zimon.toutoune <at> gmail.com> wrote:
> 

> What is the status of this old bug [1]? Especially since the last merge

At least on my side (I'm sirgazil), the status remains the same: this is not an issue anymore.

I didn't close the issue, though, because I wanted to hear from other people affected by it first.

So, if Julien and Arne, for example, don't experience the issue anymore, I'm happy to close the issue.
[publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc (application/pgp-keys, attachment)]
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#40116; Package guix. (Wed, 23 Mar 2022 15:48:02 GMT) Full text and rfc822 format available.

Message #48 received at 40116 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Luis Felipe <luis.felipe.la <at> protonmail.com>
Cc: 41215 <at> debbugs.gnu.org, 40116 <at> debbugs.gnu.org, sirgazil <sirgazil <at> zoho.com>
Subject: Re: bug#41215: memory leak in gnome-shell
Date: Wed, 23 Mar 2022 16:46:53 +0100
Hi Luis,

On Wed, 23 Mar 2022 at 16:13, Luis Felipe <luis.felipe.la <at> protonmail.com> wrote:

> So, if Julien and Arne, for example, don't experience the issue anymore, I'm happy to close the issue.

Let wait 15 days and if no answer, let assume it is not an issue and
close it. :-)

Thank you for your feedback.

Cheers,
simon




Information forwarded to bug-guix <at> gnu.org:
bug#40116; Package guix. (Wed, 23 Mar 2022 16:03:02 GMT) Full text and rfc822 format available.

Message #51 received at 40116 <at> debbugs.gnu.org (full text, mbox):

From: Julien Lepiller <julien <at> lepiller.eu>
To: bug-guix <at> gnu.org, zimoun <zimon.toutoune <at> gmail.com>,
 Luis Felipe <luis.felipe.la <at> protonmail.com>
Cc: 41215 <at> debbugs.gnu.org, 40116 <at> debbugs.gnu.org, sirgazil <sirgazil <at> zoho.com>
Subject: Re: bug#41215: memory leak in gnome-shell
Date: Wed, 23 Mar 2022 17:00:54 +0100
On March 23, 2022 4:46:53 PM GMT+01:00, zimoun <zimon.toutoune <at> gmail.com> wrote:
>Hi Luis,
>
>On Wed, 23 Mar 2022 at 16:13, Luis Felipe <luis.felipe.la <at> protonmail.com> wrote:
>
>> So, if Julien and Arne, for example, don't experience the issue anymore, I'm happy to close the issue.
>
>Let wait 15 days and if no answer, let assume it is not an issue and
>close it. :-)
>
>Thank you for your feedback.
>
>Cheers,
>simon
>
>
>

I haven't had that issue in a while, I tgink we can close.




Reply sent to Luis Felipe <luis.felipe.la <at> protonmail.com>:
You have taken responsibility. (Sat, 09 Apr 2022 15:20:02 GMT) Full text and rfc822 format available.

Notification sent to sirgazil <sirgazil <at> zoho.com>:
bug acknowledged by developer. (Sat, 09 Apr 2022 15:20:02 GMT) Full text and rfc822 format available.

Message #56 received at 40116-done <at> debbugs.gnu.org (full text, mbox):

From: Luis Felipe <luis.felipe.la <at> protonmail.com>
To: "40116-done <at> debbugs.gnu.org" <40116-done <at> debbugs.gnu.org>
Subject: GDM: Memory leak in .gnome-shell-real process
Date: Sat, 09 Apr 2022 15:19:21 +0000
[Message part 1 (text/plain, inline)]
Ok, the issue is gone :)

---
Luis Felipe López Acevedo
[publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc (application/pgp-keys, attachment)]
[signature.asc (application/pgp-signature, attachment)]

Reply sent to Luis Felipe <luis.felipe.la <at> protonmail.com>:
You have taken responsibility. (Sat, 09 Apr 2022 15:20:03 GMT) Full text and rfc822 format available.

Notification sent to Arne Babenhauserheide <arne_bab <at> web.de>:
bug acknowledged by developer. (Sat, 09 Apr 2022 15:20:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 08 May 2022 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 45 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.