/etc/system question

The latest FLEXlm software recommends changing the "tcp:tcp_time_wait_interval" setting from 60000 to 2400. I can do this from the command line:

ndd -set /dev/tcp tcp_time_wait_interval 2400

However, I tried adding the following line to the "/etc/system" file, but after rebooting, the setting returns to its default value of 60000:

set tcp:tcp_time_wait_interval = 2400

This should be a simple endeavor, but on my Solaris 9 machine, I'm having real problems. Please help.

-Dan

[515 byte] By [buckybadger64] at [2007-11-26 10:05:17]
# 1
The tcp parameters can only be set using ndd which is not persistent.They can't be set in the /etc/system file.So you need to pu the ndd command into a startup script.
robertcohen at 2007-7-7 1:41:52 > top of Java-index,General,Talk to the Sysop...
# 2

> The latest FLEXlm software recommends changing the

> "tcp:tcp_time_wait_interval" setting from 60000 to

> 2400. I can do this from the command line:

> > ndd -set /dev/tcp tcp_time_wait_interval

> 2400

Wow! Is that a generic recommendation that the software comes with, or is that something they're telling you individually? Are you running into problems with excessive TIME_WAIT states that you need this particular hammer? It seems unwarranted in most situations.

> However, I tried adding the following line to the

> "/etc/system" file, but after rebooting, the setting

> returns to its default value of 60000:

Is there something that indicates that this value is settable in /etc/system? Most parameters are not.

In fact:

http://docs.sun.com/app/docs/doc/817-1759/6mhfh76g9?a=view

suggests that you cannot set it that way.

If you must do this, just create a small script that runs the ndd command and have it run at startup. That said, I would not simply do this because FLEXlm recommends it. The TIME_WAIT state exists for a reason. Only if it were causing problems in my specific environment would I consider it (and even then I'd hope something closer to 30 seconds would work).

--

Darren

Darren_Dunham at 2007-7-7 1:41:52 > top of Java-index,General,Talk to the Sysop...