After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 600468 - gdm consumes too much memory when unused
gdm consumes too much memory when unused
Status: RESOLVED WONTFIX
Product: gdm
Classification: Core
Component: general
2.28.x
Other All
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2009-11-02 19:29 UTC by Jerome
Modified: 2010-06-17 17:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jerome 2009-11-02 19:29:48 UTC
The gdm processes are using 10MB while logged into the desktop environment. Moreover GDM will not be used until the logout.

On my laptop it is 4% of my memory.

Is there no way to unload the program and keep only a tiny program loader which will load the full gdm features when logging out ?

I prefer an add-hoc unloading than a swap memory. Indeed he computer would not have to spend time to swap when launching a new application since the gdm memory would have been freed before. Thus the computer would be more reactive, with a faster application start.

-----
j@j-lt:~$ ps axlOv|grep -i gdm
4 0 1122 898 20 0 8736 3540 poll_s S ? 0:00 /usr/lib/gdm/gdm-simple-slave --display-id /org/gnome/DisplayManager/Display1
4 0 898 1 20 0 8804 3652 poll_s Ss ? 0:00 gdm-binary
4 0 1234 1122 20 0 8844 3048 poll_s S ? 0:00 /usr/lib/gdm/gdm-session-worker
4 0 1140 1122 20 0 26428 18084 ? Ss+ tty7 0:08 /usr/bin/X :0 -br -verbose -auth /var/run/gdm/auth-for-gdm-4fe52d/database -nolisten tcp vt7
j@j-lt:~$
-----
Comment 1 Jerome 2009-11-06 14:26:42 UTC
I would suggest gdm to wait ~1 minute after the login before it unload itself and load the tiny program loader. It would avoid to use the CPU when the user is entering into the desktop environment.
Comment 2 Jerome 2010-06-06 09:03:10 UTC
When I log out, I use to click on the "shutdown" desktop menu entry.

Thus I will likely not use gdm again after logging in.
Comment 3 William Jon McCann 2010-06-17 01:34:54 UTC
Much of that memory is very likely shared.  I don't think we want to unload GDM or anything like that.
Comment 4 Jerome 2010-06-17 17:19:43 UTC
With which other programs is the memory of a gdm program mostly shared ?

Isn't it with the other gdm programs ?