BookmarkSubscribeRSS Feed
JuanDaniel
Quartz | Level 8

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

3 REPLIES 3
JuanS_OCS
Amethyst | Level 16

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
-XX:PermSize
-XX:MaxPermSize
1024m
3072m
384m
1024m
Medium
-Xms
-Xmx
-XX:PermSize
-XX:MaxPermSize
1024m
4096m
512m
1024m
Large
-Xms
-Xmx
-XX:PermSize
-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

JuanDaniel
Quartz | Level 8

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

JuanS_OCS
Amethyst | Level 16

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.

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

CLI in SAS Viya

Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 1515 views
  • 3 likes
  • 2 in conversation