Uploaded image for project: 'FOLIO'
  1. FOLIO
  2. FOLIO-516

Error 500's from Okapi with 5 or more concurrent requests

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P1
    • Resolution: Done
    • None

    Description

      For a while now, I have - on-and-off - seen internal server errors from Okapi, apparently when issuing 5-6 or more concurrent requests to Okapi.

      I'm running folio-backend-auth black box 0.7.2

      I first saw it in UI scan, not when adding a single item, which would make following requests (each request preceded with an OPTIONS request):

      GET item-storage
      PUT item-storage
      POST loan-storage
      GET loan-storage

      But when adding two or more items in one go, the issue occurs more often, though not always.

      I've then seen it on the users view page two - where we now have about five concurrent GET requests to loans, users, permissions (x2), groups.

      I've begun attempts at reproducing with cUR but need to add more concurrent requests to try and imitate the UI actions.

      TestRail: Results

        Attachments

          1. fine-logs-transcript.txt
            61 kB
          2. okapi.log.1
            22 kB
          3. okapi.log.2
            22 kB
          4. vagrant-docker-logs.txt
            31 kB
          5. vagrant-logs-new-box.txt
            15 kB

          Issue Links

            Activity

              People

                adam Adam Dickmeiss (Inactive)
                nielserik Niels Erik Gilvad Nielsen
                Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 1 week, 1 day, 2 hours, 30 minutes
                    1w 1d 2h 30m

                    TestRail: Runs

                      TestRail: Cases