Administration Console Online Help

Previous Next Open TOC in new window
Content starts here

Servers: Configuration: Tuning

Configuration Options     Advanced Configuration Options     Related Tasks     Related Topics

Use this page to tune the performance and functionality of this server.

Configuration Options

Name Description
Enable Native IO

Specifies whether native I/O is enabled for the server.

MBean Attribute:
ServerMBean.NativeIOEnabled

Changes take effect after you redeploy the module or restart the server.

JavaSocketMuxer Socket Readers

The percentage of execute threads from the default queue that can be used as socket readers.

MBean Attribute:
ServerMBean.ThreadPoolPercentSocketReaders

Minimum value: 1

Maximum value: 99

Enable Gathered Writes

Enables gathered writes over NIO socket channels. Enabling this attribute increases efficiency during I/O in environments with high network throughput and should be used only when configuring a WebLogic domain for Oracle Exalogic.

MBean Attribute:
KernelMBean.GatheredWritesEnabled

Changes take effect after you redeploy the module or restart the server.

Enable Scattered Reads

Enables scattered reads over NIO socket channels. Enabling this attribute increases efficiency during I/O in environments with high network throughput and should be used only when configuring a WebLogic domain for Oracle Exalogic.

MBean Attribute:
KernelMBean.ScatteredReadsEnabled

Changes take effect after you redeploy the module or restart the server.

Maximum Open Sockets

The maximum number of open sockets allowed in server at a given point of time.

When the maximum threshold is reached, the server stops accepting new requests until the number of sockets drops below the threshold.

A value less than 0 indicates an unlimited size.

MBean Attribute:
ServerMBean.MaxOpenSockCount

Minimum value: -1

Maximum value: 2147483647

Stuck Thread Max Time

The number of seconds that a thread must be continually working before this server considers the thread stuck.

For example, if you set this to 600 seconds, WebLogic Server considers a thread to be "stuck" after 600 seconds of continuous use.

In WebLogic Server 9.x and later, it is recommended that you use the ServerFailureTriggerMBean in the OverloadProtectionMBean. The ServerFailureTriggerMBean transitions the server to a FAILED state after the specified number of stuck threads are detected. The OverloadProtectionMBean has options to suspend or shutdown a failed server.

MBean Attribute:
ServerMBean.StuckThreadMaxTime

Minimum value: 0

Maximum value: 2147483647

Changes take effect after you redeploy the module or restart the server.

Stuck Thread Timer Interval

The number of seconds after which WebLogic Server periodically scans threads to see if they have been continually working for the configured maximum length of time.

MBean Attribute:
ServerMBean.StuckThreadTimerInterval

Minimum value: 0

Maximum value: 2147483647

Changes take effect after you redeploy the module or restart the server.

Accept Backlog

The number of backlogged, new TCP connection requests that should be allowed for this server's regular and SSL ports.

Setting the backlog to 0 may prevent this server from accepting any incoming connection on some operating systems.

MBean Attribute:
ServerMBean.AcceptBacklog

Minimum value: 0

Login Timeout

The login timeout for this server's default regular (non-SSL) listen port. This is the maximum amount of time allowed for a new connection to establish.

A value of 0 indicates there is no maximum.

MBean Attribute:
ServerMBean.LoginTimeoutMillis

Minimum value: 0

Maximum value: 100000

Secure value: 5000

SSL Login Timeout

Specifies the number of milliseconds that WebLogic Server waits for an SSL connection before timing out. SSL connections take longer to negotiate than regular connections.

If clients are connecting over the Internet, raise the default number to accommodate additional network latency.

MBean Attribute:
SSLMBean.LoginTimeoutMillis

Minimum value: 1

Maximum value: 2147483647

Reverse DNS Allowed

Specifies whether the kernel is allowed to perform reverse DNS lookups.

MBean Attribute:
ServerMBean.ReverseDNSAllowed

Low Memory GC Threshold

The threshold level (in percent) that this server uses for logging low memory conditions and changing the server health state to Warning.

For example, if you specify 5, the server logs a low memory warning in the log file and changes the server health state to Warning after the average free memory reaches 5% of the initial free memory measured at the server's boot time.

MBean Attribute:
ServerMBean.LowMemoryGCThreshold

Minimum value: 0

Maximum value: 99

Secure value: 5

