Tuning the operating system for Weblogic


Tune the Operating System

Each operating system sets default tuning parameters differently. For Windows platforms, the default settings are usually sufficient. However, the UNIX and Linux operating systems usually need to be tuned appropriately.

UNIX Tuning Parameters

Use the following guidelines when tuning UNIX operating systems supported by WebLogic Server.

Solaris TCP Tuning Parameters

For better TCP (transmission control protocol) socket performance, set the tcp_time_wait_interval parameter as follows:

ndd -set /dev/tcp tcp_time_wait_interval 60000

This parameter determines the time interval that a TCP socket is kept alive after issuing a close call. The default value of this parameter on Solaris is four minutes. When a large number of clients connect for a short amount of time, holding these socket resources can have a significant negative impact on performance. Setting this parameter to a value of 60000 (60 seconds) has shown a significant throughput enhancement when running benchmark JSP tests on Solaris. You might want to reduce this setting further if the server gets backed up with a queue of half-opened connections.

 


Leave a Reply

Your email address will not be published. Required fields are marked *