Hello,
I was wondering if anyone might be able to help me with a TCP/IP problem
that I have. I can also reproduce the problem on Solaris, but for the moment
I'll stick with AIX. The problem is as follows:
My application opens a TCP/IP socket, which it keeps open for the duration
of its execution. It then happily sends and receives data from this socket.
In order to reproduce a customer problem, I remove all network connections
from my computer (ie, pull out the LAN cable). The application hangs on a
recv function and spends 9 minutes timing out, a little too long for this
particular customer.
The question is - why does it always spend 9 minutes timing out, and is there
a way to reduce this time? I am aware of the 'no' command for aix to set
various TCP/IP parameters (such as tcp_keepidle) and my initial guess is
that one of these parameters needs to be lowered. But which one? There must
be some reason for the 9 minute time-out value, and I've spent some time
trying to match this value to the various TCP/IP params.
Can anyone shed some light on this problem. I would be very grateful for any
help.
Thanks, Blake Evans-Pritchard
--
All opinions expressed above are my own. They may not necessarily
be those of my employer, IBM.