HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SYN_SENT sockets
Operating System - HP-UX
1834017
Members
2358
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
02-14-2003 04:44 AM
02-14-2003 04:44 AM
SYN_SENT sockets
I've recently encountered a problem where sockets finish in a SYN_SENT state.
There are two client-server processes (a and b)that talk to each other on the same machine via sockets. After restarting process b, the client processes (a) attempt to reconnect to b but get stuck in the SYN_SENT state. There are approx 120 of these (a) client processes, but surely this is not an enormous amount of processing for a 6 CPU N-class with 4GB RAM? The workaround on this machine is to gradually reintroduce the client processes rather than allow them all to attempt to reconnect at once.
I cannot recreate this problem on a single CPU A-class machine which easily handles the same configuration, accepting all 120 (nearly) simultaneous connections from the client processes...
What are other possibilities for SYN_SENT sockets remaining in that state? Kernel config? H/w failure (not evident)? Software? OS Patch Level?...
[I've noticed in the daemons log that the rpcbind.. "could not create rmtcall fd ticlts" message appears. Is "lts" used for local socket connections? Could this be related?]
TIA
Rob
There are two client-server processes (a and b)that talk to each other on the same machine via sockets. After restarting process b, the client processes (a) attempt to reconnect to b but get stuck in the SYN_SENT state. There are approx 120 of these (a) client processes, but surely this is not an enormous amount of processing for a 6 CPU N-class with 4GB RAM? The workaround on this machine is to gradually reintroduce the client processes rather than allow them all to attempt to reconnect at once.
I cannot recreate this problem on a single CPU A-class machine which easily handles the same configuration, accepting all 120 (nearly) simultaneous connections from the client processes...
What are other possibilities for SYN_SENT sockets remaining in that state? Kernel config? H/w failure (not evident)? Software? OS Patch Level?...
[I've noticed in the daemons log that the rpcbind.. "could not create rmtcall fd ticlts" message appears. Is "lts" used for local socket connections? Could this be related?]
TIA
Rob
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2003 08:02 AM
02-14-2003 08:02 AM
Re: SYN_SENT sockets
In 11.0 and later there is an ndd variable:
tcp_conn_request_max:
Maximum number of outstanding inbound connection requests.
[1, - ] Default: 20 connections
Perhaps adjusting this upwards might help though it does seem strange that a single CPU box has no problems.
ndd -set /dev/tcp tcp_conn_request_max 120
and to make it stay after a reboot edit /etc/rc.config.d/nddconf
to add
TRANSPORT_NAME[x]=tcp
NDD_NAME[x]=tcp_conn_request_max
NDD_VALUE[x]= 120
where x is 0 if this is the first entry or 1 + the last entry's value.
Also seems strange that the client processes do not just resend the SYN if they don't get a reply. Pretty stupid to get locked up because a packet got lost. The basic assumption of TCP/IP is that packets will get lost.
Ron
tcp_conn_request_max:
Maximum number of outstanding inbound connection requests.
[1, - ] Default: 20 connections
Perhaps adjusting this upwards might help though it does seem strange that a single CPU box has no problems.
ndd -set /dev/tcp tcp_conn_request_max 120
and to make it stay after a reboot edit /etc/rc.config.d/nddconf
to add
TRANSPORT_NAME[x]=tcp
NDD_NAME[x]=tcp_conn_request_max
NDD_VALUE[x]= 120
where x is 0 if this is the first entry or 1 + the last entry's value.
Also seems strange that the client processes do not just resend the SYN if they don't get a reply. Pretty stupid to get locked up because a packet got lost. The basic assumption of TCP/IP is that packets will get lost.
Ron
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP