On Mon, 2026-06-15 at 01:57 +0200, Ralf Mardorf wrote:
> This includes, among other things, the Atril document viewer, which
> has not only become incredibly slow but also formats documents
> strangely.

It's "just" running slowly. The formatting issue was just a fluke.

After running a few straces [1], I finally had something to search for
on Google. Unfortunately, I don't see how that would help me.

Search: webkit2gtk-4.1 Resource temporarily unavailable

"Übersicht mit KI

The Resource temporarily unavailable error (often appearing as EAGAIN)
with webkit2gtk-4.1 typically points to an issue where the background
WebKitWebProcess or WebKitNetworkProcess is being blocked from accessing
system resources. https://bbs.archlinux.org/viewtopic.php?id=298535

Common fixes include:

Update your libraries: If you are experiencing this on an app like
Evolution Mail or a Tauri build, update your system packages. Many Linux
distributions patched recent memory and network instability bugs.
https://bbs.archlinux.org/viewtopic.php?id=298535

Check for audio/video conflicts: The error is sometimes triggered by
failing GStreamer background threads. Test if your audio server (e.g.,
Pipewire or PulseAudio) needs restarting via systemctl --user restart
pipewire. https://bugzilla.gnome.org/show_bug.cgi?id=762030

Fix X11/Wayland display permissions: If you see this alongside a Fatal
IO error on X server message, it means the background process lost
connection to your display. Restart your desktop environment or use an
application launcher to refresh the GUI session.
https://www.reddit.com/r/archlinux/comments/mjgt75/xorg_not_setting_monitor_postions/

Increase file descriptor limits: Webkit processes can aggressively
consume file descriptors, which will cause it to crash with this error.
You can increase your system's limit by adding fs.file-max = 524288 to
your /etc/sysctl.conf and running sudo sysctl -p.
https://bugzilla.gnome.org/show_bug.cgi?id=728352

If this issue is localized to a specific development framework like
Tauri, consult the official Tauri Troubleshooting docs for library
setup."