Changes take effect after you redeploy the module or restart the server.

Low Memory Granularity Level

The granularity level (in percent) that this server uses for logging low memory conditions and changing the server health state to Warning.

For example, if you specify 5 and the average free memory drops by 5% or more over two measured intervals, the server logs a low memory warning in the log file and changes the server health state to Warning.

MBean Attribute:
ServerMBean.LowMemoryGranularityLevel

Minimum value: 1

Maximum value: 100

Secure value: 5

Changes take effect after you redeploy the module or restart the server.

Low Memory Sample Size

The number of times this server samples free memory during the time period specified by LowMemoryTimeInterval.

Increasing the sample size can improve the accuracy of the reading.

MBean Attribute:
ServerMBean.LowMemorySampleSize

Minimum value: 1

Maximum value: 2147483647

Changes take effect after you redeploy the module or restart the server.

Low Memory Time Interval

The amount of time (in seconds) that defines the interval over which this server determines average free memory values.

By default, the server obtains an average free memory value every 3600 seconds.

MBean Attribute:
ServerMBean.LowMemoryTimeInterval

Minimum value: 300

Maximum value: 2147483647

Changes take effect after you redeploy the module or restart the server.

Advanced Configuration Options

Name Description
Self Tuning Thread Minimum Pool Size

Get the minimum thread pool size of the self-tuning thread pool.

The self-tuning thread pool starts with the default size of 1. It grows and shrinks automatically as required. Setting this attribute changes the default minimum pool size. The thread count will never shrink below this value. It can add threads to improve throughput but will never decrease below the set minimum.

This attribute is used only when setUse81StyleExecuteQueues is turned off which is the default.

Minimum value: 1

Maximum value: 65534

Changes take effect after you redeploy the module or restart the server.

Self Tuning Thread Maximum Pool Size

Sets the maximum thread pool size of the self-tuning thread pool.

The self-tuning thread pool starts with the default size of 1. It grows and shrinks automatically as required. Setting this attribute changes the default maximum pool size. The active thread count will never increase beyond this value. This value defines the maximum number of threads permitted in the server. Note that the server will add threads only if it improves throughput. Measurements are taken every two seconds and the decision to increase or decrease the thread count is based on the current throughput measurement versus past values.

This attribute is used only when setUse81StyleExecuteQueues is turned off which is the default.

Minimum value: 1

Maximum value: 65534

Changes take effect after you redeploy the module or restart the server.

Managed Server Independence Enabled

Specifies whether this Managed Server can be started when the Administration Server is unavailable.

In such a case, the Managed Server retrieves its configuration by reading a configuration file and other files directly.

MBean Attribute:
ServerMBean.ManagedServerIndependenceEnabled

Secure value: true

Changes take effect after you redeploy the module or restart the server.

Idle Periods Until Timeout

The number of idle periods until peer is considered unreachable.

MBean Attribute:
ServerMBean.IdlePeriodsUntilTimeout

Minimum value: 4

Maximum value: 65534

Changes take effect after you redeploy the module or restart the server.

Period Length

The time interval in milliseconds of the heartbeat period. A value of 0 indicates that heartbeats are turned off.

MBean Attribute:
ServerMBean.PeriodLength

Minimum value: 0

Changes take effect after you redeploy the module or restart the server.

DGC Idle Periods Until Timeout

The number of idle periods allowed before the object is collected.

MBean Attribute:
ServerMBean.DGCIdlePeriodsUntilTimeout

Changes take effect after you redeploy the module or restart the server.

Muxer Class

Non-blocking IO is enabled by default on the server side.

The default value is weblogic.socket.NIOSocketMuxer.

The Certicom SSL implementation is not supported with NIOSocketMuxer. If you need to secure internet communication, Oracle recommends enabling JSSE (Java Secure Socket Extension).

MBean Attribute:
ServerMBean.MuxerClass

Changes take effect after you redeploy the module or restart the server.

Use Concurrent Queue For Request Manager

Reduces lock contention by using concurrent buffer queue to park incoming requests. Enabling this attribute increases throughput as requests are scheduled without acquiring any locks.

MBean Attribute:
KernelMBean.UseConcurrentQueueForRequestManager

Changes take effect after you redeploy the module or restart the server.

Related Tasks

Related Topics


Back to Top