Operating System - HP-UX
1834533 Members
2782 Online
110069 Solutions
New Discussion

How to set "tcp_conn_req_max " in HP-UX 11.11 ?

 
Deepu Chakravarty
Regular Advisor

How to set "tcp_conn_req_max " in HP-UX 11.11 ?

Hi,

How and where to set the parameter "tcp_conn_req_max" in HP-UX 11.11 ?

Thanks..
9 REPLIES 9
Simon Hargrave
Honored Contributor

Re: How to set "tcp_conn_req_max " in HP-UX 11.11 ?

You change it with the ndd command, and make it persistent across reboots by editing the /etc/rc.config.d/nddconfig file.

See the ndd man page and the nddconfig file for more details.
Dave Hutton
Honored Contributor

Re: How to set "tcp_conn_req_max " in HP-UX 11.11 ?

You can use ndd -set to set it. I believe thats only temporary for that session.

Theres an /etc/rc.config.d/nddconf file that you would have to put it in there too.
Simon Hargrave
Honored Contributor

Re: How to set "tcp_conn_req_max " in HP-UX 11.11 ?

Note however that in hpux the parameter is actually called:

tcp_conn_request_max

So to set it you will need to use

ndd -set /dev/tcp tcp_conn_request_max value

(and add it to nddconf)
Steve Steel
Honored Contributor

Re: How to set "tcp_conn_req_max " in HP-UX 11.11 ?

Hi

see man ndd

Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Deepu Chakravarty
Regular Advisor

Re: How to set "tcp_conn_req_max " in HP-UX 11.11 ?

Hi,
Thanks for the replies.
I have checked the nddconf in /etc/rc.config.d which has no "tcp_conn_req_max" set. What is the default value if not set ?
Simon Hargrave
Honored Contributor

Re: How to set "tcp_conn_req_max " in HP-UX 11.11 ?

As I say the parameters is called tcp_conn_request_max not tcp_conn_req_max.

Run

ndd -get /dev/tcp tcp_conn_request_max

to get the current value (likely 4096)

You will have to add an entry to nddconf someting like:

TRANSPORT_NAME[2]=tcp
NDD_NAME[2]=tcp_conn_request_max
NDD_VALUE[2]=

where [2] is a unique identifier within the file.
Deepu Chakravarty
Regular Advisor

Re: How to set "tcp_conn_req_max " in HP-UX 11.11 ?

Okay Simon,
I got the value 4096. After adding the parameters manually in nddconf, the effect will be taken forthwith or a reboot is requred ? If reboot is not possible then how to add parameters when the system is running.
Thanks.
Alan Meyer_4
Respected Contributor

Re: How to set "tcp_conn_req_max " in HP-UX 11.11 ?

what is this parameter used for?

I've got a seperate thread describing a ftp connection termination problem that is baffling me...
" I may not be certified, but I am certifiable... "
Mel Burslan
Honored Contributor

Re: How to set "tcp_conn_req_max " in HP-UX 11.11 ?

For the explanation of ndd settings in detail, you can always reference to this annotated ndd document wriiten by Rick Jones, whom most of you have familiarity from the forums. Document can be accessed at :

ftp://ftp.cup.hp.com/dist/networking/briefs/annotated_ndd.txt
________________________________
UNIX because I majored in cryptology...