Table of Contents
Just a second...

AIX

Configuring sockets values on AIX™

The tuning changes noted below do not remain across reboots. Add the following changes to the runtime commands file (/etc/rc.net) to make the changes permanent.

  1. To make more sockets available, enter at the command prompt:
    1. /usr/sbin/no -o clean_partial_conns=1
    2. This setting instructs the kernel to randomly remove half-open sockets from the q0 queue to make room for new sockets.
    3. The default range is sufficient, but you can change it using the no command. The following example sets the TCP ephemeral port range to 49152 through 65535:
    4. /usr/sbin/no -o tcp_ephemeral_low=49152
    5. /usr/sbin/no -o tcp_ephemeral_high=65535
  2. To make more sockets available, enter at the command prompt:
    1. # no -o tcp_timewait=5

On AIX 4.3.2, the default TIME_WAIT seems to be set to seconds, which translates in AIX terms to tcp_timewait = 1, as each tcp_timewait is about 15 seconds. So you need to use the no command to set the tcp_timewait to 5 to make the TIME_WAIT just over 60 seconds (using a value of 4 leaves TIME_WAIT less than 60 seconds)