Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Using netstat command, I got the number of couple of TCP states of connections. But for running websites, how to make meaningful connections between these numbers and the bottleneck/performance of the website?


Please save the manual-kind links and share some practical knowledge, thanks!

share|improve this question
up vote 3 down vote accepted

Hopefully this will help, detailed explanation here:-

  • CLOSED Indicates that the server has received an ACK signal (to acknowledge receipt of a packet) from the client and the connection is closed.

  • CLOSE_WAIT Indicates that the server has received the first FIN signal (to acknowledge there is no more data to be sent) from the client and the connection is in the process of closing.

  • ESTABLISHED Indicates that the server received the SYN signal (synchronize, this signal is only sent in the first packet) from the client and the session is established.

  • FIN_WAIT_1 Indicates that the connection is still active but not currently being used.

  • FIN_WAIT_2 Indicates that the client just received acknowledgement of the first FIN signal from the server.

  • LAST_ACK Indicates that the server is in the process of sending it's own FIN signal.

  • LISTENING Indicates that the server is ready to accept a connection.

  • SYN_RECEIVED Indicates that the server just received a SYN signal from the client.

  • SYN_SEND Indicates that this connection is open and active.

  • TIME_WAIT Indicates that the client recognises the connection as active, but not currently being used.

share|improve this answer
So 2363 (TIME_WAIT) means 2363 online users at current time? ( They are more or less visiting the website?) – Hao Feb 19 '12 at 9:25
@Jusfeel Well, that's the number of unused connections - given that a http connection is accessing one resource that doesn't really mean users. – toomanyairmiles Feb 19 '12 at 9:47
@toomanyairmiles, Isn't this question off-topic here? – Pacerier Jan 23 at 3:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.