regarding TCP_FIN_TIMEOUT

amiteshsahay at aol.com amiteshsahay at aol.com
Wed Jul 28 05:41:28 UTC 2010


 Hello,

I myself tried to do the steps that you had mentioned the email, but it was of no use. 

I then did the following steps as shown in the screenshot , I think I have got it.

[root at amit ~]# cat /proc/sys/net//ipv4/tcp_fin_timeout
60
[root at amit ~]# cat > /proc/sys/net//ipv4/tcp_fin_timeout
30
[root at amit ~]# cat /proc/sys/net//ipv4/tcp_fin_timeout
30


To make sure that the changes are made in the right file, I went all the way don to the TCP_FIN_TIMEOUT file, and saw that the changes were there.


[root at amit ~]# /sbin/service network restart
Shutting down interface eth0:                              [  OK  ]
Shutting down loopback interface:                          [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:  
Determining IP information for eth0... done.
                                                           [  OK  ]
[root at amit ~]# cat /proc/sys/net//ipv4/tcp_fin_timeout
30
[root at amit ~]# cd /proc/sys/net//ipv4/
[root at amit ipv4]# cd tcp_fin_timeout 
bash: cd: tcp_fin_timeout: Not a directory
[root at amit ipv4]# vi tcp_fin_timeout 

30
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
~                                                                                                                         
"tcp_fin_timeout" 1L, 3C

[root at amit ipv4]# cat tcp_fin_timeout 
30

As you could see that the changes are there, so I guess that you can make it to 15 sec.


Try it and let us know


Regards, 

Amitesh Sahay






 


 

 

-----Original Message-----
From: redhat-list-request <redhat-list-request at redhat.com>
To: redhat-list <redhat-list at redhat.com>
Sent: Mon, Jul 26, 2010 9:31 pm
Subject: redhat-list Digest, Vol 77, Issue 23


Send redhat-list mailing list submissions to
	redhat-list at redhat.com

To subscribe or unsubscribe via the World Wide Web, visit
	https://www.redhat.com/mailman/listinfo/redhat-list
or, via email, send a message with subject or body 'help' to
	redhat-list-request at redhat.com

You can reach the person managing the list at
	redhat-list-owner at redhat.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of redhat-list digest..."


Today's Topics:

   1. Reduce Time_Wait timeout doesn't work...
      (Francisco J. M?rquez G?mez)
   2. Reduce TIME_WAIT timeout doesn't work...
      (Francisco J. M?rquez G?mez)
   3. wget (Sir June)


----------------------------------------------------------------------

Message: 1
Date: Fri, 23 Jul 2010 13:38:09 +0200
From: "Francisco J. M?rquez G?mez" 	<fjmarquez at chguadalquivir.es>
To: redhat-list at redhat.com
Subject: Reduce Time_Wait timeout doesn't work...
Message-ID: <4C497F21.8080105 at chguadalquivir.es>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello!

I'm new in this list. I hope you can help me and I can help to other 
from now.

I'm trying reduce the timeout of TIME_WAIT tcp connections status, but I 
don't get it.

I set the value of /proc/sys/net/ipv4/tcp_fin_timeout to 15:

echo 15 > /proc/sys/net/ipv4/tcp_fin_timeout

I think that this should be sufficient, but the SO continue kill 
connections after 60 seconds of TIME_WAIT, instead of 15...

Can you help me?



------------------------------

Message: 2
Date: Mon, 26 Jul 2010 09:24:13 +0200
From: "Francisco J. M?rquez G?mez" 	<fjmarquez at chguadalquivir.es>
To: redhat-list at redhat.com
Subject: Reduce TIME_WAIT timeout doesn't work...
Message-ID: <4C4D381D.1050204 at chguadalquivir.es>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello!

I'm new in this list. I hope you can help me and I can help to other 
from now.

I'm trying reduce the timeout of TIME_WAIT tcp connections status, but I 
don't get it.

I set the value of /proc/sys/net/ipv4/tcp_fin_timeout to 15:

echo 15 > /proc/sys/net/ipv4/tcp_fin_timeout

I think that this should be sufficient, but the SO continue kill 
connections after 60 seconds of TIME_WAIT, instead of 15...

Can you help me?



------------------------------

Message: 3
Date: Mon, 26 Jul 2010 08:37:30 -0700 (PDT)
From: Sir June <sir_june at yahoo.com>
To: General Red Hat Linux discussion list <redhat-list at redhat.com>
Subject: wget
Message-ID: <220823.65532.qm at web65709.mail.ac4.yahoo.com>
Content-Type: text/plain; charset=us-ascii

Hi,

I've been trying some wget options to download 
"http://archive.kernel.org/fedora-archive/core/updates/5/i386/"  (only the 
contents of i386)
to my current directory but it only downloads index.html and robots.txt


# pwd
/5/i386
# wget -r  -nc http://archive.kernel.org/fedora-archive/core/updates/5/i386/

it creates the directory hierarchy and downloads index and robots only.  I just 
want to get all the files that are inside the i386.

what options should i use?


thanks,
Sir June


      



------------------------------

__
redhat-list mailing list
Unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

End of redhat-list Digest, Vol 77, Issue 23
*******************************************


 



More information about the redhat-list mailing list