Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3971

Struts 2.3.8 threads BLOCKED in com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.8
    • Fix Version/s: 2.3.12
    • Component/s: XML Configuration
    • Labels:
      None
    • Environment:

      apache-tomcat-6.0.32, jdk1.6.0_27, devMode set to false.

    • Flags:
      Important

      Description

      While load testing a web application on Tomcat 6 using Struts 2.3.8 version. devMode is set to false.
      Found lot of BLOCKED threads in this method:

      com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration()
      This is causing high CPU usage for the application. also found that com.opensymphony.xwork2.config.ConfigurationManager.conditionalRelad is taking time which causes getconfiguration (synchronized) to queue up for processing.

      This happens when concurrent users are above 100.

        Attachments

        1. Thread_Dump_During_BLOCKED_Threads.tdump
          718 kB
          Michael Sebastian
        2. Test Plan.jmx
          162 kB
          Michael Sebastian
        3. threaddump-1358860578050.tdump
          746 kB
          Michael Sebastian

          Issue Links

            Activity

              People

              • Assignee:
                lukaszlenart Lukasz Lenart
                Reporter:
                michaelseb Michael Sebastian
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: