LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How to set TCP Timeout (https://www.linuxquestions.org/questions/linux-networking-3/how-to-set-tcp-timeout-369847/)

xenomage 10-04-2005 10:07 PM

How to set TCP Timeout
 
Hi All,

my RedHat Linux is of kernel version 2.4.21-4.ELsmp.

i need to find out the TCP connection timeout. Meaning, if a certain connection is unavailable, the timeout value in seconds of which the kernel will give the destination un-reachable to the application.

Been searching high and low for this parameter but couldn't find it.

Also, i need to shorten this timing.

Any advise will be highly appreciated. Thanks!

duncan

Snowbat 10-05-2005 12:42 AM

Isn't this controlled by each program?
ping -W, wget --timeout= ...

xenomage 10-05-2005 12:52 AM

i don't think so.

This should be handled by the kernel right?
The kernel should be able to determine how long to wait for a TCP response before telling the application that the connection failed due to un-reachable destination right?

neo77777 10-12-2005 09:32 PM

Take a look here
http://ipsysctl-tutorial.frozentux.n...variables.html

++nick++ 11-22-2009 06:24 AM

Folks take a look at the below link

http://fasterdata.es.net/TCP-tuning/linux.html

acid_kewpie 11-23-2009 04:08 PM

dragging up a 4 year dead thread? really?


All times are GMT -5. The time now is 10:26 PM.