Operating System - HP-UX
1833809 Members
4249 Online
110063 Solutions
New Discussion

Re: tcp_conn_request_max on hpux 11.23

 
David_711
Frequent Advisor

tcp_conn_request_max on hpux 11.23

Hi,
Somebody can tell me, if i have two net cards, the tcp_conn_request_max is for both??
This mean that for example this parameter is set on 4096, the listen queue is 4096 for both net cards or 4096 for every card??

Please help
Thanks
8 REPLIES 8
TY 007
Honored Contributor

Re: tcp_conn_request_max on hpux 11.23

Hello David,

System-Wide Parameter.

1. Stop Application(s) --> IMPORTANT :)

2. ndd -set /dev/tcp tcp_conn_request_max 4096

3. Start Application(s)

Thanks

TY 007
Honored Contributor

Re: tcp_conn_request_max on hpux 11.23

Hello David,

Edit /etc/rc.config.d/nddconf, add-in lines
TRANSPORT_NAME[n]=tcp
NDD_NAME[n]=tcp_conn_request_max
NDD_VALUE[n]=4096

NOTE: n = 0, 1, 2, 3, 4 ....

Thanks
TY 007
Honored Contributor

Re: tcp_conn_request_max on hpux 11.23

Hello David,

Try to ensure the following OS Patches is installed before any changes:
PHKL_31500 s700_800 11.23 Sept04 base patch
PHNE_35117 s700_800 11.23 Kernel RPC cumulative patch

Thanks
whiteknight
Honored Contributor

Re: tcp_conn_request_max on hpux 11.23

David,

if you run
#ndd -get /dev/tcp tcp_conn_request_max

what is your current value, i think 4096 is a default value for 4096 for 11.23

Hope it helps

WK
Problem never ends, you must know how to fix it
David_711
Frequent Advisor

Re: tcp_conn_request_max on hpux 11.23

Thanks,
But i need know if this parameter is global or for every net card?...I want use 2 ned cards.

Please help.

Somebody has a hp manual?
David Bellamy
Respected Contributor

Re: tcp_conn_request_max on hpux 11.23

David this is from the ndd manpage

In general, all tunable parameters are global,
i.e., they affect all instances of the network
module. Some settings take effect immediately,
while others are used to initialize data for an
instance and will only affect newly opened
streams.

Hope this helps
David_711
Frequent Advisor

Re: tcp_conn_request_max on hpux 11.23

But, this mean that my listen queue is 4096 for lan 1 and lan2 (it mean aproximately lan1=2048 and lan2=2048) or 4096 for lan1 and 4096 for lan2?
Thanks
rick jones
Honored Contributor

Re: tcp_conn_request_max on hpux 11.23

None of your network interfaces has a TCP listen queue. The TCP listen queue limits are up at TCP not down at the network interface. Changing tcp_conn_request_max will have no effect whatsoever on any of your network interrfaces.

It will though have an effect on any TCP listen endpoint created after the tune is applied - they will be able to have a queue of pending, but not yet "accept()'ed" connections of no more than the minimum of what the application passed-in in its call to listen() and tcp_conn_request_max.

There isn't really "one" listen queue - there is a listen queue for each socket against which an application has called listen().

If you wish to alter link-level (ie network interface more or less) parameters, that would be lanadmin.

What sort of situation has you wanting to alter tcp_conn_request_max? If we know that we might be able to help better.
there is no rest for the wicked yet the virtuous have no pillows