struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tam Nguyen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4790) struts 2.5.10.1 upgrade cause more frequent garbage collection
Date Thu, 27 Apr 2017 15:07:04 GMT

    [ https://issues.apache.org/jira/browse/WW-4790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15986785#comment-15986785
] 

Tam Nguyen commented on WW-4790:
--------------------------------

with the two additional flags being set :
struts.freemarker.templatesCache
struts.freemarker.templatesCache.updateDelay

it seems the performance went down so we're just going to stick with
struts.ognl.enableExpressionCach = true 

This seems to help a lot, so thanks for confirming that we need this on. We will do a stress
test soon and see how it's compare with our baseline. My biggest question still remain opened
is why are we getting more garbage collection since we upgrade to 2.5.10.1 ? 

Thanks 
Tam

> struts 2.5.10.1 upgrade cause more frequent garbage collection 
> ---------------------------------------------------------------
>
>                 Key: WW-4790
>                 URL: https://issues.apache.org/jira/browse/WW-4790
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.5.10
>         Environment: production
> tomcat 7.0.59
>            Reporter: Tam Nguyen
>             Fix For: 2.5.next
>
>
> since we upgraded our struts version from 2.1.18 to 2.5.10.1, our app has been doing
a lot of garbage collection, CPU are up more 30%-40%. We have 2 application that yield same
results after the upgrade. Stress test has almost double the time in performance. these are
the tech stack of our apps.
> struts 2.5.10.1
> spring 3.29
> tiles 3
> any insight would be helpful.
> Thank you
> Tam



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message