[1]
$ strace evolution
[snip]
poll([{fd=10, events=POLLIN}], 1, -1)   = 1 ([{fd=10, revents=POLLIN}])
recvmsg(10, {msg_name=NULL, msg_namelen=0, 
msg_iov=[{iov_base="\1\1\372}\0\0\0\0\214\tA\0\0\08\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",
 iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(10, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily 
unavailable)
recvmsg(10, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily 
unavailable)
recvmsg(10, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily 
unavailable)
recvmsg(10, {msg_namelen=0}, 0)         = -1 EAGAIN (Resource temporarily 
unavailable)
[snip]

$ strace atril Documents/[snip]
[snip]
poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
writev(4, [{iov_base="l\0\v\0\0\0\22\0\20\0\0\0", iov_len=12}, {iov_base="", 
iov_len=0}, {iov_base="MIT-MAGIC-COOKIE-1", iov_len=18}, {iov_base="\0\0", 
iov_len=2}, {iov_base="\241\1\316./\350\310\232\274\227\"\204w\232\256\32", 
iov_len=16}, {iov_base="", iov_len=0}], 6) = 48
recvfrom(4, 0x55e491472030, 8, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily 
unavailable)
poll([{fd=4, events=POLLIN}], 1, -1)    = 1 ([{fd=4, revents=POLLIN}])
recvfrom(4, "\1\0\v\0\0\0\23\10", 8, 0, NULL, NULL) = 8
recvfrom(4, "\237\245\270\0\0\0\240\2\377\377\37\0\0\1\0\0\24\0\377\377\1\7\0\0 
 \10\377\0\0\0\0"..., 8268, 0, NULL, NULL) = 8268
poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
writev(4, [{iov_base="b\0\5\0\f\0\0\0BIG-REQUESTS", iov_len=20}], 1) = 20
poll([{fd=4, events=POLLIN}], 1, -1)    = 1 ([{fd=4, revents=POLLIN}])
recvmsg(4, {msg_name=NULL, msg_namelen=0, 
msg_iov=[{iov_base="\1\0\1\0\0\0\0\0\1\205\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",
 iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32
poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
writev(4, [{iov_base="\205\0\1\0", iov_len=4}], 1) = 4
poll([{fd=4, events=POLLIN}], 1, -1)    = 1 ([{fd=4, revents=POLLIN}])
recvmsg(4, {msg_name=NULL, msg_namelen=0, 
msg_iov=[{iov_base="\1\0\2\0\0\0\0\0\377\377?\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",
 iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(4, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily 
unavailable)
poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
writev(4, 
[{iov_base="7\0\5\0\0\0\240\2\235\4\0\0\10\0\0\0\377\377\377\0\24\0\6\0\235\4\0\0\27\0\0\0"...,
 iov_len=44}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 44
poll([{fd=4, events=POLLIN}], 1, -1)    = 1 ([{fd=4, revents=POLLIN}])
recvmsg(4, {msg_name=NULL, msg_namelen=0, 
msg_iov=[{iov_base="\1\10\4\0\37\0\0\0\37\0\0\0\0\0\0\0|\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
 iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 156
recvmsg(4, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily 
unavailable)
poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
writev(4, [{iov_base="b\0\5\0\t\0\240\2", iov_len=8}, {iov_base="XKEYBOARD", 
iov_len=9}, {iov_base="\0\0\0", iov_len=3}], 3) = 20
poll([{fd=4, events=POLLIN}], 1, -1)    = 1 ([{fd=4, revents=POLLIN}])
recvmsg(4, {msg_name=NULL, msg_namelen=0, 
msg_iov=[{iov_base="\1\0\5\0\0\0\0\0\1\207U\211\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",
 iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(4, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily 
unavailable)
recvmsg(4, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily 
unavailable)
poll([{fd=4, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=4, revents=POLLOUT}])
writev(4, [{iov_base="\207\0\2\0\1\0\0\0", iov_len=8}, {iov_base=NULL, 
iov_len=0}, {iov_base="", iov_len=0}], 3) = 8
poll([{fd=4, events=POLLIN}], 1, -1)    = 1 ([{fd=4, revents=POLLIN}])
recvmsg(4, {msg_name=NULL, msg_namelen=0, 
msg_iov=[{iov_base="\1\1\6\0\0\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",
 iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(4, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily 
unavailable)
recvmsg(4, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily 
unavailable)
[snip]

$ strace eolie
[snip]
recvmsg(3, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily 
unavailable)
ppoll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=6, events=POLLIN}, 
{fd=12, events=POLLIN}, {fd=35, events=POLLIN}, {fd=49, events=POLLIN}, {fd=56, 
events=POLLIN}, {fd=59, events=POLLIN}], 8, {tv_sec=0, tv_nsec=499897000}, 
NULL, 8) = 1 ([{fd=3, revents=POLLIN}], left {tv_sec=0, tv_nsec=492814347})
recvmsg(3, {msg_name=NULL, msg_namelen=0, 
msg_iov=[{iov_base="#\203J\10\30\0\0\0\6\0\2\0F\335\205\10\0\0\0\0\235\4\0\0\21\0\200\2\0\0\0\0"...,
 iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 128
recvmsg(3, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily 
unavailable)
recvmsg(3, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily 
unavailable)
recvmsg(3, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily 
unavailable)
ppoll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=6, events=POLLIN}, 
{fd=12, events=POLLIN}, {fd=35, events=POLLIN}, {fd=49, events=POLLIN}, {fd=56, 
events=POLLIN}, {fd=59, events=POLLIN}], 8, {tv_sec=0, tv_nsec=0}, NULL, 8) = 0 
(Timeout)
ppoll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=6, events=POLLIN}, 
{fd=12, events=POLLIN}, {fd=35, events=POLLIN}, {fd=49, events=POLLIN}, {fd=56, 
events=POLLIN}, {fd=59, events=POLLIN}], 8, {tv_sec=0, tv_nsec=0}, NULL, 8) = 0 
(Timeout)
ppoll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=6, events=POLLIN}, 
{fd=12, events=POLLIN}, {fd=35, events=POLLIN}, {fd=49, events=POLLIN}, {fd=56, 
events=POLLIN}, {fd=59, events=POLLIN}], 8, {tv_sec=0, tv_nsec=0}, NULL, 8) = 0 
(Timeout)
recvmsg(3, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily 
unavailable)
ppoll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=6, events=POLLIN}, 
{fd=12, events=POLLIN}, {fd=35, events=POLLIN}, {fd=49, events=POLLIN}, {fd=56, 
events=POLLIN}, {fd=59, events=POLLIN}], 8, {tv_sec=0, tv_nsec=499911000}, 
NULL, 8) = 1 ([{fd=4, revents=POLLIN}], left {tv_sec=0, tv_nsec=495882941})
read(4, "\1\0\0\0\0\0\0\0", 8)          = 8
write(4, "\1\0\0\0\0\0\0\0", 8)         = 8
write(53, "\1\0\0\0\0\0\0\0", 8)        = 8
recvmsg(3, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily 
unavailable)
ppoll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=6, events=POLLIN}, 
{fd=12, events=POLLIN}, {fd=35, events=POLLIN}, {fd=49, events=POLLIN}, {fd=56, 
events=POLLIN}, {fd=59, events=POLLIN}], 8, {tv_sec=0, tv_nsec=495569000}, 
NULL, 8) = 1 ([{fd=4, revents=POLLIN}], left {tv_sec=0, tv_nsec=495565637})
[snip]

Reply via email to