- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- too many sockets open on the system
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
тАО04-14-2001 09:11 AM
тАО04-14-2001 09:11 AM
too many sockets open on the system
I wanted to do a little investigation myself,I ran netstat and counted the number of sockets in each states. Here are two examples for high and low numbers of sockets in wait state. I found this really alarming, because I have other systems that are quite busy, but the number of sockets in the wait state is nearly nothing compare to this.
Here are the output:
4 (socketpair)
5 /tmp/.cgistub_7179
1 /var/opt/perf/datafiles/.perflbd.socket
25 ESTABLISHED
1 FIN_WAIT_2
2098 TIME_WAIT
4 (socketpair)
5 /tmp/.cgistub_7179
1 /var/opt/perf/datafiles/.perflbd.socket
23 ESTABLISHED
117 TIME_WAIT
Here is another output from running netstat, does this look normal, where the client and server are both the localhost 127.0.0.1 and the ports are listening on one another.
TCP
Local Address Remote Address Swind Send-Q Rwind Recv-Q State
127.0.0.1.32774 127.0.0.1.32773 32768 0 32768 0 ESTABLISHED
127.0.0.1.32773 127.0.0.1.32774 32768 0 32768 0 ESTABLISHED
47.61.0.123.32778 47.61.0.123.726 32768 0 32768 0 ESTABLISHED
47.61.0.123.726 47.61.0.123.32778 32768 0 32768 0 ESTABLISHED
127.0.0.1.64769 127.0.0.1.64768 32768 0 32768 0 ESTABLISHED
127.0.0.1.64768 127.0.0.1.64769 32768 0 32768 0 ESTABLISHED
127.0.0.1.54530 127.0.0.1.54529 32768 0 32768 0 ESTABLISHED
127.0.0.1.54529 127.0.0.1.54530 32768 0 32768 0 ESTABLISHED
127.0.0.1.54532 127.0.0.1.54531 32768 0 32768 0 ESTABLISHED
127.0.0.1.54531 127.0.0.1.54532 32768 0 32768 0 ESTABLISHED
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2001 02:24 PM
тАО04-15-2001 02:24 PM
Re: too many sockets open on the system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2001 08:01 AM
тАО04-16-2001 08:01 AM
Re: too many sockets open on the system
A Solaris 2.6 system with Oracle with many Oracle sockets in TIME_WAIT. Looking at TCP/IP Illustrated Volume 1, by Stevens, there is a nice definition of the various TCP States and TIME_WAIT means your connection is awaiting what is called the 2MSL timeout at connection close time. There are several cases and explainations offered in this book which you might want to investigate. On HP-UX 11.0 this is set to 1 minutes by default and can be tuned with ndd /dev/tcp tcp_time_wait_interval
On Solaris 2.6:
# ndd -get /dev/tcp tcp_close_wait_interval
240000 <-- 4 minutes
Hope this helps,
-> Brian Hackley
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2001 11:43 AM
тАО04-16-2001 11:43 AM
Re: too many sockets open on the system
I was able to find more info on TCP/IP parameters for Solaris.
If you look a the first 2 lines from netstat, does it look unusual that the loopback address has 2 established connections, where it is acting as a server and a client at the same time, and on 2 different ports?
TCP
Local Address Remote Address Swind Send-Q Rwind Recv-Q State
127.0.0.1.32774 127.0.0.1.32773 32768 0 32768 0 ESTABLISHED
127.0.0.1.32773 127.0.0.1.32774 32768 0 32768 0 ESTABLISHED
E. Farah
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2001 01:26 PM
тАО04-16-2001 01:26 PM
Re: too many sockets open on the system
localhost.cscomd localhost.1100 ESBLISHED
localhost.1100 localhost.cscomd ESTABLISHED
As for what is really happenning with these, I am not sure, unless it is some type of GUI,