[Fwd: Re: Help: recv takes a long time to time out!]

[Fwd: Re: Help: recv takes a long time to time out!]

Post by Norman Lev » Wed, 25 Nov 1998 04:00:00



-------- Original Message --------
Subject: Re: Help: recv takes a long time to time out!
Date: Mon, 23 Nov 1998 20:51:09 -0600


Organization: VM/dynAmIX Inc.

> Many thanks, Blake Evans-Pritchard

> - --
> All opinions expressed above are my own. They may not necessarily
> be those of my employer, IBM.

Couldn't get help from the conference disks?  ie IBMUNIX?
When I was with IBM, my first resource was IBMVM (VM instructor)
and maybe IBMPC for various tools.

--
Norman Levin
vm/dynAmIX inc.

 
 
 

1. Help: recv takes a long time to time out!

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.

2. Math Apps

3. Name resolution takes too long - lots of time outs

4. Network connection delay with no console

5. RPC time outs at boot time

6. Best book for networking?

7. HELP: telnet/ftp takes a long time to stablish connection

8. Intel EtherExpress 16 on 3.4

9. Help: Sendmail takes long time to start.

10. convert UT time in local time / local time in UT time

11. time time time how can I tell the time

12. Telnet takes a long time to give a login prompt

13. application takes a long time to come up on DEC Unix 4.0