Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.3.1
-
None
-
None
Description
Let me start by saying that I looked at MRM-1097 but it seems to be a different problem because there they say that the accumulating file descriptors were sockets and here they are index files.
Being more specific, our Archiva is accumulating several open file descriptors to already deleted files. In less than one hour it can accumulate as much as 1000 such file descriptors, quickly reaching the process file descriptor limit which we already increaded from 4K to 12K in an attempt to delay the problem.
This are the kind of descriptors I'm talking about:
# lsof -p 13052|grep -F '.cfs (deleted)'|head java 13052 root 188u REG 8,49 6622810 7393646 /l/home3/archiva/dsso/data/repositories/internal/inhouse/snapshots/.indexer/_1tkvx.cfs (deleted) java 13052 root 190u REG 8,49 6622878 1572928 /l/home3/archiva/dsso/data/repositories/internal/inhouse/snapshots/.indexer/_1tkw3.cfs (deleted) java 13052 root 191u REG 8,49 6622878 1572928 /l/home3/archiva/dsso/data/repositories/internal/inhouse/snapshots/.indexer/_1tkw3.cfs (deleted) java 13052 root 192u REG 8,49 6622878 1572928 /l/home3/archiva/dsso/data/repositories/internal/inhouse/snapshots/.indexer/_1tkw3.cfs (deleted) java 13052 root 193u REG 8,49 6622812 7393642 /l/home3/archiva/dsso/data/repositories/internal/inhouse/snapshots/.indexer/_1tkv7.cfs (deleted) java 13052 root 194r REG 8,49 6622878 1572928 /l/home3/archiva/dsso/data/repositories/internal/inhouse/snapshots/.indexer/_1tkw3.cfs (deleted) java 13052 root 195u REG 8,49 6622878 1572918 /l/home3/archiva/dsso/data/repositories/internal/inhouse/snapshots/.indexer/_1tkw5.cfs (deleted) java 13052 root 197u REG 8,49 6622813 7393638 /l/home3/archiva/dsso/data/repositories/internal/inhouse/snapshots/.indexer/_1tkv9.cfs (deleted) java 13052 root 198u REG 8,49 6622878 1572928 /l/home3/archiva/dsso/data/repositories/internal/inhouse/snapshots/.indexer/_1tkw3.cfs (deleted) java 13052 root 200u REG 8,49 6622812 7393630 /l/home3/archiva/dsso/data/repositories/internal/inhouse/snapshots/.indexer/_1tkvl.cfs (deleted) # lsof -p 13052|grep -c -F '.cfs (deleted)' 817