[ 
http://jira.codehaus.org/browse/MRM-1419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=234045#action_234045
 ] 

Brett Porter commented on MRM-1419:
-----------------------------------

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?

> Archiva reaches fd limit and keeps complaining of 'too many open files'
> -----------------------------------------------------------------------
>
>                 Key: MRM-1419
>                 URL: http://jira.codehaus.org/browse/MRM-1419
>             Project: Archiva
>          Issue Type: Bug
>          Components: indexing
>    Affects Versions: 1.3.1
>         Environment: $ 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)
>            Reporter: Gustavo Chaves
>
> 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:
> {noformat}
> # 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
> {noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to