Description of problem: I play music through rhythmbox whenever I'm at the computer. I monitor this music using the gnome music applet. After several days or perhaps weeks I notice a significant slow down of the applet. Normally switching between artist, album and track information goes smoothly, but after a while it becomes jerky. Currently the music applet uses 44% of my CPU (2.4 GHz Intel Core2 Quad CPU), which is a massive amount of CPU usage for such a supposedly simple program. I noticed using strace that the applet (or the python process that is run) does lots of (failing) stat system calls. In the 5 or so seconds that I traced, there were 80791 lines of strace output, 80448 of these were calls to stat(), all of which failed. The arguments to these stat calls were these four files: /usr/share/locale/en.UTF8/LC_MESSAGES/music-applet.mo /usr/share/locale/en/LC_MESSAGES/music-applet.mo /usr/share/locale/en_US.UTF8/LC_MESSAGES/music-applet.mo /usr/share/locale/en_US/LC_MESSAGES/music-applet.mo To give an idea of the time frame, my current invocation of gnome-applet-music was started on Oct 9 and today is Oct 24. I have played music most working days for 8 or so hours a day. After removing the music applet from the panel and adding it back (i.e. restarting it), the number of system calls has reduced significantly. In again about 5 seconds, there were only 1446 system calls of which 1080 were calls to stat. Also, the process now only uses 1% of the CPU. Version-Release number of selected component (if applicable): gnome-applet-music-2.4.0-1.fc8.x86_64 How reproducible: 100% if you wait long enough. Steps to Reproduce: 1.start music-applet 2.start playing music 3.wait Actual results: Over time, the music applet starts using more and more CPU, updating the music information becomes jerky. Expected results: Constant low CPU usage, constant smooth operation. Additional info: This is on Fedora 8. I cannot really test this on Fedora 9, since I cannot upgrade my work system myself, and at home I don't play music nearly as much.
No, I've been experiencing the same thing on F9, only intermittenly. Unfortunately it's not as predictable as I'd like in terms of timing. (Sometimes it'll start acting up after only a day, sometimes a full week.) But at least it is reproducable and I'm not the only one noticing it. That's a good sign. :) I'm going to try to track this down a bit more over the weekend. This is really one thing that's been bugging me a lot (and from my brief tests in a KVM instance, also spuriously happens in Rawhide). Thanks for the bug report!
I just realized that this is fixed in 2.4.2, which hit Rawhide in late August; but I was also working on updates for gLabels and Empathy at the time, so I must've forgotten to enqueue the update in Bodhi. I'll submit that momentarily, and once 2.4.2 hits the repos, this should no longer be an issue.
gnome-applet-music-2.4.2-1.fc9 has been submitted as an update for Fedora 9. http://admin.fedoraproject.org/updates/gnome-applet-music-2.4.2-1.fc9
gnome-applet-music-2.4.2-1.fc8 has been submitted as an update for Fedora 8. http://admin.fedoraproject.org/updates/gnome-applet-music-2.4.2-1.fc8
gnome-applet-music-2.4.2-1.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update gnome-applet-music'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-9190
gnome-applet-music-2.4.2-1.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update gnome-applet-music'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-9299
After having run the updated applet for a few days, I haven't seen any performance degradation. So I'm happy. Thanks.
gnome-applet-music-2.4.2-1.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.
gnome-applet-music-2.4.2-1.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.