Results 1 to 7 of 7

Thread: Gnome main-menu resource hog

  1. #1
    Tilman Schmidt NNTP User

    Default Gnome main-menu resource hog

    openSUSE 10.3, Gnome desktop, running on a Pentium D 940 with 2 GB RAM.

    While sorting through a few gigs' worth of digital photographs (these
    things do pile up ...) with Nautilus and Eye Of Gnome, I noticed the
    system becoming slower and slower. Selecting a different picture in
    Nautilus would take several seconds until the highlight moved, and
    opening eog took ages. Looking in 'top', it turned out a process
    named 'main-menu' had grown to an enormous 1,5 GB and the system had
    consequently started swapping. The only way to get rid of it was to
    log off and on again.

    This made me curious, and I started watching that process. It's image
    path, according to 'ps', is /usr/lib/gnome-main-menu/main-menu, and
    it's started when I log on. It starts out consuming a sensible 30 MB
    but 100% CPU for five minutes in a row. During that time it grows
    steadily to 200 MB, and then the Gnome "Computer" button in the menu
    bar finally appears. (That delay has always bothered me, by the way.)
    Then it changes to a rather normal and stable behaviour, now and then
    consuming a few percents of CPU or growing (never shrinking) by a few
    MB like everyone else in my task list.

    If I start browsing through my photography folders, nothing much
    changes at first. After several minutes of work, however, the
    'main-menu' process will suddenly jump to the top of 'top', consuming
    60% CPU for a few seconds, accompanied by considerable disk activity
    and noticeable sluggishness in the Nautilus GUI. It will grow by
    several tens of MB in the course, and then go to sleep again. This
    reoccurs with increasing frequency until it reaches a size where the
    system starts swapping out other processes, at which point the
    performance will of course take a nosedive.

    What does the Gnome main menu process need one and a half gigabytes
    of main memory for? Why does it have to consume one hundred percent
    of a 3,2 GHz dual-core processor for three hundred seconds just to
    display the "Computer" button in the lower left corner of my screen?
    And what does it do waking up while I work in an application,
    consuming more CPU and memory even though I did not ask anything
    from it. Is there a way to influence this behaviour?

    Thanks in advance for any hints
    Tilman

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,286
    Blog Entries
    15

    Default Re: Gnome main-menu resource hog

    Quote Originally Posted by Tilman Schmidt
    openSUSE 10.3, Gnome desktop, running on a
    Pentium D 940 with 2 GB RAM.

    While sorting through a few gigs' worth of digital photographs (these
    things do pile up ...) with Nautilus and Eye Of Gnome, I noticed the
    system becoming slower and slower. Selecting a different picture in
    Nautilus would take several seconds until the highlight moved, and
    opening eog took ages. Looking in 'top', it turned out a process
    named 'main-menu' had grown to an enormous 1,5 GB and the system had
    consequently started swapping. The only way to get rid of it was to
    log off and on again.

    This made me curious, and I started watching that process. It's image
    path, according to 'ps', is /usr/lib/gnome-main-menu/main-menu, and
    it's started when I log on. It starts out consuming a sensible 30 MB
    but 100% CPU for five minutes in a row. During that time it grows
    steadily to 200 MB, and then the Gnome "Computer" button in the menu
    bar finally appears. (That delay has always bothered me, by the way.)
    Then it changes to a rather normal and stable behaviour, now and then
    consuming a few percents of CPU or growing (never shrinking) by a few
    MB like everyone else in my task list.

    If I start browsing through my photography folders, nothing much
    changes at first. After several minutes of work, however, the
    'main-menu' process will suddenly jump to the top of 'top', consuming
    60% CPU for a few seconds, accompanied by considerable disk activity
    and noticeable sluggishness in the Nautilus GUI. It will grow by
    several tens of MB in the course, and then go to sleep again. This
    reoccurs with increasing frequency until it reaches a size where the
    system starts swapping out other processes, at which point the
    performance will of course take a nosedive.

    What does the Gnome main menu process need one and a half gigabytes
    of main memory for? Why does it have to consume one hundred percent
    of a 3,2 GHz dual-core processor for three hundred seconds just to
    display the "Computer" button in the lower left corner of my screen?
    And what does it do waking up while I work in an application,
    consuming more CPU and memory even though I did not ask anything
    from it. Is there a way to influence this behaviour?

    Thanks in advance for any hints
    Tilman
    Hi
    Sounds more like beagle to me..... have you de installed it?

    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.1 x86 Kernel 2.6.27.7-9-default
    up 2 days 6:07, 2 users, load average: 1.38, 1.23, 1.21
    GPU GeForce 6600 TE/6200 TE - Driver Version: 180.29


  3. #3
    Tilman Schmidt NNTP User

    Default Re: Gnome main-menu resource hog

    Malcolm schrieb:
    > Sounds more like beagle to me..... have you de installed it?


    Sure. One of my first acts after setting up that machine.

    Thanks,
    Tilman

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,286
    Blog Entries
    15

    Default Re: Gnome main-menu resource hog

    Quote Originally Posted by Tilman Schmidt
    Malcolm schrieb:
    > Sounds more like beagle to me..... have you de installed it?


    Sure. One of my first acts after setting up that machine.

    Thanks,
    Tilman
    Hi
    Just checked here and main-menu has consumed 38 seconds of time since
    my system has been up (see sig for uptime). What is present in your
    startup in the Control Center->Sessions?

    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.1 x86 Kernel 2.6.27.7-9-default
    up 2 days 7:55, 2 users, load average: 1.25, 1.24, 1.18
    GPU GeForce 6600 TE/6200 TE - Driver Version: 180.29


  5. #5
    Tilman Schmidt NNTP User

    Default Re: Gnome main-menu resource hog

    Malcolm schrieb:
    > Just checked here and main-menu has consumed 38 seconds of time since
    > my system has been up (see sig for uptime). What is present in your
    > startup in the Control Center->Sessions?


    Translating back from German literally, hope it'll be recognizable:
    - Storage Media Management
    Management of removable storage media and -media
    - Power Management
    Background process of the power management
    - GNOME Printer Applet
    GNOME Printer Applet
    - Network Manager
    Network Manager applet
    - OpenSUSE Updater Applet
    Simple software updates notification applet with an easy access to package management
    - SUSE
    no description
    - Visual
    Start preferred auxiliary technologies automatically

    Thanks,
    Tilman

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,286
    Blog Entries
    15

    Default Re: Gnome main-menu resource hog

    Quote Originally Posted by Tilman Schmidt
    Malcolm schrieb:
    > Just checked here and main-menu has consumed 38 seconds of time since
    > my system has been up (see sig for uptime). What is present in your
    > startup in the Control Center->Sessions?


    Translating back from German literally, hope it'll be recognizable:
    - Storage Media Management
    Management of removable storage media and -media
    - Power Management
    Background process of the power management
    - GNOME Printer Applet
    GNOME Printer Applet
    - Network Manager
    Network Manager applet
    - OpenSUSE Updater Applet
    Simple software updates notification applet with an easy access to
    package management
    - SUSE
    no description
    - Visual
    Start preferred auxiliary technologies automatically

    Thanks,
    Tilman
    Hi
    I don't run the updater applet, I prefer to just use the CLI (zypper)
    what happens if you uncheck the update one and logout/login?

    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.1 x86 Kernel 2.6.27.7-9-default
    up 7:21, 2 users, load average: 0.13, 0.23, 0.22
    GPU GeForce 6600 TE/6200 TE - Driver Version: 180.29


  7. #7
    Tilman Schmidt NNTP User

    Default Re: Gnome main-menu resource hog

    Malcolm schrieb:
    > what happens if you uncheck the update one and logout/login?


    No change in behaviour. Ie. main-menu still consumes all of 5 minutes of
    processor time before even displaying the "Computer" button, and goes
    into "eat 99% processor while growing in memory" mode when I leaf through
    my photo folder with Eye Of Gnome.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •