- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How many connections per port?
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
11-24-2003 09:44 PM
11-24-2003 09:44 PM
on our rp5470 server I am running an application, which is giving following error:
unable to open server port #39998.
With "netstat -an |grep 39998 | wc -l" I can see, that there are about 500 open connection associated to this port.
My question:
Where is the limit of connection per port?
and
Who is giving the limit: Application, OS or Network connection??
Thanks
Thomas
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2003 09:53 PM
11-24-2003 09:53 PM
Re: How many connections per port?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2003 10:28 PM
11-24-2003 10:28 PM
Re: How many connections per port?
it sounds like a firewall permission problem. Otherwise you can search out what connections exactly are using port 39998 by lsof in order to know if there are any not-expected connections on that port.
# lsof -i:39998
You can find lsof on porting of HP-UX:
http://hpux.connect.org.uk/
I hope this helps you.
Bets regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2003 10:50 PM
11-25-2003 10:50 PM
Re: How many connections per port?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2003 08:08 AM
11-26-2003 08:08 AM
SolutionTo answer your question, the application in conjunction with OS tunables typically should be taken into consideration.
The open() system call will set errno upon its return to the application. The application should notify the user exactly what that errno status is, usually using the library routine, perror(3C). Using that errno, check the open(2) man page which describes error conditions in detail.
Andrew,
netstat -m disappeared with mbufs at HPUX 10 when HP implemented the Mentat Streams-based TCP stack. However your suggestion to check memory usage is a good one; the errno result from open() should be a good indicator if that should be done.
Since most server processes usually fork() a child process from a master listener process, any systemwide limits being reached could be examined in glance, including memory and system tunables; I would check for nfile (total # of open files allowed) since a socket is really just a file.
Hope that all helps,
-> Brian Hackley
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2003 07:36 PM
11-26-2003 07:36 PM
Re: How many connections per port?
Thats very useful information, and shows that I spend most of my time using AIX and not HP-UX.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2003 10:00 PM
11-26-2003 10:00 PM
Re: How many connections per port?
Not too confident but .. I think over it this way .. Is it a wild guess ?!!!
There is a limit of maximum number of open files by a process yea (!?). So if this listener process has alreay 500 tcp sockets made (i got it from the original netstat o/p requester posted) and it has opened some more files and logical volumes for writing / reading data and they all have contributed to the number of open files by that process and it has reached the limit ... I am not too sure on this but make sence yea ?...
Kaps