You can also consider increasing memory per tomcat and al... (1637 Views)
Reply
Valued Contributor
Posts: 135
Registered: ‎10-28-2011
Message 1 of 10 (1,666 Views)
Accepted Solution

As SM 9.30 WebTier optimize/tune to get better performance?

[ Edited ]

Hi Experts, we currently have an environment SM 9.30, Oracle 11g DB.

Application Server: RedHat 6.3 - 7 CORES - 8GB RAM
Web Server: RedHat 6.3 - 2 CORES - 4 RAM - Apache Tomcat 7

We noticed that the yield from the web layer is less than from the Windows client.

Is there any way to optimize WebTier??

Thanks, greetings!

HP 9.30 Patch 5
Honored Contributor
Posts: 3,873
Registered: ‎07-13-2007
Message 2 of 10 (1,649 Views)

Re: As SM 9.30 WebTier optimize/tune to get better performance?

You may want to consider a binary RTE upgrade and web tier upgrade to 9.31. The 9.31 web tier has performance improvements. It is compatible with your application level.

----------------------------------------------------
Kudos - what, where, how, and why
Want Good Answers? Ask Good Questions...
Trusted Contributor
Posts: 160
Registered: ‎03-22-2012
Message 3 of 10 (1,637 Views)

You can also consider increasing memory per tomcat and al...

[ Edited ]

You can also consider increasing memory per tomcat and also do some Apache tuning if you have Apache. I have fast and very stable config with over 200-300 users using SM at the same time.

Valued Contributor
Posts: 135
Registered: ‎10-28-2011
Message 4 of 10 (1,627 Views)

Re: You can also consider increasing memory per tomcat and al...

I have no access to download the update WebTier 9.31.

You could give me or give me a recommendation of setting the apache-tomcat talking to me.

Thank you!

HP 9.30 Patch 5
Valued Contributor
Posts: 135
Registered: ‎10-28-2011
Message 5 of 10 (1,615 Views)

Re: You can also consider increasing memory per tomcat and al...

any way to optimize tomcat?

increase jvm?

 

 

thanks

HP 9.30 Patch 5
Occasional Advisor
Posts: 10
Registered: ‎10-31-2011
Message 6 of 10 (1,600 Views)

Re: As SM 9.30 WebTier optimize/tune to get better performance?

If your user base is web client based and you want to optimize the web tier performance consider choosing Load Balancing at Tomcat servcer level. It really helps a lot increasing the performance in such a scenario.

Valued Contributor
Posts: 135
Registered: ‎10-28-2011
Message 7 of 10 (1,597 Views)

Re: As SM 9.30 WebTier optimize/tune to get better performance?

We currently have 70 users.

The problem we found is that in the previous version 7.11 we did not have these performance issues and whether the current version 9.30.

We can download the update to 9.30 as we are due for renewal support.

We have many complaints from users that do not know.

SM from a Windows client works correctly but the web layer leaves much to be desired, especially if the user is not in the same venue.

We have checked the network and all this correctly.

We are looking at how to optimize the Tomcat JVM, etc. but do not know which is the most optimal.

Thank you very much for your help.

HP 9.30 Patch 5
Trusted Contributor
Posts: 160
Registered: ‎03-22-2012
Message 8 of 10 (1,592 Views)

Re: As SM 9.30 WebTier optimize/tune to get better performance?

Ok, please find my setup below (only customized  lines and file names):

Apache 2.4.x:

httpd.conf:

Timeout 120
KeepAlive On
MaxKeepAliveRequests 875
KeepAliveTimeout 10


<IfModule mpm_winnt.c>
ThreadLimit 900
ThreadsPerChild 850
MaxRequestsPerChild 0
</IfModule>

AcceptFilter http none
AcceptFilter https none
EnableMMAP off

<IfDefine AEX>
Win32DisableAcceptEx
</IfDefine>

 

httpd-mpm.conf:

<IfModule mpm_winnt_module>
ThreadsPerChild 500
MaxConnectionsPerChild 0
</IfModule>

 

 

 

You can also try to  increase maxThreads in server.xml file inside Tomcat catalog:

   <Connector port="8010" protocol="AJP/1.3" enableLookups="false" maxThreads="400" tomcatAuthentication="false" redirectPort="443" />

 

 

In case of you want to run loadbalancing in your tomcat, i can share my knowledge however we did not notice performance improvements.

 

Best Regards

Valued Contributor
Posts: 135
Registered: ‎10-28-2011
Message 9 of 10 (1,588 Views)

Re: As SM 9.30 WebTier optimize/tune to get better performance?

[ Edited ]

Ok, thank you very much!

I'll try it on my system and informed him.

It is recommended to increase the JVM memory??? Currently assigned 512Mb 100-200Mb free running

Greetings!

HP 9.30 Patch 5
Trusted Contributor
Posts: 160
Registered: ‎03-22-2012
Message 10 of 10 (1,582 Views)

Re: As SM 9.30 WebTier optimize/tune to get better performance?

[ Edited ]

hi

 

I see you have only 4GB of RAM memory. We have 24GB so i set it to 1.5GB for Tomcat and currently i have only 200MB free. You can try to increase it up to 1GB but please set xms paramter to 512 and then xmx to 1GB. It means it will initialize with 512MB of memory and if required it can grow up to 1GB.

 

Best Regards

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.