unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#40116: GDM: Memory leak in .gnome-shell-real process
@ 2020-03-18 14:18 sirgazil via Bug reports for GNU Guix
  2020-03-18 15:09 ` Ludovic Courtès
                   ` (8 more replies)
  0 siblings, 9 replies; 16+ messages in thread
From: sirgazil via Bug reports for GNU Guix @ 2020-03-18 14:18 UTC (permalink / raw)
  To: 40116

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/

^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#40116: GDM: Memory leak in .gnome-shell-real process
  2020-03-18 14:18 bug#40116: GDM: Memory leak in .gnome-shell-real process sirgazil via Bug reports for GNU Guix
@ 2020-03-18 15:09 ` Ludovic Courtès
  2020-03-18 16:10   ` sirgazil via Bug reports for GNU Guix
  2020-03-29 16:08   ` Jan Nieuwenhuizen
  2020-03-18 16:09 ` Julien Lepiller
                   ` (7 subsequent siblings)
  8 siblings, 2 replies; 16+ messages in thread
From: Ludovic Courtès @ 2020-03-18 15:09 UTC (permalink / raw)
  To: 40116, sirgazil

Hi sirgazil,

sirgazil via Bug reports for GNU Guix <bug-guix@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’.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#40116: GDM: Memory leak in .gnome-shell-real process
  2020-03-18 14:18 bug#40116: GDM: Memory leak in .gnome-shell-real process sirgazil via Bug reports for GNU Guix
  2020-03-18 15:09 ` Ludovic Courtès
@ 2020-03-18 16:09 ` Julien Lepiller
  2020-03-19 18:13 ` sirgazil via Bug reports for GNU Guix
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 16+ messages in thread
From: Julien Lepiller @ 2020-03-18 16:09 UTC (permalink / raw)
  To: sirgazil, 40116

Le 18 mars 2020 10:18:11 GMT-04:00, sirgazil via Bug reports for GNU Guix <bug-guix@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 :/

^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#40116: GDM: Memory leak in .gnome-shell-real process
  2020-03-18 15:09 ` Ludovic Courtès
@ 2020-03-18 16:10   ` sirgazil via Bug reports for GNU Guix
  2020-03-29 16:08   ` Jan Nieuwenhuizen
  1 sibling, 0 replies; 16+ messages in thread
From: sirgazil via Bug reports for GNU Guix @ 2020-03-18 16:10 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 40116

 ---- On Wed, 18 Mar 2020 10:09:57 -0500 Ludovic Courtès <ludo@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).

^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#40116: GDM: Memory leak in .gnome-shell-real process
  2020-03-18 14:18 bug#40116: GDM: Memory leak in .gnome-shell-real process sirgazil via Bug reports for GNU Guix
  2020-03-18 15:09 ` Ludovic Courtès
  2020-03-18 16:09 ` Julien Lepiller
@ 2020-03-19 18:13 ` sirgazil via Bug reports for GNU Guix
  2020-03-22  0:38 ` sirgazil via Bug reports for GNU Guix
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 16+ messages in thread
From: sirgazil via Bug reports for GNU Guix @ 2020-03-19 18:13 UTC (permalink / raw)
  To: 40116

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.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#40116: GDM: Memory leak in .gnome-shell-real process
  2020-03-18 14:18 bug#40116: GDM: Memory leak in .gnome-shell-real process sirgazil via Bug reports for GNU Guix
                   ` (2 preceding siblings ...)
  2020-03-19 18:13 ` sirgazil via Bug reports for GNU Guix
@ 2020-03-22  0:38 ` sirgazil via Bug reports for GNU Guix
  2020-03-23 17:01 ` sirgazil via Bug reports for GNU Guix
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 16+ messages in thread
From: sirgazil via Bug reports for GNU Guix @ 2020-03-22  0:38 UTC (permalink / raw)
  To: 40116

 > 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.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#40116: GDM: Memory leak in .gnome-shell-real process
  2020-03-18 14:18 bug#40116: GDM: Memory leak in .gnome-shell-real process sirgazil via Bug reports for GNU Guix
                   ` (3 preceding siblings ...)
  2020-03-22  0:38 ` sirgazil via Bug reports for GNU Guix
@ 2020-03-23 17:01 ` sirgazil via Bug reports for GNU Guix
  2020-03-24 13:15 ` sirgazil via Bug reports for GNU Guix
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 16+ messages in thread
From: sirgazil via Bug reports for GNU Guix @ 2020-03-23 17:01 UTC (permalink / raw)
  To: 40116

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.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#40116: GDM: Memory leak in .gnome-shell-real process
  2020-03-18 14:18 bug#40116: GDM: Memory leak in .gnome-shell-real process sirgazil via Bug reports for GNU Guix
                   ` (4 preceding siblings ...)
  2020-03-23 17:01 ` sirgazil via Bug reports for GNU Guix
@ 2020-03-24 13:15 ` sirgazil via Bug reports for GNU Guix
  2020-10-01 15:56 ` Luis Felipe via Bug reports for GNU Guix
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 16+ messages in thread
From: sirgazil via Bug reports for GNU Guix @ 2020-03-24 13:15 UTC (permalink / raw)
  To: 40116

 > 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.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#40116: GDM: Memory leak in .gnome-shell-real process
  2020-03-18 15:09 ` Ludovic Courtès
  2020-03-18 16:10   ` sirgazil via Bug reports for GNU Guix
@ 2020-03-29 16:08   ` Jan Nieuwenhuizen
  2020-03-29 16:10     ` Jan Nieuwenhuizen
  1 sibling, 1 reply; 16+ messages in thread
From: Jan Nieuwenhuizen @ 2020-03-29 16:08 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 40116, sirgazil

Ludovic Courtès writes:

> Hi sirgazil,
>
> sirgazil via Bug reports for GNU Guix <bug-guix@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@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com

^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#40116: GDM: Memory leak in .gnome-shell-real process
  2020-03-29 16:08   ` Jan Nieuwenhuizen
