Operating System - HP-UX
1825768 Members
2211 Online
109687 Solutions
New Discussion

Drop TCP/IP Connection drops on HP-UX 11.0

 
Kent Chow
Advisor

Drop TCP/IP Connection drops on HP-UX 11.0

Hi:

I have a client application that runs on Windows 2000 and
connects to HP-UX 11.0 and
if there is no traffic for
about 1 hour, the client application gets a WSAECONNRESET, but the server running on the HP UX didn't close the socket.

The same client on Windows 2000 and the server running on
HP-UX 10.20 doesn't have the same behavior.
Wondering if anyone knows there was a change in the default settings for TCP/IP when HP changed the HP-UX?
Wondering has anyone experienced the same behavior?
Thanks in advance.

Kent
2 REPLIES 2
Sridhar Bhaskarla
Honored Contributor

Re: Drop TCP/IP Connection drops on HP-UX 11.0

Hi Kent,

By default 11.00 enables sending source quench messages. If your client is using basic ICMP mechanism to validate the timeouts, then there is a chance that it is getting timeouts there by throwing WSAECONNRESET (connection reset by peer) error.

Try disabling source quenching on the server by doing a

ndd -set /dev/ip ip_send_source_quench 0

If it works, then you can make it permanent by adding the changes into /etc/rc.config.d/nddconf

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Matthew Buchman
New Member

Re: Drop TCP/IP Connection drops on HP-UX 11.0

I am seeing a similar problem, except with a Windows Server. An HP NC7781 is installed on both boxes. The client server application uses basic ICMP as described above. The client creates a socket connection to the server, performs some transactions, goes to sleep for 20 minutes (waiting on an external event, not a select) and then wakes up attempting to perform another transaction WSAGetLastError() returns WSAECONNRESET. Something different than above, however, is that the server does believe the client has closed the socket. This occurs shortly after the client goes to sleep. I haven't debugged the server yet to determine the WinSock value.

Any ideas on the above?

NIC configuration for client/server below.


Server

Item Value
Name [00000000] HP NC7781 Gigabit Server Adapter
Adapter Type Not Available
Product Name HP NC7781 Gigabit Server Adapter
Installed True
PNP Device ID PCI\VEN_14E4&DEV_16A7&SUBSYS_00CB0E11&REV_02\3&13C0B0C5&0&20
Last Reset 5/6/2004 9:47:52 AM
Index 0
Service Name q57w2k
IP Address Not Available
IP Subnet Not Available
Default IP Gateway Not Available
DHCP Enabled False
DHCP Server Not Available
DHCP Lease Expires Not Available
DHCP Lease Obtained Not Available
MAC Address Not Available
Service Name q57w2k
Driver c:\winnt\system32\drivers\q57w2k.sys (107809, 6.64.0.0)

Client:

[Adapter]

Item Value
Name [00000000] HP NC7781 Gigabit Server Adapter
Adapter Type Ethernet 802.3
Product Name HP NC7781 Gigabit Server Adapter
Installed True
PNP Device ID PCI\VEN_14E4&DEV_16A7&SUBSYS_00CB0E11&REV_02\3&1070020&0&08
Last Reset 5/9/2004 8:11:39 PM
Index 0
Service Name q57w2k
IP Address 10.30.138.67
IP Subnet 255.255.255.0
Default IP Gateway Not Available
DHCP Enabled False
DHCP Server Not Available
DHCP Lease Expires Not Available
DHCP Lease Obtained Not Available
MAC Address 00:0E:7F:B2:B5:81
Service Name q57w2k
IRQ Number 29
Driver c:\winnt\system32\drivers\q57w2k.sys (107809, 6.64.0.0)