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 500687 - Multi-User GNOME Server Has Major Slowdown When .desktop File Added
Multi-User GNOME Server Has Major Slowdown When .desktop File Added
Status: RESOLVED WONTFIX
Product: gnome-main-menu
Classification: Other
Component: general
unspecified
Other All
: Normal minor
: ---
Assigned To: GNOME main menu maintainers
GNOME main menu maintainers
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2007-11-30 17:13 UTC by David Richards
Modified: 2020-03-05 10:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Strace of application-browser after new .desktop added (618.74 KB, text/plain)
2008-02-27 19:36 UTC, David Richards
Details

Description David Richards 2007-11-30 17:13:52 UTC
I'm not exactly sure how to write up this issue, but wanted to get it entered to let it be known the issue we are facing.  Once you get over a certain number of concurrent GNOME users on the same computer, application-browser causes a huge server hit when a new .desktop file is placed into the applications directory.  I think all of the sessions are detecting the change at the same time, and all attempting to make the update.  It seems like the magic number is around 30 concurrent.  Once you get over that number, the results are getting worse and worse.  The whole GNOME session kind of hangs for a few seconds and then starts to work again.

What we need possibly is an evironmental variable that can be tuned to indicate the number of seconds that application-browser waits before checking for more icons.   That would allow me to increase and randomness of logins will split them equally between the minutes.   I need to be able to get 150+ people on a server.

Other information:
Comment 1 David Richards 2008-02-27 19:36:07 UTC
Created attachment 106101 [details]
Strace of application-browser after new .desktop added
Comment 2 Colin Walters 2008-07-24 16:22:53 UTC
The observation to make here is that on a single user system, when a new .desktop file is installed we assume the user did it, and thus we really want as fast an update to the menu as possible.

On a multiuser server maintained by an admin, the user did not personally install the app, and thus we don't need to update the menu immediately.  

It make sense for GNOME to have a global "centralized Unix server" flag that various apps could key off.  This could be a GConf key, an environment variable, a DBus request to gnome-session, etc.
Comment 3 André Klapper 2020-03-05 10:54:26 UTC
This project is not under active development anymore; see https://gitlab.gnome.org/Infrastructure/Infrastructure/issues/263

Hence reflecting reality and mass-closing all its remaining open tasks.