FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Red Hat Linux

 
 
LinkBack Thread Tools
 
Old 07-28-2010, 05:41 AM
 
Default regarding TCP_FIN_TIMEOUT

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@redhat.com>
To: redhat-list <redhat-list@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@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@redhat.com

You can reach the person managing the list at
redhat-list-owner@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@chguadalquivir.es>
To: redhat-list@redhat.com
Subject: Reduce Time_Wait timeout doesn't work...
Message-ID: <4C497F21.8080105@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@chguadalquivir.es>
To: redhat-list@redhat.com
Subject: Reduce TIME_WAIT timeout doesn't work...
Message-ID: <4C4D381D.1050204@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@yahoo.com>
To: General Red Hat Linux discussion list <redhat-list@redhat.com>
Subject: wget
Message-ID: <220823.65532.qm@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@redhat.com?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@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 

Thread Tools




All times are GMT. The time now is 05:46 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org