GNOME Bugzilla – Bug 336478
100% cpu time while using progress bar
Last modified: 2008-06-27 13:51:59 UTC
Please describe the problem: I am seeing 100% cpu usage from zenity while using the progress bar (with --pulsate or --percentage options, same result). Steps to reproduce: 1. In a shell for exemple 2. locate lib | zenity --progress --pulsate 3. Actual results: Expected results: Does this happen every time? Yes Other information: After some research on the web I could see several people having the same issue.
Verified with the command "top".
This high CPU usage is being caused by the locate command, not zenity. If you use zenity progress dialog with a lighter command, no excessive CPU usage happens. This is not a bug.
Thanks for your reply. But if I use zenity progress dialog with a lighter command, the result is the same. And "top" shows it is the "zenity" process, not "locate" or else.
Comment #3 is right; I get 100% CPU even with "zenity --progress </dev/null". Someone please reopen the bug. See also bug 540489.