Uploaded image for project: 'Archiva'
  1. Archiva
  2. MRM-830

Archiva is very slow when remote repository is unreachable

    Details

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

      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
          jameswdumay 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
          jameswdumay 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
          jameswdumay James William Dumay added a comment -

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

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

          refer to thread dump in linked issue for additional information

          Show
          brettporter Brett Porter added a comment - refer to thread dump in linked issue for additional information
          Hide
          sgspencer 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
          sgspencer 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
          olamy Olivier Lamy (*$^¨%`£) added a comment -

          timeout now configurable in 2.x

          Show
          olamy Olivier Lamy (*$^¨%`£) added a comment - timeout now configurable in 2.x
          Hide
          bcros Bruno Cros added a comment -

          Actually, setting download timeout on 2 s seems to not be a workaround.
          Remove the external repo works. but it would be great to have it when needed !

          Show
          bcros Bruno Cros added a comment - Actually, setting download timeout on 2 s seems to not be a workaround. Remove the external repo works. but it would be great to have it when needed !
          Hide
          effrafax Martin Stockhammer added a comment -

          Hi,

          the ticket is for archiva version 1.0.2 which is not maintained anymore. Which archiva version do you use?

          Greetings

          Martin


          Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

          Show
          effrafax Martin Stockhammer added a comment - Hi, the ticket is for archiva version 1.0.2 which is not maintained anymore. Which archiva version do you use? Greetings Martin – Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

            People

            • Assignee:
              olamy Olivier Lamy (*$^¨%`£)
              Reporter:
              thilo Thilo Tanner
            • Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development