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

repository statistics time has blown out again

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 1.4-M2
    • None
    • Metadata Repository
    • None

    Description

      This may be the cause of the failures / hangs I've been seeing. In my local environment:

      2012-01-16 10:02:18,487 [pool-2-thread-1] INFO  org.apache.archiva.metadata.repository.stats.DefaultRepositoryStatisticsManager  - Gathering statistics executed in 3366961ms
      

      For repo:

      .\ Scan of internal \.__________________________________________
        Repository Dir    : /Users/brett/Library/Application Support/Archiva/data/repositories/internal
        Repository Name   : Archiva Managed Internal Repository
        Repository Layout : default
        Known Consumers   : (7 configured)
                            create-missing-checksums
                            auto-remove
                            auto-rename
                            repository-purge (Total: 263501ms; Avg.: 17; Count: 14904)
                            index-content (Total: 0ms; Avg.: 0; Count: 1)
                            create-archiva-metadata
                            duplicate-artifacts (Total: 2339ms; Avg.: 2339; Count: 1)
        Invalid Consumers : <none>
        Duration          : 13 Minutes 5 Seconds 169 Milliseconds
        When Gathered     : 1/16/12 9:06 AM
        Total File Count  : 72758
        Avg Time Per File : 10 Milliseconds
      ______________________________________________________________
      

      This was a longer scan than usual, typically <1 - 2 minutes, but the statistics scans have been ~30mins then too.

      Also worth noting that the purge seems to be triggering each time but not affecting those files.

      I'll look into both.

      Attachments

        Activity

          People

            brett Brett Porter
            brett Brett Porter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: