Many old tmp files in /srv/node/xxx/objects/

Bug #1359156 reported by Anton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Expired
Low
Unassigned

Bug Description

Hi,
I saw to many tmp files in patitions folders:

for example:

root@str-05 /srv/node/sdv1 # find /srv/node/sdh1 -name '*.tmp'
/srv/node/sdh1/objects/235199/tmpF3zY95.tmp
/srv/node/sdh1/objects/261642/tmp5fI6TZ.tmp
/srv/node/sdh1/objects/172273/tmpPbzu9L.tmp
/srv/node/sdh1/objects/172273/tmpquXoEf.tmp
/srv/node/sdh1/objects/220845/tmpQ021_u.tmp
/srv/node/sdh1/objects/244457/tmpf0zbaO.tmp
/srv/node/sdh1/objects/240235/tmpBDQUd_.tmp
/srv/node/sdh1/objects/240235/tmpclQCiz.tmp
/srv/node/sdh1/objects/77029/tmpKJNP5O.tmp
/srv/node/sdh1/objects/251288/tmpsbpAUJ.tmp
/srv/node/sdh1/objects/180664/tmp2g0WWC.tmp
/srv/node/sdh1/objects/4604/tmpMVo5fZ.tmp
/srv/node/sdh1/objects/251229/tmpfcdAln.tmp
^C

root@str-05 /srv/node/sdv1 # ls -la /srv/node/sdh1/objects/235199/tmpF3zY95.tmp
-rw------- 1 swift swift 0 Feb 28 10:25 /srv/node/sdh1/objects/235199/tmpF3zY95.tmp

But it observed not on all drives. I think this drives were once overflowing (100% usage). I found one drive without free space and run find tmp files here. Drive have very many empty tmp files...

Revision history for this message
clayg (clay-gerrard) wrote :

Hrmm... I was thinking that these are tmp files created during object upload - where normally it's the object-replicators job to "unlink_older_than(tmp_path, time.time() - self.reclaim_age)"...

But those paths don't look right to me? I think those are actually rsync tmp files (?!)

I don't think I have any idea how/when those get cleaned up.

But I do know that rsync breaks in crappy ways when your disks get full. Actually lots of things seem to get broken in crappy ways when swift's disks get full.

Revision history for this message
Mahati Chamarthy (mahati-chamarthy) wrote :

As is, with the information given, this isn't reproducible. More info would be good. Assigning importance "low" as we haven't had any further bug reports on this issue AFAICT.

Changed in swift:
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack Object Storage (swift) because there has been no activity for 60 days.]

Changed in swift:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.