Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-6864

WPA crash (Httpd 2.2) under high load (access static resource)


    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Agents-4.0.0, Agents-5.0
    • Fix Version/s: Agents-4.0.0, Agents-5.0
    • Component/s: web agents
    • Labels:
    • Environment:
      CentOs 6.6 Httpd 2.2 OpenAM 12.0.1


      Running some kind stress test against latest WPA 4.0.0 (httpd 2.2 - 64 bits - linux).
      The setup is pretty simple:

      • 1 DJ as ID store with 1000 users (user.0 => user.999)
      • 1 OpenAM 12.0.1 configured with 1000 policies: each one allowing one user to get a static resource, ex: allow user.0 to get Resource0.html
      • 1 Http 2.2 with mpm=worker configured to handle 1000 concurrent connections (MaxClients=1000, ServerLimit=40)

      The load is generating with tool gatling in the following way:
      1. Rest Login (directly against AM) as user.N
      2. Add token Id as a cookie, and make sure we can get ResourceN.html on Httpd

      We have no problem when running the client with 500 concurrent connections, but get lot of "connection closed" if I run it with 1000 connections
      From the agent directly I see quite a few core files (see backtraces in attachement)




            • Assignee:
              mareks Mareks Malnacs
              sberthol Sebastien Bertholet [X] (Inactive)
            • Votes:
              0 Vote for this issue
              2 Start watching this issue


              • Created: