Operating System - HP-UX
1834621 Members
2235 Online
110069 Solutions
New Discussion

How to change the TPC connections allow

 
SOLVED
Go to solution
Ruben Fernandez
New Member

How to change the TPC connections allow

Hi all,
does anybody know how to change the mas TCP connections allow.
Thanks
Ruben
2 REPLIES 2
Wilfred Chau_1
Respected Contributor

Re: How to change the TPC connections allow

take a look at:

ndd -get /dev/tcp tcp_conn_request_max and see if that's what you want to change.

tcp_conn_request_max:
Max number of outstanding connection request

If it is, change it via this command:

ndd -set /dev/tcp tcp_conn_request_max

After the change, if all look good, enter the change to /etc/rc.config.d/nddconf
Sanjiv Sharma_1
Honored Contributor
Solution

Re: How to change the TPC connections allow

Hi Ruben,

To view and change the value of tcp_conn_request_max

Step 1. To view the current value, enter the command:

# ndd -get /dev/tcp tcp_conn_request_max

If this value is 20, or some number smaller than your number of agent systems, then proceed to Step 2 and adjust it to the number of agents you intend to monitor (or greater).
Step 2. To change the value, become root and modify the /etc/rc.config.d/nddconf configuration file by adding the following lines:
TRANSPORT_NAME[index]=tcp
NDD_NAME[index]=tcp_conn_request_max
NDD_VALUE[index]=value
where index is a shell array index, as described in the file, and value is the value to be assigned. For example, if this is the first entry in the file and you want to set the value of tcp_conn_request_max to 4096 (a common choice), the entry would be:
TRANSPORT_NAME[0]=tcp
NDD_NAME[0]=tcp_conn_request_max
NDD_VALUE[0]=4096
The new value will be applied on future system boots.
Step 3. To apply the new value immediately, enter the command:

# ndd -c /etc/rc.config.d/nddconf


To verify that the new value is active, use the ndd -get command from Step 1.

hth.
Everything is possible