By stracing, I can see poll() being called in a busy loop with a timeout of 0. The backtrace for these bad poll() calls points to glib (this is a version rebuilt with nostrip and noopt: Thread 1 "cups-browsed" hit Breakpoint 4, __GI___poll (fds=0x555875c39f20, nfds=2, timeout=0) at ../sysdeps/unix/sysv/linux/poll.c:27 27 in ../sysdeps/unix/sysv/linux/poll.c (gdb) bt #0 __GI___poll (fds=0x555875c39f20, nfds=2, timeout=0) at ../sysdeps/unix/sysv/linux/poll.c:27 #1 0x00007fe75bb690ee in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fe75bb0dbdf in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x0000555875aa9d41 in main (argc=1, argv=0x7fffa0d9efd8) at daemon/cups-browsed.c:14077
The two fds being polled in this busy loop are: lrwx------ 1 cups-browsed lpadmin 64 May 1 14:29 5 -> 'anon_inode:[eventfd]' lrwx------ 1 cups-browsed lpadmin 64 May 1 14:29 6 -> 'socket:[9085882]' -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to cups-filters in Ubuntu. https://bugs.launchpad.net/bugs/2017907 Title: cups-browsed high CPU usage Status in cups-filters package in Ubuntu: Confirmed Bug description: Hi, Using Lunar wifi connected to an enterprise network. cups-browsed uses a lot of CPU %, I need to kill it to save my battery. 2.0rc1-0ubuntu1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/2017907/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

