Architecting, installing and maintaining your SAS environment

Tunning JVM

Reply
Contributor
Posts: 73

Tunning JVM

Hi masters!

 

Some days ago i have problems with SASServer1_1 and i solved the problems updating the JVM parameters, but, which are the best parameters o how can i adjust this parameters correctly?

 

Kind regards

Trusted Advisor
Posts: 1,737

Re: Tunning JVM

Posted in reply to JuanDaniel

Hello @JuanDaniel,

 

your first reference should be this one, maintained by SAS: https://support.sas.com/documentation/cdl/en/appsrvtuning/69859/HTML/default/viewer.htm#p1tpeih89ioi...

 

At this moment the advise is this one:

 

SASServer1 Settings
Platform
Server Size
Option
Recommended Value
HP-UX, Linux, Solaris, and Windows
Small
-Xms
-Xmx
-XXSmiley TongueermSize
-XX:MaxPermSize
1024m
3072m
384m
1024m
Medium
-Xms
-Xmx
-XXSmiley TongueermSize
-XX:MaxPermSize
1024m
4096m
512m
1024m
Large
-Xms
-Xmx
-XXSmiley TongueermSize
-XX:MaxPermSize
4096m
4096m
1024m
1024m
AIX
Small
-Xms
-Xmx
1024m
3072m
Medium
-Xms
-Xmx
1024m
4096m
Large
-Xms
-Xmx
2048m
4096m
Additional JVM Args (all platforms)
Small
not applicable
not applicable
Medium
not applicable
not applicable
Large
-Dsas.svcs.http.max.total.connections
512
-Dsas.svcs.http.max.connections
512
SharedServices JDBC Resource
Small
maxPoolSize
35
Medium
maxPoolSize
100
Large
maxPoolSize
256
Tomcat Executor Thread Pool
Small
maxThreads
150
Medium
maxThreads
300
Large
maxThreads
1024

 

Check also the settings for the Web Server here:

https://support.sas.com/documentation/cdl/en/appsrvtuning/69859/HTML/default/viewer.htm#n0h4b6qexwe5...

 

SAS Web Server Settings
Platform
Server Size
Option
Recommended Value
Filename
Windows (mpm_winnt_module)
Small
ThreadsPerChild
512
conf\extra\httpd-mpm.conf
Medium
ThreadsPerChild
1024
conf\extra\httpd-mpm.conf
Large
ThreadLimit
3072
conf\extra\httpd-mpm.conf
ThreadsPerChild
3072
conf\extra\httpd-mpm.conf
MaxKeepAliveRequests
0
conf\extra\httpd-default.conf
UNIX and Linux (mpm_worker_module)
Small
ServerLimit
16
conf/extra/httpd-mpm.conf
MaxClients
512
conf/extra/httpd-mpm.conf
ThreadsPerChild
32
conf/extra/httpd-mpm.conf
Medium
ServerLimit
32
conf/extra/httpd-mpm.conf
MaxClients
1024
conf/extra/httpd-mpm.conf
ThreadsPerChild
32
conf/extra/httpd-mpm.conf
Large
ServerLimit
96
conf/extra/httpd-mpm.conf
MaxClients
3072
conf/extra/httpd-mpm.conf
ThreadsPerChild
32
conf/extra/httpd-mpm.conf
MaxKeepAliveRequests
0
conf/extra/httpd-default.conf

 

In some cases, like when you enable the Auditing in SAS VA (Administrator Reports), and as consequence, the WIP tables grow, it is recommended by SAS Technical Support to increase a bit the -Xmx value, from 4 GB to even 20 GB in some cases. Anyway, I strongly recommend you to do this with previous consultation of SAS Technical Support and, for starters, just stick to the recommendations published in the online documentation.

 

Hope it helps,

 

Kind regards,

Juan

Contributor
Posts: 73

Re: Tunning JVM

Posted in reply to JuanS_OCS

thx @JuanS_OCS

 

I know this guide but sometimes are not the best configuration for ours environments. Are there any other way to afine this configuration?

 

Kind regards

Trusted Advisor
Posts: 1,737

Re: Tunning JVM

Posted in reply to JuanDaniel

Actually, yes, the best way is to analyse the requirements of your JVMs through getting to know better their requirements: if you analyse GC, heapsizes with the SAS Environment Manager, you will know where they are suffering and where you can help them to be healthier.

Ask a Question
Discussion stats
  • 3 replies
  • 152 views
  • 3 likes
  • 2 in conversation