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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.8
    • 2.3.12
    • XML Configuration
    • None
    • apache-tomcat-6.0.32, jdk1.6.0_27, devMode set to false.

    • 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. threaddump-1358860578050.tdump
          746 kB
          Michael Sebastian
        2. Test Plan.jmx
          162 kB
          Michael Sebastian
        3. Thread_Dump_During_BLOCKED_Threads.tdump
          718 kB
          Michael Sebastian

        Issue Links

          Activity

            People

              lukaszlenart Lukasz Lenart
              michaelseb Michael Sebastian
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: