Forum Discussion
Weird rpm-tmp files are taking up too much space in /shared
Hi everyone,
We have a Viprion device with 2 guests on it. On one of them we keep getting this error:
011d0004:3: Disk partition /shared (slot 1) has only 15% free
Upon further investigating the /shared folder, we realized that the /shared/tmp folder is filled with almost 23 gigs of random tmp files, such as:
rpm-tmp.bw2ttL
rpm-tmp.BWk9SZ
rpm-tmp.BWLzYD
rpm-tmp.BXUvXL
rpm-tmp.BYAz3r
rpm-tmp.bYeToN
rpm-tmp.BYuy6l
rpm-tmp.bYyVMg
They are usually around 9-12 MB in size and there is a lot of them.
My questions are since I couldn't find any info on them:
What are these?
Can they be deleted?
Thanks in advance.
Hello Tihi.
Those files are created as part of a Build RPM Package process.
REF - https://linux.die.net/man/8/rpmbuild
I share with you some other references:
REF - https://www.redhat.com/archives/rpm-list/2003-September/msg00099.html
REF - https://www.redhat.com/archives/rpm-list/2003-September/msg00100.html
Example of execution
$ rpmbuild -bb doc.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.X07xhN + umask 022 + cd /home/neo/rpmbuild/BUILD + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ANzKAA + umask 022 + cd /home/neo/rpmbuild/BUILD + mkdir -p /home/neo/rpmbuild/BUILDROOT/netkiller-1.0.1-1.x86_64 + mkdir -p /home/neo/rpmbuild/BUILDROOT/netkiller-1.0.1-1.x86_64/usr/share/doc/ + exit 0
Usually, those files are removed at the end of the packet construction. Why are they not being removed? actually I don't know. You should better open a support case.
KR,
Dario.
- tihiNimbostratus
Hi,
Thank you for your reply. I'll look into the references and open a support case.
Thanks again.
Br,
Tihi
- BrumikNimbostratus
Hello,
I am getting the same issue - rpm tmp files are created in /var/tmp each morning.
Does anyone know what process is creating these and how to stop it?
BR
Chris
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com