- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Network communication problem when packets out of ...
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
09-25-2002 12:49 AM
09-25-2002 12:49 AM
Network communication problem when packets out of order ......
This is the scenario:
Two unix servers with one running a security application (master) and the other server using this application (client).
The client is a HP 9000 series L-class server running HP-UX 11.00. The master is an RS6000 box running AIX 4.3.3.
I'm not allowed to talk much about the application :-( but can say that the master records access to certain accounts on the client.
Both servers run a daemon to establish communication. When a certain feature of the application is used a number of processes are started on the master and client using up ports on each. Under certain circumstances (as yet unknown) when the application is terminated on the client the FIN (?) signal does not reach the master. In other cases the application does not terminate properly in the telnet session and it has to be restarted.
What makes this problem particularly awkward is that the client and master have to go through a firewall and there are a limited number of ports available for communications. As a result, after a number of sessions fail to terminate successfully it is no longer possible for subsequent sessions to be open (no available ports) and the whole thing grinds to a halt.
So the problem is either network or firewall related.
Any ideas ? I've got someone monitoring the network and hope to be able to analyse the results over the next few days.
I've had our network people look into the problem and they have indicated that at the time when I experience the problem the packets are arriving at the server out of order. Is there any way to improve resilence on the client to this network behaviour ?
I'll add postings to this message as and when I find out more. I hope that what I find out as a result of this little adventure into the realm of networks will prove useful to others in the future ............
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2002 01:07 AM
09-25-2002 01:07 AM
Re: Network communication problem when packets out of order ......
You could even put the client-software on the server. It will use the sockets as if it was another machine.
When you got this working w/o problems it is time to find out which ports are used, and to try to make it work trough a firewall.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2002 03:36 AM
09-25-2002 03:36 AM
Re: Network communication problem when packets out of order ......
If the firewall does proxying I'd look at that. If possible, put a packet sniffer on both sides of the firewall and try to capture a single session going wrong.
HTH,
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2002 08:13 AM
09-25-2002 08:13 AM
Re: Network communication problem when packets out of order ......
For the HPUX side of things see:
http://tcp-impl.grc.nasa.gov/tcp-impl/list/archive/2197.html
This will help get rid of sessions when the FIN gets lost. The default on an 11.0 is to leave them up forever.
There is also an NDD parameter you can tweak to decrease the amount of time it waits before resending an unack'd packet but I'd try the FIN_WAIT_II fix first.
Don't know much about AIX but I think the FIN_WAIT_II timer is about 11 minutes.
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2002 11:44 AM
09-27-2002 11:44 AM
Re: Network communication problem when packets out of order ......
As for the fin_wait_timeout kludge added in 11, it should only be necessary if the apps do not actuall call close (and only do shutdown()) or if say some busted firewall software is responding to the keepalive probes when the remote end of the connection is actuall gone.
When an app calls close(), the tcp connection should enter a detached state, and the tcp_keepalive_detached_interval timer should kick-in to do keepalives whether nor not the app set SO_KEEPALIVE.
If the app uses abortive close, and the firewall looses packets, the RST could be lost. Some judisious use of tcpdump on the L and the AIX box might be in order.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2002 03:19 PM
10-15-2002 03:19 PM
Re: Network communication problem when packets out of order ......
In theory, if a TCP packet arrives out of sequence there are a few things that can happen...
Lets say packet number 6 arrives, and packet number 4 was expected
1. Packet 6 is dropped as gibberish
1a. a retransmit request is sent saying 'packet 3 was gotten successfully (ie please resend 4) but packet 6 is still dropped
2. Packet 6 is held 'a while' in hopes 4 and 5 will arrive
2a. a retransmit request is sent saying 'packet 3 was gotten successfully (ie please resend 4) - packet 6 is held a while
By the way, whether the packet is queued, or dropped immediately may not matter much, if the packet is held 'for a little while' say a few seconds, it will either time out and be dropped, or the buffers will fill, and packets get dropped.
---
The real question tho, is why is packet 6 arriving before packet 4.
This could be a routing issue (different routes with different latencies) or an issue in the firewall (different rules for different packets some may process quicker...)
Or all sorts of other issues, in principle (QOS, for example.)
Presumably there is a wide area network involved - so you might consider tuning things like your TCP window, retransmission retries - that sort of thing.
You might also consider pacing your application. You may benefit by slowing down its transmissions, or allowing fewer simultaneous connections if this is possible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2002 03:56 PM
10-15-2002 03:56 PM
Re: Network communication problem when packets out of order ......
(1) Why is your client bigger and faster than your master ??
(2) Why aren't you running the newest AIX ??
(3) When was the last time you patched your HP system ??
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2002 09:09 AM
10-17-2002 09:09 AM
Re: Network communication problem when packets out of order ......
Service request # 806132568
The HP Response Center can help locate the correct patch as well as review any network trace you may have.