- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: TCP connection not establishing
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
Forums
Discussions
Discussions
Discussions
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
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
05-18-2008 11:57 PM
05-18-2008 11:57 PM
we have a local application which uses a tcp/IP port defined in /etc/services and running on hp-ux 11.11.
The issue we have is that the server is allowing certain amount of connections ( 3-4 maximum ) and it sets rest on TIME_WAIT state when checked with netstat and ndd ( tcp_status).
Once this is the case it will not allow any other connections from extermal servers.
The application is basically a messaging system
Are their any parameters which has to be set to
allow incoming connections when installing a third part applications on hp-ux 11.11 ?
error is as follows
Escape character is '^]'.
UConnection closed by foreign host.
any input appriciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2008 12:26 AM
05-19-2008 12:26 AM
Re: TCP connection not establishing
first check that the port which application used won't acquired by other application.
please be mind it that, the /etc/services is only human readable file. If you want to establish the port, the pplication itself should allocate that.
you can verify that, the port is working or not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2008 12:30 AM
05-19-2008 12:30 AM
Re: TCP connection not establishing
On networking side, at tcp level, you can look at tcp_conn_request_max tunable.
ndd -h tcp_conn_request_max
It would not make any differene unlesss, you take care of it at application level.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2008 05:36 PM
05-19-2008 05:36 PM
Re: TCP connection not establishing
checked with lsof and only the local application is occupying the port and the issue is its only allowing limited ( 2-4) connections at a time. If this app is stopped the port is any way not occupied if checked with netstat or lsof.
checked tcp_conn_request_max with
# ndd -get /dev/tcp tcp_conn_request_max and other relevet parrameters and its default to
4096.
will get back to app support to check the code.
Are their any commonly known kernel parameters relevant to this kind of issue ?
wci
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2008 11:37 PM
05-19-2008 11:37 PM
Re: TCP connection not establishing
and a nettl trace taken at the same time.
are you using ipfilter?
What is the sequence of syscall?
socket()
bind()
listen()
while ()
accept()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2008 09:04 AM
05-20-2008 09:04 AM
Solutionit does not otherwise control the maximum number of connections a given process may have.
the limit to the number of connections a given process may have at one time is the number of file descriptors it may have open. of course, applications may impose their own, lower, limits as well.
The output given:
Escape character is '^]'.
UConnection closed by foreign host.
suggests that the connection is being established, the server is calling accept(), and then immediately calling close() (or shutdown() followed by close()) - it suggests the application is deciding to terminate the connection, which suggests an application configuration.
the suggestion to take a tusc trace of the server is a very good one.
wrt the TIME_WAIT connections, the side which initiates the connection close is the side which tracks TIME_WAIT, per the TCP specifications. that there are TIME_WAIT endpoints on the server is consistent with the server being the one to initiate close.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2008 11:35 PM
05-22-2008 11:35 PM
Re: TCP connection not establishing
Thanks for the information.
Application support is looking at the issue
at the moment.
ipf is installed but not configured but stopped and still the issue is their.
we have a mail ( sendmail ) gateway running on the same server which is running without any issue.
may have to wait till application support gets back with their findings.
thanks all.
wci