Extremely slow rootless quadlet start

Hallo.

I’m facing to problem with extremely slow quadlet start for some containers.. It takes 15 minutes for authentik container for example:


It hangs on the Image Pull… I had to modify quadlet timeout to 30 minutes to be sure that service will go up…

Do you have an idea, what can be wrong?

graphDriverName: overlay
graphOptions: {}
graphRoot: /var/home/authentik/.local/share/containers/storage
graphRootAllocated: 10132369408
graphRootUsed: 5384335360
graphStatus:
Backing Filesystem: xfs
Native Overlay Diff: “true”
Supports d_type: “true”
Supports shifting: “false”
Supports volatile: “true”
Using metacopy: “false”

Please post text as pre-formatted text not screen shots using the </> button.
Images are not searchable and cannot be quoted from.

You may find more infomation in the system journal.
Try sudo journalctl -b 0 -u authentik-server
If that is not helpful see if there are debug logging levels for that server you can turn on.

There is nothing in journalctl --user -xeu service. It hangs exactly as shown on picture. And ir affects more images for me. But seems that the time is dependent on the real image size.

You are probably hitting Native `overlay` storage has significant impact on rootless containers creation time · Issue #1749 · coreos/fedora-coreos-tracker · GitHub

Try to add an entry to your butane/ignition that creates a file to configure rootless podman for that user to use fuse-overlayfs:

$ cat ~/.config/containers/storage.conf 
[storage]
driver = "overlay"
[storage.options.overlay]
mount_program = "/usr/bin/fuse-overlayfs"
1 Like

Seems that this proposed config change works like a charm!! Thank you for the help !