Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 1.3.1
-
Fix Version/s: None
-
Component/s: indexing
-
Labels:None
-
Environment:Hide$ uname -a
Linux vmconnor.cpqd.com.br 2.6.18-92.el5PAE #1 SMP Tue Apr 29 13:31:02 EDT 2008 i686 i686 i386 GNU/Linux
$ java -version
java version "1.6.0_04"
Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
Java HotSpot(TM) Server VM (build 10.0-b19, mixed mode)
Show$ uname -a Linux vmconnor.cpqd.com.br 2.6.18-92.el5PAE #1 SMP Tue Apr 29 13:31:02 EDT 2008 i686 i686 i386 GNU/Linux $ java -version java version "1.6.0_04" Java(TM) SE Runtime Environment (build 1.6.0_04-b12) Java HotSpot(TM) Server VM (build 10.0-b19, mixed mode)
-
Number of attachments :
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
we're due to review the use of the indexer in the next release, so hopefully we can pick this up at the time.
Do you have some data on how many artifacts you are processing through the indexer and how often?