This manual describes a the method installation / solutions / overview of the ‘Memory Configuration Weblogic Managed Servers’.
Prereq
- Installation of Oracle Enterprise Linux or other.
- Installation of Oracle Weblogic 11/12.
Software
The necessary software can be downloaded by clicking on the link(s) below.
- n.a.
Configuration examples
Example memory configuration for a managed server Admin
1 2 3 4 5 6 |
vi /u01/app/oracle/product/middleware/user_projects/domains/[DOMAIN]/bin/setDomainEnv.sh # Set 1024MB for AdminServer if [ "${SERVER_NAME}" == "AdminServer" ] ; then USER_MEM_ARGS="-Xms1024m -Xmx1024m -XX:PermSize=512m -XX:MaxPermSize=1024m" export USER_MEM_ARGS fi |
Example memory configuration for a managed server SOA
1 2 3 4 5 |
#Set 2048MB if server name contains soa_server1 if [[ "${SERVER_NAME}" == "soa_server1" ]] ; then USER_MEM_ARGS="-Xms2048m -Xmx2048m -XX:PermSize=1024m -XX:MaxPermSize=2048m" export USER_MEM_ARGS fi |
Example proxy connection configuration for a managed server
1 2 3 |
vi /u01/app/oracle/product/middleware/user_projects/domains/[DOMAIN]/bin/setDomainEnv.sh #JAVA_OPTIONS="${JAVA_OPTIONS}" JAVA_OPTIONS="${JAVA_OPTIONS} -Dhttp.proxyHost=192.168.36.35 -Dhttp.proxyPort=7001 -Dhttp.nonProxyHosts=172.16.8.90|p-wls-soa|p-wls-soa.tss.nl" export JAVA_OPTIONS |
Example configuration for managed server Admin (Cloud Control 12c)
1 2 3 4 5 6 7 8 9 |
<span style="font-family: 'Courier New', serif;">if [ "${SERVER_NAME}" != "EMGC_ADMINSERVER" ] ; then </span>USER_MEM_ARGS="-Xms3072m –Xmx4096m -XX:MaxPermSize=1024M -XX:-DoEscapeAnalysis -XX:+UseCodeCacheFlushing -XX:ReservedCodeCacheSize=100M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSClassUnloadingEnabled" if [ "${JAVA_VENDOR}" = "Sun" ] ; then if [ "${PRODUCTION_MODE}" = "" ] ; then USER_MEM_ARGS="-Xms3072m –Xmx4096m -XX:MaxPermSize=1024M -XX:-DoEscapeAnalysis -XX:+UseCodeCacheFlushing -XX:ReservedCodeCacheSize=100M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSClassUnloadingEnabled -XX:CompileThreshold=8000 -XX:PermSize=128m" fi fi export USER_MEM_ARGS fi |
Information
- n.a.
Please let me know if this manual ‘Memory Configuration Weblogic Managed Servers’ was usefull to you. If there are faults or you have suggestions regarding this manual, please let me know. No rights can be derived from this manual.
Regards,
Maarten