Also have this issue (100% cpu usage by /usr/sbin/rsyslogd) with Firefox
in Sway on Ubuntu 22.04. So far I've only noticed this after reloading
the sway config (`swaymsg reload` or Mod+Shift+c).

Fabien (afabien) wrote:
> To avoid having disk full problems, I used the following workaround:
>
> I created a file /etc/rsyslog.d/10-no-gdm-wayland.conf
> Containing the following lines:
> :msg, contains, "Error: WaylandMessage::Write() too many files to send" ~
> :msg, contains, " :" ~
>
> And then restarted rsyslog (as root): systemctl restart rsyslog.service

This workaround didn't work for me, even after replacing the `~` with
`stop`.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/2051838

Title:
  /usr/libexec/gdm-wayland-session: Error: WaylandMessage::Write() too
  many files to send

Status in firefox package in Ubuntu:
  Confirmed

Bug description:
  GDM, or more specifically is flooding systemd journal and
  /var/log/syslog via rsyslogd with gigabytes of the following messages:

  Jan 31 08:44:26 rivendell /usr/libexec/gdm-wayland-session[285102]: Error: 
WaylandMessage::Write() too many files to send
  Jan 31 08:44:26 rivendell /usr/libexec/gdm-wayland-session[285102]:  :
  Jan 31 08:44:26 rivendell /usr/libexec/gdm-wayland-session[283270]: Error: 
WaylandMessage::Write() too many files to send
  Jan 31 08:44:26 rivendell /usr/libexec/gdm-wayland-session[283270]:  :
  Jan 31 08:44:26 rivendell /usr/libexec/gdm-wayland-session[285102]: Error: 
WaylandMessage::Write() too many files to send
  Jan 31 08:44:26 rivendell /usr/libexec/gdm-wayland-session[285102]:  :
  Jan 31 08:44:26 rivendell /usr/libexec/gdm-wayland-session[283270]: Error: 
WaylandMessage::Write() too many files to send
  Jan 31 08:44:26 rivendell /usr/libexec/gdm-wayland-session[283270]:  :
  Jan 31 08:44:26 rivendell /usr/libexec/gdm-wayland-session[285102]: Error: 
WaylandMessage::Write() too many files to send

  
  I noticed the problem when I started to run out of disk because 
/var/log/syslog was consuming more than 400GiB. I noticed that rsyslogd starts 
to consume a lot of CPU trying to process such volume of messages.

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to