LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-04-2005, 10:07 PM   #1
xenomage
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
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
 
Old 10-05-2005, 12:42 AM   #2
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

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

Last edited by Snowbat; 10-05-2005 at 12:46 AM.
 
Old 10-05-2005, 12:52 AM   #3
xenomage
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Original Poster
Rep: Reputation: 0
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?
 
Old 10-12-2005, 09:32 PM   #4
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Take a look here
http://ipsysctl-tutorial.frozentux.n...variables.html
 
Old 11-22-2009, 06:24 AM   #5
++nick++
Member
 
Registered: Dec 2008
Location: Bellevue,WA
Distribution: RHEL 5 , Fedora ,Sabayon,Solaris,Vmware,AWS
Posts: 107

Rep: Reputation: 18
Folks take a look at the below link

http://fasterdata.es.net/TCP-tuning/linux.html
 
1 members found this post helpful.
Old 11-23-2009, 04:08 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
dragging up a 4 year dead thread? really?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
TCP/IP set-up? AndeAnderson Debian 6 10-06-2005 01:23 PM
C++: can you set a timeout for a system call? BrianK Programming 1 06-03-2005 08:43 PM
How to set timeout value in Konqueror mldqj Linux - Software 1 04-03-2004 04:42 PM
How to set timeout value when reading from a file descriptor. George2 Programming 7 10-26-2003 01:15 AM
Set dhcp timeout in Suse 8.0 neilmon2 Linux - Networking 1 10-15-2002 12:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration