Uploaded image for project: 'OpenAM Agents'
  1. OpenAM Agents
  2. AMAGENTS-225

Under load remote audit logging produces many content length exceeded messages per batch

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.0
    • Fix Version/s: 5.0.0.0, 4.1.0
    • Component/s: Web Agents
    • Labels:

      Description

      The batch size of 25 seems to be too much for the 16k default PLL limit, which would result in audit message loss under load (tested 40k requests per second)
      Would recommend decreasing the number of audit messages sent to OpenAM to a smaller number. Optionally this could be made configurable.

      Reproduction
      use ab or gatling with 50 connections,50k users
      Set audit to LOG_BOTH and REMOTE or both for the audit destination.
      use 5 character usernames / large resource names
      Expected
      Agent would send correct size messages

      Actual
      amComm:10/17/2016 05:12:30:072 PM CEST: Thread[http-bio-8080-exec-125,5,main]: TransactionId[03010e8d-6dc4-4f9f-b805-6a872ec48ff6-503]
      ERROR: content length exceeded configured max request size - 16391
      amComm:10/17/2016 05:12:30:074 PM CEST: Thread[http-bio-8080-exec-47,5,main]: TransactionId[03010e8d-6dc4-4f9f-b805-6a872ec48ff6-505]
      ERROR: content length exceeded configured max request size - 16391
      amComm:10/17/2016 05:12:30:073 PM CEST: Thread[http-bio-8080-exec-118,5,main]: TransactionId[03010e8d-6dc4-4f9f-b805-6a872ec48ff6-504]

      seen in debug/CoreSystem (227k instances seen which made a multiple hundred megabyte file.)

        Attachments

          Activity

            People

            • Assignee:
              mareks Mareks Malnacs
              Reporter:
              alex.levin@forgerock.com Alex Levin
              QA Assignee:
              Pavel Balcárek
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: