I ran across this bug because bug #528925 makes this very evident. It
seems to me this bug is actually in synaptic as that is another of the
big CPU consumers in top and I can reproduce the same behavior by
running "Reload" in synaptic. I'm guessing update-manager is actually
calling synaptic to do the work.

I tried strace on synaptic and it seems to be doing poll() in a tight
loop and getting EAGAIN repeatedly. It should probably be doing select()
instead or at least sleeping for a little bit between invocations. No
need to update the status bar as fast as possible, it only slows down
actual work, like installing packages. :)

I grepped the synaptic source and couldn't find any calls to poll() so I
guess it is being called inside a library. My gdb skills aren't enough
to track that down.

-- 
Update Manager causes high Xorg CPU usage when checking for updates
https://bugs.launchpad.net/bugs/355355
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to