Skip to content

wayland: Bump connection buffer size to 1GB

Sebastian Wick requested to merge swick/mutter:wip/wl-connection-size into main
There are a lot of ways to increase mutters memory usage already that we
don't protect against. Let's make the wayland connection buffers big
enough that they won't cause suspended client's connection to get

The function isn't in any release yet. We either need to wait for a release and require that new version in the build system or have to check that the function is available in whatever version we get.

The other, more complex questions:

  • do we want this?
  • which size?
  • should we require GMemoryMonitor / systemd memory pressure handling (to kill/clients over a threshold when the system is under pressure)?

Merge request reports