Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to change and test some TCP/IP network parameters on a Oracle Solaris 10 as a possible workaround for a bug in 'Oracle Hyperion EPM' in the development environment. I am not a Solaris/UNIX expert so would appreciate any guidance to identify the correct parameters and also it would be very helpful if you could tell me the possible impact of the changes and how I could have the admin support rollback the changes.

  1. I need to decrease the time wait before closing the sockets. I already have the corresponding UNIX command: $ echo 3 > /proc/sys/net/ipv4/tcp_fin_timeout

  2. I need to check if the System is preventing the 'Oracle Hyperion EPM' application from using a large number of sockets. How do I check the port range and modify it? The UNIX command for it would be: $ echo "1025 65535" > /proc/sys/net/ipv4/ip_local_port_range

I am advised that I need to make these changes as root and execute the following UNIX command for applying the changes: $ /etc/rc.d/init.d/network restart

Kindly guide me to identify which are the corresponding Solaris commands. Thanks.


  1. I looked at the parameters in $ ndd /dev/tcp \?
  2. http://docs.oracle.com/cd/E19082-01/819-2724/6n50b07lr/index.html
  3. http://www.informit.com/articles/article.aspx?p=101138&seqNum=6
share|improve this question
For #1, will tcp_time_wait_interval be the correct Solaris parameter? Are there any good references for this as $ man ndd is not that helpful? – Kent Pawar Feb 20 '13 at 5:17
tcp_fin_wait is for connections that don't close properly (lost ack). tcp_time_wait is for normal closed connections (to hold a slot open to soak up stray packets), usually the first thing to tune on a busy server. – mr.spuratic Feb 20 '13 at 10:06
up vote 2 down vote accepted

For the first one:

ndd -set /dev/tcp tcp_time_wait_interval 90000

as per the oficial manualyou should not set this under 60000 = 60 seconds.

For the second one

ndd -get /dev/tcp tcp_smallest_anon_port tcp_largest_anon_port

No need to restart the network. But if you feel like it, in solaris 10 is

svcadm restart network/physical
share|improve this answer
Thanks Alexandre! Is there any available documentation I could read to better understand this..? – Kent Pawar Feb 20 '13 at 10:42
usually these parameters are changed due to the application that is being installed. I can't find at the moment a list with them as I found this in my notes. I'll search and if I find I'll put the link here with the explanation of every var there. – BitsOfNix Feb 20 '13 at 11:17
Found it :) docs.oracle.com/cd/E23823_01/html/817-0404/chapter4-31.html List of all the parameters and explanation. – BitsOfNix Feb 20 '13 at 11:25
Thanks again :) Going through it now.. – Kent Pawar Feb 20 '13 at 12:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.