You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by michaelseb <an...@gmail.com> on 2013/01/15 18:15:40 UTC

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

I'm load testing a web application on Tomcat 6 using Struts 2.3.8 version.
devMode is set to false.

I'm finding lot of BLOCKED threads in this method:

com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration()
This is causing high CPU usage for the application. also find 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 above150.

Please let me know if anybody has a solution to this.



--
View this message in context: http://struts.1045723.n5.nabble.com/Struts-2-3-8-threads-BLOCKED-in-com-opensymphony-xwork2-config-ConfigurationManager-getConfiguration-tp5711633.html
Sent from the Struts - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


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

Posted by Lukasz Lenart <lu...@apache.org>.
I already answered, please check my comment :-)


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

2013/1/22 michaelseb <an...@gmail.com>:
> Hi Lukasz,
>
> Created an issue at  https://issues.apache.org/jira/browse/WW-3971
> Thread dump and jmeter script used to load struts-mailreader application to
> simulate the issue attached.
> Please let me know if more info required.
>
> Regards,
> Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


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

Posted by michaelseb <an...@gmail.com>.
Hi Lukasz,

Created an issue at  https://issues.apache.org/jira/browse/WW-3971
Thread dump and jmeter script used to load struts-mailreader application to
simulate the issue attached.
Please let me know if more info required. 

Regards,
Michael




--
View this message in context: http://struts.1045723.n5.nabble.com/Struts-2-3-8-threads-BLOCKED-in-com-opensymphony-xwork2-config-ConfigurationManager-getConfiguration-tp5711633p5711694.html
Sent from the Struts - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


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

Posted by Lukasz Lenart <lu...@apache.org>.
I think I found out the problem, could you register an issue and test
it after all?

https://issues.apache.org/jira/browse/WW


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

2013/1/16 Lukasz Lenart <lu...@apache.org>:
> Hi,
>
> What do you use to profile your application? Is it possible to prepare
> a snapshot of execution stack?
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> 2013/1/15 michaelseb <an...@gmail.com>:
>> I'm load testing a web application on Tomcat 6 using Struts 2.3.8 version.
>> devMode is set to false.
>>
>> I'm finding lot of BLOCKED threads in this method:
>>
>> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration()
>> This is causing high CPU usage for the application. also find 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 above150.
>>
>> Please let me know if anybody has a solution to this.
>>
>>
>>
>> --
>> View this message in context: http://struts.1045723.n5.nabble.com/Struts-2-3-8-threads-BLOCKED-in-com-opensymphony-xwork2-config-ConfigurationManager-getConfiguration-tp5711633.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


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

Posted by Lukasz Lenart <lu...@apache.org>.
Hi,

What do you use to profile your application? Is it possible to prepare
a snapshot of execution stack?


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

2013/1/15 michaelseb <an...@gmail.com>:
> I'm load testing a web application on Tomcat 6 using Struts 2.3.8 version.
> devMode is set to false.
>
> I'm finding lot of BLOCKED threads in this method:
>
> com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration()
> This is causing high CPU usage for the application. also find 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 above150.
>
> Please let me know if anybody has a solution to this.
>
>
>
> --
> View this message in context: http://struts.1045723.n5.nabble.com/Struts-2-3-8-threads-BLOCKED-in-com-opensymphony-xwork2-config-ConfigurationManager-getConfiguration-tp5711633.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org