@ 2020-03-29 16:10     ` Jan Nieuwenhuizen
  0 siblings, 0 replies; 16+ messages in thread
From: Jan Nieuwenhuizen @ 2020-03-29 16:10 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 40116, sirgazil

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@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com

^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#40116: GDM: Memory leak in .gnome-shell-real process
  2020-03-18 14:18 bug#40116: GDM: Memory leak in .gnome-shell-real process sirgazil via Bug reports for GNU Guix
                   ` (5 preceding siblings ...)
  2020-03-24 13:15 ` sirgazil via Bug reports for GNU Guix
@ 2020-10-01 15:56 ` Luis Felipe via Bug reports for GNU Guix
  2022-03-23 11:35 ` bug#41215: memory leak in gnome-shell zimoun
  2022-04-09 15:19 ` bug#40116: GDM: Memory leak in .gnome-shell-real process Luis Felipe via Bug reports for GNU Guix
  8 siblings, 0 replies; 16+ messages in thread
From: Luis Felipe via Bug reports for GNU Guix @ 2020-10-01 15:56 UTC (permalink / raw)
  To: 40116@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 160 bytes --]

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/

[-- Attachment #2: Type: text/html, Size: 371 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#41215: memory leak in gnome-shell
  2020-03-18 14:18 bug#40116: GDM: Memory leak in .gnome-shell-real process sirgazil via Bug reports for GNU Guix
                   ` (6 preceding siblings ...)
  2020-10-01 15:56 ` Luis Felipe via Bug reports for GNU Guix
@ 2022-03-23 11:35 ` zimoun
  2022-03-23 15:13   ` Luis Felipe via Bug reports for GNU Guix
  2022-04-09 15:19 ` bug#40116: GDM: Memory leak in .gnome-shell-real process Luis Felipe via Bug reports for GNU Guix
  8 siblings, 1 reply; 16+ messages in thread
From: zimoun @ 2022-03-23 11:35 UTC (permalink / raw)
  To: sirgazil; +Cc: 41215, 40116

Hi,

On Wed, 18 Mar 2020 at 09:18, sirgazil <sirgazil@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




^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#41215: memory leak in gnome-shell
  2022-03-23 11:35 ` bug#41215: memory leak in gnome-shell zimoun
@ 2022-03-23 15:13   ` Luis Felipe via Bug reports for GNU Guix
  2022-03-23 15:46     ` bug#40116: " zimoun
  0 siblings, 1 reply; 16+ messages in thread
From: Luis Felipe via Bug reports for GNU Guix @ 2022-03-23 15:13 UTC (permalink / raw)
  To: zimoun; +Cc: 41215, 40116, sirgazil


[-- Attachment #1.1: Type: text/plain, Size: 485 bytes --]

Hi zimoun,

On Wednesday, March 23rd, 2022 at 11:35 AM, zimoun <zimon.toutoune@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.

[-- Attachment #1.2: publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc --]
[-- Type: application/pgp-keys, Size: 1815 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 509 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#40116: bug#41215: memory leak in gnome-shell
  2022-03-23 15:13   ` Luis Felipe via Bug reports for GNU Guix
@ 2022-03-23 15:46     ` zimoun
  2022-03-23 16:00       ` Julien Lepiller
  0 siblings, 1 reply; 16+ messages in thread
From: zimoun @ 2022-03-23 15:46 UTC (permalink / raw)
  To: Luis Felipe; +Cc: 41215, 40116, sirgazil

Hi Luis,

On Wed, 23 Mar 2022 at 16:13, Luis Felipe <luis.felipe.la@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




^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#40116: bug#41215: memory leak in gnome-shell
  2022-03-23 15:46     ` bug#40116: " zimoun
@ 2022-03-23 16:00       ` Julien Lepiller
  0 siblings, 0 replies; 16+ messages in thread
From: Julien Lepiller @ 2022-03-23 16:00 UTC (permalink / raw)
  To: 40116, zimon.toutoune, luis.felipe.la; +Cc: 41215, sirgazil

On March 23, 2022 4:46:53 PM GMT+01:00, zimoun <zimon.toutoune@gmail.com> wrote:
>Hi Luis,
>
>On Wed, 23 Mar 2022 at 16:13, Luis Felipe <luis.felipe.la@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.




^ permalink raw reply	[flat|nested] 16+ messages in thread

* bug#40116: GDM: Memory leak in .gnome-shell-real process
  2020-03-18 14:18 bug#40116: GDM: Memory leak in .gnome-shell-real process sirgazil via Bug reports for GNU Guix
                   ` (7 preceding siblings ...)
  2022-03-23 11:35 ` bug#41215: memory leak in gnome-shell zimoun
@ 2022-04-09 15:19 ` Luis Felipe via Bug reports for GNU Guix
  8 siblings, 0 replies; 16+ messages in thread
From: Luis Felipe via Bug reports for GNU Guix @ 2022-04-09 15:19 UTC (permalink / raw)
  To: 40116-done@debbugs.gnu.org


[-- Attachment #1.1: Type: text/plain, Size: 59 bytes --]

Ok, the issue is gone :)

---
Luis Felipe López Acevedo

[-- Attachment #1.2: publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc --]
[-- Type: application/pgp-keys, Size: 1815 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 509 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2022-04-09 15:21 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-18 14:18 bug#40116: GDM: Memory leak in .gnome-shell-real process sirgazil via Bug reports for GNU Guix
2020-03-18 15:09 ` Ludovic Courtès
2020-03-18 16:10   ` sirgazil via Bug reports for GNU Guix
2020-03-29 16:08   ` Jan Nieuwenhuizen
2020-03-29 16:10     ` Jan Nieuwenhuizen
2020-03-18 16:09 ` Julien Lepiller
2020-03-19 18:13 ` sirgazil via Bug reports for GNU Guix
2020-03-22  0:38 ` sirgazil via Bug reports for GNU Guix
2020-03-23 17:01 ` sirgazil via Bug reports for GNU Guix
2020-03-24 13:15 ` sirgazil via Bug reports for GNU Guix
2020-10-01 15:56 ` Luis Felipe via Bug reports for GNU Guix
2022-03-23 11:35 ` bug#41215: memory leak in gnome-shell zimoun
2022-03-23 15:13   ` Luis Felipe via Bug reports for GNU Guix
2022-03-23 15:46     ` bug#40116: " zimoun
2022-03-23 16:00       ` Julien Lepiller
2022-04-09 15:19 ` bug#40116: GDM: Memory leak in .gnome-shell-real process Luis Felipe via Bug reports for GNU Guix

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).