Forum Stats

  • 3,815,465 Users
  • 2,259,031 Discussions
  • 7,893,110 Comments

Discussions

JSF 2.2 Mojarra 2.2.12 Render phase performance problems

3175949
3175949 Member Posts: 1
edited Feb 16, 2016 3:31AM in JavaServer Faces

We have an application written on the basis of jsf-api-2.2.12 with Mojarra implementation jsf-impl-2.2.12 on a JBoss 7.1.1 (modified to use JSF 2.2)

Part view consists of RichFaces 4.5.12.Final and atmosphere 2.4.1, the business part is done by EJB, and DB access is jdbc on informix 7.

Since the resumption of this application we encounter problems of poor performance on the render phase of the JSF lifecycle,

while the application phase response time (the application's business code) does not change.

CentOS on our server 4CPU, 4GB with an oracle jvm jdk1.7.0_79 configured with -Xms1024m -Xmx2048m -XX: MaxPermSize = 512m,

with a monitoring application on JProfiler we do not see an increase in memory, thread or other critical resources,

After a few hours (2 or 3 users) response time of pages containing a large number of components in the tree JSF (over 8000)

this dish to gradually increase eg from 500ms to 20s.

16 févr. 2016 09:27:34 - INFO xxx.xhtml RESTORE_VIEW 428

16 févr. 2016 09:27:34 - INFO xxx.xhtml APPLY_REQUEST_VALUES 2

16 févr. 2016 09:27:34 - INFO xxx.xhtml PROCESS_VALIDATIONS 0

16 févr. 2016 09:27:34 - INFO xxx.xhtml UPDATE_MODEL_VALUES 1

16 févr. 2016 09:27:35 - INFO xxx.xhtml INVOKE_APPLICATION 431

16 févr. 2016 09:27:35 - INFO xxx.xhtml Number of Components Tree : 9577

16 févr. 2016 09:27:36 - INFO xxx.xhtml RENDER_RESPONSE 1357

After

16 févr. 2016 09:27:34 - INFO xxx.xhtml RESTORE_VIEW 628

16 févr. 2016 09:27:34 - INFO xxx.xhtml APPLY_REQUEST_VALUES 2

16 févr. 2016 09:27:34 - INFO xxx.xhtml PROCESS_VALIDATIONS 0

16 févr. 2016 09:27:34 - INFO xxx.xhtml UPDATE_MODEL_VALUES 1

16 févr. 2016 09:27:35 - INFO xxx.xhtml INVOKE_APPLICATION 555

16 févr. 2016 09:27:35 - INFO xxx.xhtml Number of Components Tree : 9577

16 févr. 2016 09:27:36 - INFO xxx.xhtml RENDER_RESPONSE 18542

We seek expertise on this topic to break the deadlock.

Thanks for helping.

This discussion has been closed.