Archiva
  1. Archiva
  2. MRM-830

Archiva is very slow when remote repository is unreachable

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Won't Fix
    • Affects Version/s: 1.0.2
    • Fix Version/s: None
    • Component/s: remote proxy
    • Labels:
      None
    • Environment:
      Debian
    • Number of attachments :
      0

      Description

      If a remote repository is not available (e.g. network error) then ALL artifact downloads (even from different remote repos) from clients are very slow. If the remote repo is removed from the config everything works again.

        Issue Links

          Activity

          Hide
          James William Dumay added a comment -

          We should look at this after 1.1 (and possibly back port it to the 1.1.x branch).

          I'm under the opinion that all calls to remote repositories should be asynchronous and that Archiva should serve the data that becomes available first. This will most likely also boost proxy performance.

          Show
          James William Dumay added a comment - We should look at this after 1.1 (and possibly back port it to the 1.1.x branch). I'm under the opinion that all calls to remote repositories should be asynchronous and that Archiva should serve the data that becomes available first. This will most likely also boost proxy performance.
          Hide
          James William Dumay added a comment -

          Moving this off to 1.3 for the merge of the new repo api

          Show
          James William Dumay added a comment - Moving this off to 1.3 for the merge of the new repo api
          Hide
          Brett Porter added a comment -

          refer to thread dump in linked issue for additional information

          Show
          Brett Porter added a comment - refer to thread dump in linked issue for additional information
          Hide
          Stephen Spencer added a comment -

          Just to note that we got hit by this issue this morning as Adobe's svn and repo is timing out.
          It's an especially unpleasant bug because no errors are thrown, and the web admin still works quickly, it just makes Archiva take a very very long time when serving any artifact, even non-snapshot ones where I would assume proxy connections would not even be used.

          Show
          Stephen Spencer added a comment - Just to note that we got hit by this issue this morning as Adobe's svn and repo is timing out. It's an especially unpleasant bug because no errors are thrown, and the web admin still works quickly, it just makes Archiva take a very very long time when serving any artifact, even non-snapshot ones where I would assume proxy connections would not even be used.
          Hide
          Olivier Lamy added a comment -

          timeout now configurable in 2.x

          Show
          Olivier Lamy added a comment - timeout now configurable in 2.x

            People

            • Assignee:
              Olivier Lamy
              Reporter:
              Thilo Tanner
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: