Comment 10 for bug 2051838

Revision history for this message
Steve (stevebot) wrote (last edit ):

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).

The log line comes from wayland-proxy[1], which is used by Firefox.

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`.

[1] https://github.com/stransky/wayland-proxy/blob/1bd4f5fe0378d820a611a73f71326ba996e3ad7f/src/wayland-proxy.cpp#L222