TIME_WAIT state


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users TIME_WAIT state
# 1  
Old 03-08-2009
TIME_WAIT state

in TCP, is TIME_WAIT state really essential..!!!
# 2  
Old 03-08-2009
What problems are you having?
# 3  
Old 03-08-2009
Yes, it is really essential!!

For one thing, consider a socket that has sent the final packet which is an ACK to acknowledge the final FIN packet. If everything works right, this is the end of the connection. But what if that final ACK packet gets lost? The other side will timeout and retransmit the final FIN. A socket in TIME_WAIT will be able to retransmit that final ACK, thus allowing the other side to close down.

The other problem is wandering duplicates, packets which seemed to have disappeared, but really just got lost for a while and then finally arrived. A socket in TIME_WAIT has enough information to recognize them for what they are, and simply discard them. If the socket was destroyed somehow and a new connection is established that looks like the old connection, wandering duplicates from the first connection will be delivered to the second connection, possibly injecting garbage into the data stream.
# 4  
Old 03-08-2009
i jus wanted to know..
thanks for the information friends..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Web Development

The State of Vue.js

Here is very good video from Evan You, founder of Vue.js, on the state of Vue.js State of Vuenation with Evan You Here is a nice PDF report on Vue.js Update State of Vue.js Report Vue.js is now the second most starred project on GitHub, recently surpassing Bootstrap. These two... (0 Replies)
Discussion started by: Neo
0 Replies

2. AIX

Open firmware state to running state

Hi Admins, I am having a whole system lpar in open firmware state on HMC. How can I bring it to running state ? Let me know. Thanks. (2 Replies)
Discussion started by: snchaudhari2
2 Replies

3. Solaris

Zone in down state

Hi all, One of my zone is stuck in down state, not able to boot it or halt it root@xpm9ka1 # zoneadm list -iv ID NAME STATUS PATH BRAND IP 0 global running / native shared 2 bsmrxdb4 down /zones/bsmrxdb4 native shared root@xpm9ka1 # zoneadm -z bsmrxdb4 boot zoneadm: zone... (6 Replies)
Discussion started by: peppeunz
6 Replies

4. UNIX for Dummies Questions & Answers

Server has more TIME_WAIT connections in Apache(port 80)

Server has more TIME_WAIT connections in Apache(port 80) Hi, My webserver has 16GB of RAM and CentOS 5.5, Apache 2.2.3, It's shared webserver used of for webhosting. I have optmized the server as : <IfModule prefork.c>... (4 Replies)
Discussion started by: chandranjoy
4 Replies

5. Red Hat

How to kill a TCP connection which has status TIME_WAIT & no PID

Hi, I want to kill TCP connections which have status as TIME_WAIT & no PID (as per the output of the "netstat - p" command). Is there any command/utility available to kill connections to a specific port or IP address. The problem is that these connections don't have process ID (see... (4 Replies)
Discussion started by: Davinder31may
4 Replies

6. Solaris

Zone in down state.

One of my zone is stuck in down state, not able to boot it or halt it .. not even detach .. is there any way to recover without rebooting the whole system ( global zone ) ? (3 Replies)
Discussion started by: fugitive
3 Replies

7. UNIX for Advanced & Expert Users

TCP ports - TIME_WAIT

What is the maximum number of TCP ports that can be consumed at any one time? How can I determine what the number is or increase it? I was under the impression that with our system (UnixWare 7.1.1) 1024 was the maximum under our current Kernel tuning parms, but I think that is really just... (4 Replies)
Discussion started by: dlkox
4 Replies

8. IP Networking

TIME_WAIT in netstat

Why would I get TIME_WAIT when i netstat a port?? What would be some scenarios of this situation?? (1 Reply)
Discussion started by: eloquent99
1 Replies

9. UNIX for Advanced & Expert Users

Time_wait ??

Hi, My machine is Enterprise 250, solaris 2.6, with Oracle 9iApplication Server( 1022) and Apache 1.3 running. The problem is the machine appears to be slow when accessed from remote. when we login, it takes time to connect, when we type it appears after some time and so on... I have... (3 Replies)
Discussion started by: shibz
3 Replies
Login or Register to Ask a Question