You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI: "podman ps –s" Consumes CPU and Takes Several Minutes to Complete

Applies To:

Oracle Cloud Infrastructure - Version N/A and later

Linux x86_64

Symptoms:

In Oracle Linux 8 instance with several active containers, running command:

$ podman ps

Returns immediately, but running command:

$ podman ps -s

Can take several minutes to return results and during that time a 100% usage of 1 CPU core by podman, with ~80% of that use in %SYS.

Cause:

Using option “-s” in podman ps, returns the current size of each container.

To obtain that usage, podman needs to sweep the entire overlay filesystem of each container to compute the storage usage.

This is a CPU and I/O intensive process that takes time and the effective time it takes will increase with the number of containers and their overlay filesystem size.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!