Uploaded image for project: 'Archiva (Retired)'
  1. Archiva (Retired)
  2. MRM-1419

Archiva reaches fd limit and keeps complaining of 'too many open files'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.3.1
    • None
    • indexing
    • 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
      

      Attachments

        1. archiva-dsso.csv.gz
          0.6 kB
          Gustavo Chaves
        2. scan.log.gz
          8 kB
          Gustavo Chaves

        Issue Links

          Activity

            People

              brett Brett Porter
              gnustavo Gustavo Chaves
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: