What I am seeing is the following poll:

poll([{fd=13, events=POLLIN}], 1, 18813) = 1 ([{fd=13, revents=POLLIN}])
poll([{fd=13, events=POLLIN}], 1, 18813) = 1 ([{fd=13, revents=POLLIN}])
        poll([{fd=13, events=POLLIN}], 1, 18813) = 1 ([{fd=13, revents=POLLIN}])
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
write(3, "\1\0\0\0\0\0\0\0", 8)         = 8
write(2, "\33[31mvoid DBusMenuImporter::slot"..., 335) = 335
write(2, "\33[31mbool DBusMenuImporterPrivat"..., 300) = 300
write(2, "\33[31mvoid DBusMenuImporter::slot"..., 115) = 115
sendmsg(13, {msg_name(0)=NULL, msg_iov(2)=[{"l\1\0\1 
\0\0\0\354\243\2\0r\0\0\0\1\1o\0\33\0\0\0/com/can"..., 136}, 
{"n\3\0\0\6\0\0\0opened\0\1s\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 32}], 
msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 168
sendmsg(13, {msg_name(0)=NULL, 
msg_iov(2)=[{"l\1\0\1\4\0\0\0\355\243\2\0w\0\0\0\1\1o\0\33\0\0\0/com/can"..., 
136}, {"\f\2\0\0", 4}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 140
poll([{fd=13, events=POLLIN}], 1, 25000) = 1 ([{fd=13, revents=POLLIN}])
poll([{fd=13, events=POLLIN}], 1, 25000) = 1 ([{fd=13, revents=POLLIN}])
poll([{fd=13, events=POLLIN}], 1, 25000) = 1 ([{fd=13, revents=POLLIN}])
poll([{fd=13, events=POLLIN}], 1, 25000) = 1 ([{fd=13, revents=POLLIN}])
poll([{fd=13, events=POLLIN}], 1, 25000) = 1 ([{fd=13, revents=POLLIN}])
poll([{fd=13, events=POLLIN}], 1, 25000) = 1 ([{fd=13, revents=POLLIN}])
poll([{fd=13, events=POLLIN}], 1, 25000) = 1 ([{fd=13, revents=POLLIN}])
poll([{fd=13, events=POLLIN}], 1, 25000) = 1 ([{fd=13, revents=POLLIN}])
poll([{fd=13, events=POLLIN}], 1, 25000) = 1 ([{fd=13, revents=POLLIN}])
poll([{fd=13, events=POLLIN}], 1, 25000) = 1 ([{fd=13, revents=POLLIN}])
poll([{fd=13, events=POLLIN}], 1, 25000) = 1 ([{fd=13, revents=POLLIN}])
poll([{fd=13, events=POLLIN}], 1, 25000) = 1 ([{fd=13, revents=POLLIN}])
poll([{fd=13, events=POLLIN}], 1, 25000) = 1 ([{fd=13, revents=POLLIN}])
poll([{fd=13, events=POLLIN}], 1, 24999) = 1 ([{fd=13, revents=POLLIN}])
poll([{fd=13, events=POLLIN}], 1, 24999) = 1 ([{fd=13, revents=POLLIN}])
poll([{fd=13, events=POLLIN}], 1, 24999) = 1 ([{fd=13, revents=POLLIN}])
poll([{fd=13, events=POLLIN}], 1, 24999) = 1 ([{fd=13, revents=POLLIN}])
poll([{fd=13, events=POLLIN}], 1, 24999) = 1 ([{fd=13, revents=POLLIN}])
poll([{fd=13, events=POLLIN}], 1, 24999) = 1 ([{fd=13, revents=POLLIN}])
poll([{fd=13, events=POLLIN}], 1, 24999) = 1 ([{fd=13, revents=POLLIN}])
poll([{fd=13, events=POLLIN}], 1, 24999) = 1 ([{fd=13, revents=POLLIN}])
poll([{fd=13, events=POLLIN}], 1, 24999) = 1 ([{fd=13, revents=POLLIN}])

.. and this repeats and the timeout drops from 25000 milliseconds down
to 1, which is a tad excessive.  Polling a gazillion times with sub
millisecond timeout is a little bit antisocial ;-)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1300722

Title:
  hud-service is eating up 100% of one of my CPUs in a pool loop

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hud/+bug/1300722/+subscriptions

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

Reply via email to