Public bug reported:

The cups-browsed service always use a very high amount of CPU (200%).
This happens on multiple Virtual Machine hosted by Ubuntu on KVM.
I could reproduce the issue on both Intel and AMD x64 cpu architecture.

The VMs had Ubuntu 23.10 and now are on Ubuntu 24 fully updated, but the
issue continues.

Initially the cups-browsed was running as a snap service, then I disabled it 
because of the CPU issue.
After that, Ubuntu automatically enabled the service as `systemctl` which I 
cannot disable anymore (if I do, it gets re-enabled).
The network is a small  office with some printers connected, therefore it is 
definitely possible there are network announcements for printers being turned 
on or off, but it's too hard to understand if those events are related to the 
moment where the service loop into the high CPU usage.

Please other fix the issue or provide a reliable way to shut this
service down definitely.

This report was generated by: `ubuntu-bug cups-browsed`

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: cups-browsed 2.0.0-0ubuntu10
ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
Uname: Linux 6.8.0-31-generic x86_64
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Mon Jun  3 16:34:35 2024
InstallationDate: Installed on 2024-02-16 (108 days ago)
InstallationMedia: Ubuntu 23.10.1 "Mantic Minotaur" - Release amd64 (20231016.1)
Lpstat:
 device for CANONC700: ///dev/null
 device for Lexmark_CS417dn: implicitclass://Lexmark_CS417dn/
 device for Lexmark_CX410de: implicitclass://Lexmark_CX410de/
 device for Lexmark_MS810: implicitclass://Lexmark_MS810/
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd QEMU Tablet
 Bus 001 Device 003: ID 0627:0001 Adomax Technology Co., Ltd QEMU Tablet
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Lsusb-t:
 /:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/15p, 480M
     |__ Port 001: Dev 002, If 0, Class=Human Interface Device, Driver=usbhid, 
480M
     |__ Port 002: Dev 003, If 0, Class=Human Interface Device, Driver=usbhid, 
480M
 /:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/15p, 5000M
MachineType: QEMU Standard PC (Q35 + ICH9, 2009)
Papersize: a4
PpdFiles:
 Error: command ['fgrep', '-H', '*NickName', 
'/etc/cups/ppd/Lexmark_CS417dn.ppd', '/etc/cups/ppd/Lexmark_MS810.ppd', 
'/etc/cups/ppd/Lexmark_CX410de.ppd'] failed with exit code 2: grep: 
/etc/cups/ppd/Lexmark_CS417dn.ppd: Permission denied
 grep: /etc/cups/ppd/Lexmark_MS810.ppd: Permission denied
 grep: /etc/cups/ppd/Lexmark_CX410de.ppd: Permission denied
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.8.0-31-generic 
root=UUID=3bb2f1ef-40f7-4a13-b608-ffbc1c1e873d ro quiet splash vt.handoff=7
SourcePackage: cups-browsed
UpgradeStatus: Upgraded to noble on 2024-05-30 (4 days ago)
dmi.bios.date: 04/01/2014
dmi.bios.release: 0.0
dmi.bios.vendor: SeaBIOS
dmi.bios.version: 1.16.3-debian-1.16.3-2
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.version: pc-q35-8.0
dmi.modalias: 
dmi:bvnSeaBIOS:bvr1.16.3-debian-1.16.3-2:bd04/01/2014:br0.0:svnQEMU:pnStandardPC(Q35+ICH9,2009):pvrpc-q35-8.0:cvnQEMU:ct1:cvrpc-q35-8.0:sku:
dmi.product.name: Standard PC (Q35 + ICH9, 2009)
dmi.product.version: pc-q35-8.0
dmi.sys.vendor: QEMU

** Affects: cups-browsed (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble wayland-session

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

Title:
  cups-browsed high-cpu usage

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-browsed/+bug/2067918/+subscriptions


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

Reply via email to