Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-15209

Access can't up without restart after timed out exception caused by stress test

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 5.6.0
    • Fix Version/s: 5.7.0, 5.8.0
    • Component/s: Access Server
    • Labels:
      None

      Description

      When running ab test with a lot of concurrent threads(e.g. ab -n 200000 -c 600 http://104.199.82.83:8081/artifactory/generic-local/deleteme/1MFile_12.bin), artifactory throws timed out exception:
      2017-11-02 13:42:15,719 [http-nio-8081-exec-50] [ERROR] (o.j.a.c.h.AccessHttpClient:111) - Error while executing /api/v1/auth/login on access
      2017-11-02 13:42:15,720 [http-nio-8081-exec-50] [ERROR] (o.j.a.c.h.AccessHttpClient:112) -
      java.net.SocketTimeoutException: Read timed out

      After investigation with Noam, we found that it causes by Access which fails even if ab runs directly on Access calls:
      ab -c 600 -n 10000 -p credentials -H "Content-Type: application/json" -A admin:artifactory http://104.199.82.83:8081/access/api/v1/auth/login

      credentials file:

      {"username": "admin", "password": "artifactory"}

      After the crash Access can't continue to work until restart.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              noams Noam Shemesh
              Reporter:
              Konstantins Konstantin Shenderov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: