GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- tcp CLOSE_WAIT
Operating System - HP-UX
1850598
Members
3516
Online
104054
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
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
08-24-2000 03:05 AM
08-24-2000 03:05 AM
tcp CLOSE_WAIT
I'm running a server application which listens to port 443 on 2 HP-UX 11.00 L2000 boxes. These machines are configured with a load balancer, in order to better distribute the load. The load balancer periodically has to check the status of the port (443) on both machines, and for this it issues a tcp connect on this port to check if the application is active. After a while, my application (running on port 443) stops to work, and it seems we are reaching some kind of limit regarding tcp connections. If I issue the command "netstat -an | grep 443" I see there are many tcp connections with state CLOSE_WAIT. I've tried changing the tcp parameters "tcp_keepalive_internval" and "tcp_ip_abort_interval". Specifically I issued:
# ndd -set /dev/tcp tcp_keepalive_interval 600000
# ndd -set /dev/tcp tcp_ip_abort_interval 2000
This does not solved the problem. Rebooting the machine solves the problem, but obviously this is not a solution! Any help would be greatly appreciated.
# ndd -set /dev/tcp tcp_keepalive_interval 600000
# ndd -set /dev/tcp tcp_ip_abort_interval 2000
This does not solved the problem. Rebooting the machine solves the problem, but obviously this is not a solution! Any help would be greatly appreciated.
Asdrubal
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2000 03:20 AM
08-24-2000 03:20 AM
Re: tcp CLOSE_WAIT
sounds as if the loadbalancer or the application is leaving child processes around ?
have you used lsof utility to investigate further ?
have you used lsof utility to investigate further ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2000 04:18 AM
08-24-2000 04:18 AM
Re: tcp CLOSE_WAIT
use the command; netstat -a | grep tcp | grep -i close to see the open tcp sockets and more importantly it will show the IP number of who/what HP-UX is waiting on to close the socket. This IP will either be that of the load balancer or some other device. To have the tcp socket finally close you either need to reboot, as youve worked out, or get the device whose IP is listed from netstat to reboot, that should also finally close the socket. Ive seen this at my current site with users PC's using sql to connect to a db on our L-class, whenever their PC dies, or their application crashes, it leaves a stuck socket, and unless their PC is rebooted the socket is left open on our HP server until we reboot it.
Im from Palmerston North, New Zealand, but somehow ended up in London...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2000 07:24 AM
08-25-2000 07:24 AM
Re: tcp CLOSE_WAIT
Thanks all for the replies! The problem is solved, it seems the application was doing something wrong. Now all the tcp handshakes from the load balancer are correctly closed by the application running on port 443.
Asdrubal
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 2026 Hewlett Packard Enterprise Development LP