Red Hat Bugzilla – Bug 833700
[rhevm] - temp log files are being created periodically at /tmp (tmp.4P5WDqMKt4 )
Last modified: 2016-02-10 14:38:46 EST
Description of problem:
On the rhevm server every couple of minutes many temp.xxxx files are being created
Version-Release number of selected component (if applicable):
Steps to Reproduce:
at /tmp look for tmp.xxx files
should be deleted in terms of 1sec-10sec and not get accumalated
or should not be created at all
* Juan had already pushed a fix for that.
cast(trim(' 2012-06-17 10:02:18.785785+03') as
timestamp),cast(trim(' 2012-06-17 10:02:18.874122+03') as
It was seen on rhevm 3.0, though less periodically.
I detected an issue with the database creation scripts some time ago, and I think this is the same. The problem is that the database creation scripts create one temporary file for each upgrade, and they are never deleted:
The change I proposed to fix the issue is here:
It has already been merged.
SI10 - Still happening
Some files are 5 days old...
insert into schema_version(version,script,checksum,installed_by,started_at,ended_at,state,current,comment)
cast(trim(' 2012-07-15 15:18:26.862234+03') as timestamp),cast(trim(' 2012-07-15 15:18:26.983036+03') as timestamp),'INSTALLED',false,'');
Still getting tmp files of all kind , now new ones -
Created attachment 600491 [details]
Created attachment 600493 [details]
These new tmp files are apparently related to reports. Yaniv, can you take a look?
These are the reports setup temp files.
Why do we need to clean these?
if the tmp files dont get to often and too large of space, it will be deleted eventually
so there is no problem from my side
Please advise on the frequent of these tmp files that are created,
The reports tmp files are created only during setup
And are small sized