gsd-print-notifications 100% CPU usage behind a proxy
Hi everyone,
I have an issue with the gsd-print-notifications software. It is executed after boot by (at least) the service org.gnome.SettingsDaemon.PrintNotifications.service
. After a while it gets into a loop and one of my threads run on 100% all the time. A calling htop
shows this (cf. with the attached image)
The issue occurs when I am in my companies network. To print there, I had to create a client.conf
file in /etc/cups
with the following content
ServerName localhost
ServerName printer.mycompany.com
Moreover, we are using a proxy to connect to the "internet". I set the proxy in various places, e.g. in the NetworkManagers settings.
To track down the issue I manually started gsd-print-notifications with the --verbose
option. Here is the output:
(gsd-print-notifications:26938): GLib-DEBUG: 08:52:38.737: unsetenv() is not thread-safe and should not be used after threads are created
(gsd-print-notifications:26938): print-notifications-plugin-DEBUG: 08:52:38.737: Starting print-notifications manager
(gsd-print-notifications:26938): print-notifications-plugin-DEBUG: 08:52:38.738: Initiating test connection to CUPS server 'printer.mycompany.com:631'.
(gsd-print-notifications:26938): GLib-GIO-DEBUG: 08:52:38.740: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
(gsd-print-notifications:26938): dconf-DEBUG: 08:52:38.740: watch_fast: "/system/proxy/" (establishing: 0, active: 0)
(gsd-print-notifications:26938): dconf-DEBUG: 08:52:38.740: watch_fast: "/system/proxy/http/" (establishing: 0, active: 0)
(gsd-print-notifications:26938): dconf-DEBUG: 08:52:38.740: watch_fast: "/system/proxy/https/" (establishing: 0, active: 0)
(gsd-print-notifications:26938): dconf-DEBUG: 08:52:38.740: watch_fast: "/system/proxy/ftp/" (establishing: 0, active: 0)
(gsd-print-notifications:26938): dconf-DEBUG: 08:52:38.740: watch_fast: "/system/proxy/socks/" (establishing: 0, active: 0)
(gsd-print-notifications:26938): GLib-GIO-DEBUG: 08:52:38.740: _g_io_module_get_default: Found default implementation gnome (GProxyResolverGnome) for ‘gio-proxy-resolver’
(gsd-print-notifications:26938): GLib-GIO-DEBUG: 08:52:38.740: GSocketClient: Starting new address enumeration
(gsd-print-notifications:26938): dconf-DEBUG: 08:52:38.740: watch_established: "/system/proxy/" (establishing: 1)
(gsd-print-notifications:26938): dconf-DEBUG: 08:52:38.741: watch_established: "/system/proxy/http/" (establishing: 1)
(gsd-print-notifications:26938): dconf-DEBUG: 08:52:38.741: watch_established: "/system/proxy/https/" (establishing: 1)
(gsd-print-notifications:26938): dconf-DEBUG: 08:52:38.741: watch_established: "/system/proxy/ftp/" (establishing: 1)
(gsd-print-notifications:26938): dconf-DEBUG: 08:52:38.741: watch_established: "/system/proxy/socks/" (establishing: 1)
(gsd-print-notifications:26938): print-notifications-plugin-DEBUG: 08:52:38.741: bus_acquired_cb: acquired bus 0x56432325e090 for name org.gnome.SettingsDaemon.PrintNotifications
(gsd-print-notifications:26938): print-notifications-plugin-DEBUG: 08:52:38.741: Registered client at path /org/gnome/SessionManager/Client26
(gsd-print-notifications:26938): print-notifications-plugin-DEBUG: 08:52:38.742: name_acquired_cb: acquired name org.gnome.SettingsDaemon.PrintNotifications on bus 0x56432325e090
(gsd-print-notifications:26938): GLib-GIO-DEBUG: 08:52:38.744: IPv6 DNS error: Fehler beim Auflösen von »proxy.mycompany.com«: Zu diesem Hostnamen gehört keine Adresse
(gsd-print-notifications:26938): GLib-GIO-DEBUG: 08:52:38.744: GSocketClient: Address enumeration succeeded
(gsd-print-notifications:26938): GLib-GIO-DEBUG: 08:52:38.744: GSocketClient: Starting TCP connection attempt
(gsd-print-notifications:26938): GLib-GIO-DEBUG: 08:52:38.744: GSocketClient: TCP connection successful
(gsd-print-notifications:26938): GLib-GIO-DEBUG: 08:52:38.744: GSocketClient: Starting application layer connection
(gsd-print-notifications:26938): GLib-GIO-DEBUG: 08:52:38.744: GSocketClient: Starting proxy connection
(gsd-print-notifications:26938): GLib-GIO-DEBUG: 08:57:38.496: GSocketClient: Starting new address enumeration
(gsd-print-notifications:26938): GLib-GIO-DEBUG: 08:57:38.498: IPv6 DNS error: Fehler beim Auflösen von »proxy.mycompany.com«: Zu diesem Hostnamen gehört keine Adresse
(gsd-print-notifications:26938): GLib-GIO-DEBUG: 08:57:38.498: GSocketClient: Address enumeration succeeded
(gsd-print-notifications:26938): GLib-GIO-DEBUG: 08:57:38.498: GSocketClient: Starting TCP connection attempt
(gsd-print-notifications:26938): GLib-GIO-DEBUG: 08:57:38.499: GSocketClient: TCP connection successful
(gsd-print-notifications:26938): GLib-GIO-DEBUG: 08:57:38.499: GSocketClient: Starting application layer connection
(gsd-print-notifications:26938): GLib-GIO-DEBUG: 08:57:38.499: GSocketClient: Starting proxy connection
It seems to me that gsd-print-notifications tries to start a proxy connection, but it does not finish. Do you have any ideas what I can do about this?
Thanks, Nils