- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 10054: WSAECONNRESET: Connection reset by peer
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-05-2004 05:13 PM
тАО12-05-2004 05:13 PM
10054: WSAECONNRESET: Connection reset by peer
10054: WSAECONNRESET: Connection reset by peer
After getting the error the used gets disconnected and obviously data entered so far gets lost.
We have tried almost everything to resolve the issue but the results are not encouraging.
On chekcing SAP note 413330 we found following inputs (for making changes in the Windows registry):
NOTE BEGIN
1. Establishing a connection
Windows NT/ Windows 2000:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\TCPIP\Parameters Via menu 'Edit - Add Value', add 'TcpMaxConnectRetransmissions'.
Data Type: REG_DWORD
Valid Range: 0 - 0xFFFFFFFF
Default: 3
Windows95/ Windows98:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP Via menu 'Edit - Add Value', add 'MaxConnectRetries'.
Data Type: String
Valid Range: 0 - 0xFFFFFFFF
Default: 3
2. Existing connection:
Windows NT/ Windows 2000:
Via menu 'Edit - Add Value', add 'TcpMaxDataRetransmissions'.
Data Type: REG_DWORD
Valid Range: 0 - 0xFFFFFFFF
Default: 5
Windows95/ Windows98:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP Via menu 'Edit - Add Value', add 'MaxDataRetries'.
Data Type: String
Valid Range: 0 - 0xFFFFFFFF
Default: 5
An increase by 1 corresponds roughly to a doubling of the timeout time. You may need to experiment a little with the values, to find the setting most appropriate to your requirements.
NOTE END
How to arrive right value for the registry parameters (in case of existing connection; default = 5)?
Other solutions to this problem are also welcome.
Thanks.
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2004 07:44 AM
тАО12-06-2004 07:44 AM
Re: 10054: WSAECONNRESET: Connection reset by peer
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcewinsk/html/cerefwinsockerrorcodes.asp
or this one http://www.southdown.co.uk/db/support/default.taf?_function=show&_article=f0012
10054 WSAECONNRESET Connection reset by peer. An existing connection was forcibly closed by the remote host. This normally results if the peer application on the remote host is suddenly stopped, the host is rebooted, or the remote host uses a hard close (see setsockopt (Windows Sockets) for more information on the SO_LINGER option on the remote socket.) This error may also result if a connection was broken due to keep-alive activity detecting a failure while one or more operations are in progress. Operations that were in progress fail with WSAENETRESET. Subsequent operations fail with WSAECONNRESET.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2004 05:08 AM
тАО12-07-2004 05:08 AM
Re: 10054: WSAECONNRESET: Connection reset by peer
If you sniff the network, looking at the RST segments from the HP-UX system, they will have text after the TCP header that is the ASCII encoding of the reason the RST was sent. Once the reason is known the change shoudl be more easily determined.
Unless the WSA error messages are slightly bogus, and include a local TCP abort, I would not expect changes in the Windows registry to affect much.
As for the general question about picking retransmission limits - basically, you want to allow enough retransmissions to get your "false positive" rate for connection failure sufficiently low. You need to determine what is sufficiently low in connection aborts per N connections. Then take your networks average packet loss rate, and multiply that by itself enough times to get to that rate. The number of times you had to multiply (ie the power) is what you would use - I'd probably add one to it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2004 05:38 PM
тАО12-07-2004 05:38 PM
Re: 10054: WSAECONNRESET: Connection reset by peer
Can you give more inputs/"How to do" on the following:
"If you sniff the network, looking at the RST segments from the HP-UX system, they will have text after the TCP header that is the ASCII encoding of the reason the RST was sent. Once the reason is known the change shoudl be more easily determined.
Unless the WSA error messages are slightly bogus, and include a local TCP abort, I would not expect changes in the Windows registry to affect much"
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-08-2004 04:33 AM
тАО12-08-2004 04:33 AM
Re: 10054: WSAECONNRESET: Connection reset by peer
$ tcpdump -i
where "tcp[13]" is the 13th byte of the TCP header. I'm probably off on the constants.
Keep in mind that tcpdump may consume a bit of CPU...
There may also be a way to do similar things with the nettl that is already installed on your system. The nettl manpage and/or docs.hp.com would be the place to start there.