Networking Forums

Networking Forums > Computer Networking > Linux Networking > What is tw at /proc/net/sockstat?!

Reply
Thread Tools Display Modes

What is tw at /proc/net/sockstat?!

 
 
bh98013@gmail.com
Guest
Posts: n/a

 
      06-05-2006, 11:10 AM
Hi everybody~!
I just want to know tw at /proc/net/sockstat ...!!

In my server
--------------------------------------------------------------------------------------------
~$cat /proc/net/sockstat
sockets: used 108
TCP: inuse 38 orphan 0 tw 100 alloc 38 mem 23
UDP: inuse 5
RAW: inuse 3
FRAG: inuse 0 memory 0
--------------------------------------------------------------------------------------------

Thank you for reading this topic~!
and please anwer if you know..

 
Reply With Quote
 
 
 
 
Spoon
Guest
Posts: n/a

 
      06-05-2006, 01:39 PM
(E-Mail Removed) wrote:

> Hi everybody~!
> I just want to know tw at /proc/net/sockstat ...!!
>
> In my server
> ------------------------------------------------------
> ~$cat /proc/net/sockstat
> sockets: used 108
> TCP: inuse 38 orphan 0 tw 100 alloc 38 mem 23
> UDP: inuse 5
> RAW: inuse 3
> FRAG: inuse 0 memory 0
> ------------------------------------------------------


cf. /usr/src/linux/net/ipv4/proc.c

tw stands for TIME-WAIT

TIME-WAIT - represents waiting for enough time to pass to be sure
the remote TCP received the acknowledgment of its connection
termination request.
 
Reply With Quote
 
Rick Jones
Guest
Posts: n/a

 
      06-05-2006, 05:05 PM
Spoon <root@127.0.0.1> wrote:
> tw stands for TIME-WAIT


> TIME-WAIT - represents waiting for enough time to pass to be sure
> the remote TCP received the acknowledgment of its connection
> termination request.


Interesting description. I was always under the impression that it
was there to preserve connection state long-enough to be confident
(statistically certain) that all segments of the connection that may
have wandered-off into seedy corners of the network had timed-out
before a new connection of the same name was started. Hence the
reason it is described as being a multiple of the MSL Maximum Segment
Lifetime.

rick jones
--
firebug n, the idiot who tosses a lit cigarette out his car window
these opinions are mine, all mine; HP might not want them anyway...
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
 
Reply With Quote
 
Spoon
Guest
Posts: n/a

 
      06-06-2006, 10:38 AM
Rick Jones wrote:

> Spoon wrote:
>
>> tw stands for TIME-WAIT
>>
>> TIME-WAIT - represents waiting for enough time to pass to be sure
>> the remote TCP received the acknowledgment of its connection
>> termination request.

>
>
> Interesting description. I was always under the impression that it
> was there to preserve connection state long-enough to be confident
> (statistically certain) that all segments of the connection that may
> have wandered-off into seedy corners of the network had timed-out
> before a new connection of the same name was started. Hence the
> reason it is described as being a multiple of the MSL Maximum Segment
> Lifetime.


I read that definition in RFC 793
http://www.rfc-editor.org/rfc/rfc793.txt
(which is almost 25-years old)
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
iptables problem (proc) Maaged Mazyek Linux Networking 3 03-28-2006 05:39 AM
mapping /proc/PID with proper URL jean-francois Linux Networking 3 12-25-2005 03:27 AM
/proc/net/dev information broken Gerrit Holl Linux Networking 0 04-25-2005 11:23 AM
/proc/net/ip_fprward?? Ishwar Rattan Linux Networking 4 07-17-2003 02:41 AM
/proc/net/ip_fprward?? Ishwar Rattan Linux Networking 1 07-16-2003 08:53 PM



1 2 3 4 5 6 7 8 9 10 11