Operating System - HP-UX
1826621 Members
3399 Online
109695 Solutions
New Discussion

Need to set these parameter permanent.

 
SOLVED
Go to solution
Silver_1
Regular Advisor

Need to set these parameter permanent.

Hi,

I would like to make this parameter permanent.

ndd -set /dev/tcp tcp_recv_hiwater_def 1000000

How can i do it ?

Tx.
4 REPLIES 4
Jeff_Traigle
Honored Contributor
Solution

Re: Need to set these parameter permanent.

Add to /etc/rc.config.d/nddconf:

TRANSPORT_NAME[0]=tcp
NDD_NAME[0]=tcp_recv_hiwater_def
NDD_VALUE[0]=1000000

Of course, change the array index if there are already entries in the file.
--
Jeff Traigle
James R. Ferguson
Acclaimed Contributor

Re: Need to set these parameter permanent.

Hi:

Place the tunable in 'etc/rc.config.d/nddconf'. The setting will then be established at every reboot.

Regards!

...JRF...
Silver_1
Regular Advisor

Re: Need to set these parameter permanent.

Thanks.
Bill Hassell
Honored Contributor

Re: Need to set these parameter permanent.

One caution about ndd. It has had a *LOT* of trouble with the nddconf file. EDven though you put the items into the file correctly, ndd would not make the change. The latest cumulative ARPA transport patch will fix this. Otherwise, you may find the new value not set after a reboot.


Bill Hassell, sysadmin