Page MenuHomePhabricator

archiva1002 has stale jobs in /var/cache/archiva that uses all the disk space
Open, Stalled, LowPublic

Description

archiva1002 has stale jobs in /var/cache/archiva that uses all the disk space

atsuko@archiva1002:/var/cache/archiva$ for lock in $(sudo find temp* -name '*.lock' | sudo xargs -x ls -tr); do sudo ls -l $lock; sudo du -hs "$(dirname "$(dirname "$lock")")"; sudo lsof $lock; done
-rw-r--r-- 1 archiva archiva 0 Feb  9 00:30 temp3417787305599408043/.indexer/write.lock
1.1G    temp3417787305599408043
-rw-r--r-- 1 archiva archiva 0 Feb 13 19:34 temp847151313218795886/.indexer/write.lock
278M    temp847151313218795886
-rw-r--r-- 1 archiva archiva 0 Mar  7 19:05 temp8299657763236656851/.indexer/write.lock
2.5G    temp8299657763236656851
-rw-r--r-- 1 archiva archiva 0 Apr 15 17:03 temp3342440303521973427/.indexer/write.lock
36G     temp3342440303521973427
-rw-r--r-- 1 archiva archiva 0 Apr 18 14:16 temp1207743700247996830/.indexer/write.lock
36G     temp1207743700247996830
-rw-r--r-- 1 archiva archiva 0 Apr 18 19:19 temp8460517291491052568/.indexer/write.lock
36G     temp8460517291491052568
-rw-r--r-- 1 archiva archiva 0 Apr 22 23:59 temp833465324560361282/.indexer/write.lock
36G     temp833465324560361282
-rw-r--r-- 1 archiva archiva 0 Apr 30 15:22 temp9040114031087635266/.indexer/write.lock
35G     temp9040114031087635266
COMMAND     PID    USER   FD   TYPE DEVICE SIZE/OFF    NODE NAME
java    1258608 archiva  328uW  REG  253,1        0 3932163 temp9040114031087635266/.indexer/write.lock

Event Timeline

atsuko changed the task status from Open to In Progress.May 1 2026, 10:28 AM
atsuko claimed this task.
atsuko triaged this task as Low priority.
atsuko added projects: SRE, Data-Platform-SRE.
atsuko changed the task status from In Progress to Stalled.May 1 2026, 10:40 AM
atsuko removed atsuko as the assignee of this task.

I manually cleaned up /var/cache/archiva more than wanted, so I can't test the cleaning script/behaviour., will check in a week.