Skip to content

podman system prune -a and podman info very slow #25143

@nickdesaulniers

Description

@nickdesaulniers

Issue Description

Smells like #6288 , but I'm running:

$ podman version
Client:       Podman Engine
Version:      4.9.4
API Version:  4.9.4
Go Version:   go1.22.7
Built:        Wed Dec 31 16:00:00 1969
OS/Arch:      linux/amd64
$ podman info
WARN[0001] Found incomplete layer "3c350344f166c20784bdbf4812549210d5ff7c222c14e63d0937d2580434e940", deleting it 
<sits forever, doesn't finish, ctrl+c>
$ 

### Steps to reproduce the issue

`podman system prune -a`
`podman info`

### Describe the results you received

Both commands seem to hang forever. `prune` ran overnight. I'm on a high end workstation...

### Describe the results you expected

Clean up in a relatively acceptable amount of time.

### podman info output

```yaml
x86_64

Podman in a container

No

Privileged Or Rootless

None

Upstream Latest Release

No

Additional environment details

No response

Additional information

In GDB I can see multiple threads getting spawned repeatedly. But in top, it looks like the process is pegging 1 cpu core.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions