regarding TCP_FIN_TIMEOUT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 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@amit ~]# cat /proc/sys/net//ipv4/tcp_fin_timeout
60
[root@amit ~]# cat > /proc/sys/net//ipv4/tcp_fin_timeout
30
[root@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@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@amit ~]# cat /proc/sys/net//ipv4/tcp_fin_timeout
30
[root@amit ~]# cd /proc/sys/net//ipv4/
[root@amit ipv4]# cd tcp_fin_timeout 
bash: cd: tcp_fin_timeout: Not a directory
[root@amit ipv4]# vi tcp_fin_timeout 

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

[root@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@xxxxxxxxxx>
To: redhat-list <redhat-list@xxxxxxxxxx>
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@xxxxxxxxxx

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@xxxxxxxxxx

You can reach the person managing the list at
	redhat-list-owner@xxxxxxxxxx

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@xxxxxxxxxxxxxxxxx>
To: redhat-list@xxxxxxxxxx
Subject: Reduce Time_Wait timeout doesn't work...
Message-ID: <4C497F21.8080105@xxxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxxxx>
To: redhat-list@xxxxxxxxxx
Subject: Reduce TIME_WAIT timeout doesn't work...
Message-ID: <4C4D381D.1050204@xxxxxxxxxxxxxxxxx>
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@xxxxxxxxx>
To: General Red Hat Linux discussion list <redhat-list@xxxxxxxxxx>
Subject: wget
Message-ID: <220823.65532.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

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


 
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux