Re: Extreme memory usage



Ok, I think I found the way to reproduce the problem, or at least, how it's happening to me.

I haven't mentioned it yet, but I have experienced problems in latest previous releases of gnome-shell with the multi user usage. In a nutshell, I always leave on/suspended my desktop, and we are mainly 2 users using it:
- Opening a session with an VNC client doesn't work OK due to some dbus problem, and you are presented with a "Something went wrong" screen
- Leaving one user locked, doing stuff in the second for a long time and going back to the first one makes sometimes to be presented with the "Something went wrong" screen

This second thing, now seems to be the one that makes gnome shell take up that much memory. Instead of crashing, seems that the next time you unlock, it will take a lot of memory.

Therefore to reproduce (AFAIK):
- Login with user A
- Use normal apps: chromium, gnome-terminal, evince
- Switch account to user B
- Use normally
- Switch back to user A.

Take into account that it might be something that stacks up with time, so use A for a long time, use B for some time (5 hours or so), leave inactive between both switches, and then go back to A.

Hope this helps!


On Sat, May 9, 2015 at 8:56 AM, Narcis Garcia <informatica actiu net> wrote:
It's important to find a steps recipe to reproduce the problem. In this
case, steps from a fresh OS installation or Live-CD session.


El 09/05/15 a les 01:08, Javier Domingo Cansino ha escrit:
> Hi Justin,
>
> I don't know how to use Valgrind or GDB properly, so can't really do
> much about that :/. Also, that was an strange case, now it is just
> taking 1GB.
>
> However, I will try to do the steps in there and so if it happens again,
>
> Thanks!
>
> On Sat, May 9, 2015 at 1:04 AM, Justin Brown <justin brown fandingo org
> <mailto:justin brown fandingo org>> wrote:
>
>     Javier,
>
>     Have you tried using Valgrind to analyze what's happening? Here are
>     some Gnome-Shell
>     instructions: https://wiki.gnome.org/Projects/GnomeShell/Debugging
>
>     On Fri, May 8, 2015 at 4:16 PM, Javier Domingo Cansino
>     <javierdo1 gmail com <mailto:javierdo1 gmail com>> wrote:
>
>         Seems like something is going on, but no idea :(
>
>         may 07 16:02:02 theoden gnome-session[495]: (gnome-shell:555):
>         Clutter-WARNING **: clutter-offscreen-effect.c:207: Unable to
>         create an Offscreen buffer
>         may 07 16:02:02 theoden gnome-session[495]: (gnome-shell:555):
>         St-CRITICAL **: _st_paint_shadow_with_opacity: assertion
>         'shadow_pipeline != NULL' failed
>         may 07 16:02:02 theoden gnome-session[495]: (gnome-shell:555):
>         Clutter-WARNING **: clutter-offscreen-effect.c:207: Unable to
>         create an Offscreen buffer
>         may 07 16:02:02 theoden gnome-session[495]: (gnome-shell:555):
>         St-CRITICAL **: _st_paint_shadow_with_opacity: assertion
>         'shadow_pipeline != NULL' failed
>         may 07 16:02:02 theoden gnome-session[495]: (gnome-shell:555):
>         Clutter-WARNING **: clutter-offscreen-effect.c:207: Unable to
>         create an Offscreen buffer
>         may 07 16:02:02 theoden gnome-session[495]: (gnome-shell:555):
>         St-CRITICAL **: _st_paint_shadow_with_opacity: assertion
>         'shadow_pipeline != NULL' failed
>         may 07 16:02:02 theoden gnome-session[495]: (gnome-shell:555):
>         Clutter-WARNING **: clutter-offscreen-effect.c:207: Unable to
>         create an Offscreen buffer
>         may 07 16:02:02 theoden gnome-session[495]: (gnome-shell:555):
>         St-CRITICAL **: _st_paint_shadow_with_opacity: assertion
>         'shadow_pipeline != NULL' failed
>         may 07 16:02:02 theoden gnome-session[495]: (gnome-shell:555):
>         Clutter-WARNING **: clutter-offscreen-effect.c:207: Unable to
>         create an Offscreen buffer
>         may 07 16:02:02 theoden gnome-session[495]: (gnome-shell:555):
>         St-CRITICAL **: _st_paint_shadow_with_opacity: assertion
>         'shadow_pipeline != NULL' failed
>         may 07 16:02:07 theoden gnome-session[16597]:
>         (gnome-shell:16706): St-CRITICAL **:
>         _st_paint_shadow_with_opacity: assertion 'shadow_pipeline !=
>         NULL' failed
>         may 07 16:02:08 theoden gnome-session[16597]:
>         (gnome-shell:16706): St-CRITICAL **:
>         _st_paint_shadow_with_opacity: assertion 'shadow_pipeline !=
>         NULL' failed
>         may 07 16:02:08 theoden gnome-session[16597]:
>         (gnome-shell:16706): St-CRITICAL **:
>         _st_paint_shadow_with_opacity: assertion 'shadow_pipeline !=
>         NULL' failed
>         may 07 20:59:12 theoden gnome-session[12215]:
>         (gnome-shell:12295): St-CRITICAL **:
>         _st_paint_shadow_with_opacity: assertion 'shadow_pipeline !=
>         NULL' failed
>         may 07 20:59:12 theoden gnome-session[12215]:
>         (gnome-shell:12295): St-CRITICAL **:
>         _st_paint_shadow_with_opacity: assertion 'shadow_pipeline !=
>         NULL' failed
>         may 07 20:59:12 theoden gnome-session[12215]:
>         (gnome-shell:12295): St-CRITICAL **:
>         _st_paint_shadow_with_opacity: assertion 'shadow_pipeline !=
>         NULL' failed
>         may 07 22:01:57 theoden gnome-session[12215]:
>         (gnome-shell:12295): Clutter-CRITICAL **:
>         clutter_input_device_get_device_id: assertion
>         'CLUTTER_IS_INPUT_DEVICE (device)' failed
>         may 07 22:01:57 theoden gnome-session[12215]:
>         (gnome-shell:12295): Clutter-CRITICAL **:
>         clutter_input_device_get_device_id: assertion
>         'CLUTTER_IS_INPUT_DEVICE (device)' failed
>         may 07 22:01:57 theoden gnome-session[12215]:
>         (gnome-shell:12295): Clutter-CRITICAL **:
>         clutter_input_device_get_device_id: assertion
>         'CLUTTER_IS_INPUT_DEVICE (device)' failed
>         may 07 22:03:29 theoden gnome-session[495]: (gnome-shell:555):
>         Gdk-WARNING **: gnome-shell: Fatal IO error 11 (Resource
>         temporarily unavailable) on X server :0.
>         may 07 22:03:30 theoden polkitd[13576]: Registered
>         Authentication Agent for unix-session:c5 (system bus name :1.161
>         [/usr/bin/gnome-shell], object path
>         /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_
>         US.utf8)
>         may 07 22:03:30 theoden polkitd[13576]: Registered
>         Authentication Agent for unix-session:c4 (system bus name :1.90
>         [/usr/bin/gnome-shell], object path
>         /org/freedesktop/PolicyKit1/AuthenticationAgent, locale es_E
>         S.utf8)
>         may 07 22:03:34 theoden polkitd[13576]: Registered
>         Authentication Agent for unix-session:c7 (system bus name :1.212
>         [gnome-shell --mode=gdm], object path
>         /org/freedesktop/PolicyKit1/AuthenticationAgent, locale e
>         n_US.UTF-8)
>         may 07 22:05:45 theoden gnome-session[16597]:
>         (gnome-shell:16706): mutter-WARNING **: NOTE: Not using GLX TFP!
>         may 07 22:23:03 theoden gnome-session[16597]:
>         (gnome-shell:16706): mutter-WARNING **: NOTE: Not using GLX TFP!
>         may 07 22:23:04 theoden gnome-session[16597]:
>         (gnome-shell:16706): mutter-WARNING **: NOTE: Not using GLX TFP!
>         may 07 22:40:27 theoden polkitd[13576]: Registered
>         Authentication Agent for unix-session:c5 (system bus name :1.223
>         [/usr/bin/gnome-shell], object path
>         /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_
>         US.utf8)
>         may 07 22:40:27 theoden gnome-session[16597]:
>         (gnome-shell:16706): GLib-GObject-WARNING **: The property
>         GtkContainer:resize-mode is deprecated and shouldn't be used
>         anymore. It will be removed in a future versi
>         on.
>         may 07 22:40:28 theoden gnome-shell[16706]: GNOME Shell started
>         at Thu May 07 2015 22:40:27 GMT+0200 (CEST)
>         may 07 22:42:56 theoden gnome-session[16597]:
>         (gnome-shell:16706): mutter-WARNING **: NOTE: Not using GLX TFP!
>         may 07 23:32:32 theoden gnome-session[16597]:
>         (gnome-shell:16706): mutter-WARNING **: NOTE: Not using GLX TFP!
>         may 07 23:33:20 theoden gnome-session[16597]:
>         (gnome-shell:16706): mutter-WARNING **: NOTE: Not using GLX TFP!
>         may 07 23:33:58 theoden gnome-session[16597]:
>         (gnome-shell:16706): mutter-WARNING **: NOTE: Not using GLX TFP!
>         may 07 23:40:10 theoden gnome-session[16597]:
>         (gnome-shell:16706): mutter-WARNING **: NOTE: Not using GLX TFP!
>         may 08 10:04:13 theoden systemd-logind[371]: Delay lock is
>         active (UID 1002/izarra, PID 12295/gnome-shell) but inhibitor
>         timeout is reached.
>         may 08 18:15:02 theoden gnome-session[13588]:
>         (gnome-shell:13624): Clutter-WARNING **:
>         clutter-offscreen-effect.c:207: Unable to create an Offscreen buffer
>         may 08 18:15:02 theoden gnome-session[13588]:
>         (gnome-shell:13624): St-CRITICAL **:
>         _st_paint_shadow_with_opacity: assertion 'shadow_pipeline !=
>         NULL' failed
>         may 08 18:15:02 theoden gnome-session[13588]:
>         (gnome-shell:13624): Clutter-WARNING **:
>         clutter-offscreen-effect.c:207: Unable to create an Offscreen buffer
>         may 08 18:15:02 theoden gnome-session[13588]:
>         (gnome-shell:13624): St-CRITICAL **:
>         _st_paint_shadow_with_opacity: assertion 'shadow_pipeline !=
>         NULL' failed
>         may 08 18:15:02 theoden gnome-session[13588]:
>         (gnome-shell:13624): Clutter-WARNING **:
>         clutter-offscreen-effect.c:207: Unable to create an Offscreen buffer
>         may 08 18:15:02 theoden gnome-session[13588]:
>         (gnome-shell:13624): St-CRITICAL **:
>         _st_paint_shadow_with_opacity: assertion 'shadow_pipeline !=
>         NULL' failed
>         may 08 18:15:02 theoden gnome-session[13588]:
>         (gnome-shell:13624): Clutter-WARNING **:
>         clutter-offscreen-effect.c:207: Unable to create an Offscreen buffer
>         may 08 18:15:02 theoden gnome-session[13588]:
>         (gnome-shell:13624): St-CRITICAL **:
>         _st_paint_shadow_with_opacity: assertion 'shadow_pipeline !=
>         NULL' failed
>         may 08 18:15:02 theoden gnome-session[13588]:
>         (gnome-shell:13624): Clutter-WARNING **:
>         clutter-offscreen-effect.c:207: Unable to create an Offscreen buffer
>         may 08 18:15:02 theoden gnome-session[13588]:
>         (gnome-shell:13624): St-CRITICAL **:
>         _st_paint_shadow_with_opacity: assertion 'shadow_pipeline !=
>         NULL' failed
>         may 08 18:15:02 theoden gnome-session[13588]:
>         (gnome-shell:13624): Clutter-WARNING **:
>         clutter-offscreen-effect.c:207: Unable to create an Offscreen buffer
>         may 08 18:15:02 theoden gnome-session[13588]:
>         (gnome-shell:13624): St-CRITICAL **:
>         _st_paint_shadow_with_opacity: assertion 'shadow_pipeline !=
>         NULL' failed
>
>
>         On Fri, May 8, 2015 at 11:09 PM, Florian Pelz
>         <pelzflorian googlemail com <mailto:pelzflorian googlemail com>>
>         wrote:
>
>             Hi,
>
>             On 05/08/2015 06:18 PM, Javier Domingo Cansino wrote:
>             > Nothing logged, just this​ and it's from another day =)
>             >
>
>             Apparently I was wrong; the gnome-shell stuff does not get
>             logged under
>             the gdm.service unit.
>
>             $ journalctl -b -1 | grep 'gnome-shell'
>
>             prints a ton of gnome-shell warnings (for the last boot),
>             even for my
>             seemingly working setup. Maybe it shows something helpful
>             though.
>
>
>
>
>         --
>         Javier Domingo Cansino
>
>         _______________________________________________
>         gnome-shell-list mailing list
>         gnome-shell-list gnome org <mailto:gnome-shell-list gnome org>
>         https://mail.gnome.org/mailman/listinfo/gnome-shell-list
>
>
>
>
>
> --
> Javier Domingo Cansino
>
>
> _______________________________________________
> gnome-shell-list mailing list
> gnome-shell-list gnome org
> https://mail.gnome.org/mailman/listinfo/gnome-shell-list
>
_______________________________________________
gnome-shell-list mailing list
gnome-shell-list gnome org
https://mail.gnome.org/mailman/listinfo/gnome-shell-list



--
Javier Domingo Cansino


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]