OCI: Oracle Linux Instances Can Observe High Usage Inside /var/tmp — Cloud Customer Connect
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
Note!! Please register for a free account to access the full content and also to participate in Q&A in the community

OCI: Oracle Linux Instances Can Observe High Usage Inside /var/tmp

Applies To:

Linux x86-64
Oracle Cloud Infrastructure

Symptoms:

Frequently, on Oracle Linux instance, the /var/tmp directory can be seen as taking up a lot of space.

Cause:

When users execute dnf or yum commands, it creates these /var/tmp/dnf-<user_name>-* or /var/tmp/yum-<user_name>-* directories with the repo metadata cache. For OL7, any user running dnf or yum can be creating these directories, but on OL8, only non-root users running dnf or yum can be creating these directories.

OL7 Exampke)
# find /var/tmp -maxdepth 1 -type d \( -name 'dnf-*' -o -name 'yum-*' \) -printf "%u:%g %p\n"

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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