[HP-UX 11i V2]
Recommended Kernel Parameter Settings
BEA recommends that you set the maxdsiz kernel parameter to a minimum value of 2 GB.
On HP-UX 11 systems, the default value for maximum threads per process is 64. This value may be too low for WebLogic Server and many Java server applications: WebLogic Server may have problems starting up. Therefore, BEA recommends that you use the maximum kernel setting for the max_thread_proc parameter: 1024.
BEA recommends that you set all the parameters listed in the following table to the "New Value" specified for each.
Parameter Recommended Value Description
max_thread_proc 1024 Maximum threads per process
maxfiles 256 Soft file limit per process
nkthread 3635 Number of threads total on the system
nproc 2068 Maximum number of processes
[Sun Solaris 10]
1. Suggested TCP-Related Parameter Values
Parameter Suggested Value
/dev/tcp tcp_time_wait_interval 60000
/dev/tcp tcp_conn_req_max_q 16384
/dev/tcp tcp_conn_req_max_q0 16384
/dev/tcp tcp_ip_abort_interval 60000
/dev/tcp tcp_keepalive_interval 7200000
/dev/tcp tcp_rexmit_interval_initial 4000
/dev/tcp tcp_rexmit_interval_max 10000
/dev/tcp tcp_rexmit_interval_min 3000
/dev/tcp tcp_smallest_anon_port 32768
/dev/tcp tcp_xmit_hiwat 131072
/dev/tcp tcp_recv_hiwat 131072
/dev/tcp tcp_naglim_def 1
/dev/ce instance 0
/dev/ce rx_intr_time 32
Note: Prior to Solaris 2.7, the tcp_time_wait_interval parameter was called tcp_close_wait_interval. 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 many clients connect for a short period 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.
Tip: Use the netstat -s -P tcp command to view all available TCP parameters
2. Suggested /etc/system Values
Parameter Suggested Value
set rlim_fd_cur 8192
set rlim_fd_max 8192
set tcp:tcp_conn_hash_size 32768
set shmsys:shminfo_shmmax
Note: This should only be set for machines that have at least 4 GB RAM or higher. 4294967295
set autoup 900
set tune_t_fsflushr 1
3. Suggested CE Gigabit Card Values
Parameter Suggested Value
set ce:ce_bcopy_thresh 256
set ce:ce_dvma_thresh 256
set ce:ce_taskq_disable 1
set ce:ce_ring_size 256
set ce:ce_comp_ring_size 1024
set ce:ce_tx_ring_size 4096
[AIX 5.3]
Parameter Recommended Value
file descriptor 1024 - 8192
udp_sendspace 65536 이상
udp_recvspace 65536 이상
tcp_sendspace 65536 이상
tcp_recvspace 65536 이상
tcp_finwait2 30 - 120(15 ~ 60초)
tcp_keepidle 150 - 1200
somaxconn 4096이상