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
in Linux
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"
Tagged:
0