in 2000 XP 2003, and the default value is 10 in Vista ).
3. The client has crashed but has been restarted.In this case, the server will receive a response to its survival detection, but the response is a reset, causing the server to terminate the connection.
2 hours of free time is too long for applications. Therefore, we need to manually enable the keepalive function and set reasonable keepalive parameters.
The global settings can be changed to/etc/
TCP connection status explanation and troubleshooting
By understanding the status of TCP, We Can troubleshoot and locate network or system faults. (Summarize the content on the Network)
1. TCP status
LISTENING: listens for connect
In the TCP/IP protocol, backlog analysis and settings, and TCP status changes. In the TCP/IP protocol, the first section describes how to set the backlog value. What is this value? We all know that TCP requires three-way handshake when establishing a connection. But if the t
respond to the other side with the RST packet, this will be considered an error by the other party (in fact, this is a normal connection close process, not an exception ).2) in order to make the old data packet disappear due to network expirationTo illustrate this problem, we first assume that the TCP protocol does not have a time_wait status limit, and then ass
TCP status ConverterEstablishing a TCP connection TCP is a connection-oriented protocol. Before sending data to the other party, a connection must be established between the two parties. This section describes in detail how a TCP connection is established and how it is termi
three different functions.(1) "TCP established hash table" is connected to store the hash table (including connections in other non-established States). When a new packet is sent, is used to locate the connection to find the survival status.The bucket of the hash table contains the sockets in TIME_WAIT status and normally active sockets. The size of the hash table depends on the memory size of the operatin
TCP/IP makes the world a global village
The TCP Connection established by the TCPIP protocol is terminated on the earth. Humans are very small and distributed in every corner of the world. With the development of science and technology, people can now easily communicate with their loved ones and friends thousands of miles away in real time to get and share what
relieved. But the source side learned that the network is no longer congested and began to increase the speed of transmission, and eventually caused the network congestion, and this phenomenon will often go on and on, so that in a period of time the network in Network utilization (NET utilization) very low status, reduce the overall throughput ( Throughput), this is known as the "TCP
talk about the HTTP protocol, let's briefly talk about the TCP three handshake process, in the following blog we will be on the TCP and IP protocol details, this blog will be a simple chat on the basis of the HTTP protocol.The TCP protocol is located in the transport layer, and in order to ensure the reliability of th
By understanding the various states of TCP, we can help to troubleshoot and locate network or system failures. (Summarize content on the network)1. TCP StatusLISTENING: Listens for connection requests from a remote TCP port.First, the server needs to open a socket for listening, the status is listen. To provide a servi
Web Product performance Testing, there are many TCP connection problems, but also because of this problem, resulting in performance instability and so on, the data transmission between the client and server, and the transition between the connection state, which state is the normal state, which state is abnormal state, how to locate these problems, As well as the common tools, today a simple summary of these questions;
1
By understanding the various states of TCP, we can help to troubleshoot and locate network or system failures. (Summarize content on the network)
1. TCP Status
Linux View status command for TCP:1), Netstat-nat View the number of TCP
TCP connection status explanation and troubleshooting (1)
By understanding the status of TCP, We Can troubleshoot and locate network or system faults.
I. TCP status
LISTENING: listens for connection requests from remote
always needs to use the same port for service. In 2MSL time, an error occurs when httpd is started (the plug is used ). In order to avoid this error, the server provides a concept of Calm time, which means that although the server can be restarted in 2MSL time, however, this server still needs to wait for the 2MSL time to complete the next connection. 4.5.FIN _ WAIT_2 status this is the well-known semi-clo
Netstat-N | awk '/^ TCP/{++ s [$ NF]} end {for (a in S) print a, s [a]}'
Result:
In addition to established, we can see several statuses with many connections: fin_wait1, time_wait, close_wait, syn_recv, and last_ack;ArticleBriefly describe the conditions for generating these states, the impact on the system, and the handling method.
TCP status
Shows th
By understanding the various states of TCP, we can help to troubleshoot and locate network or system failures. (Summarize content on the network)
1. TCP Status
Before you know TCP, you should know several commands:Linux View TCP status
TCP Message Format650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/85/9B/wKioL1epzQfRY5fxAACqF1nJug0426.png "title=" TCP message format. png "alt=" Wkiol1epzqfry5fxaacqf1njug0426.png "/>The difference between Urg and PSH in one or 6 control positions:(1) emergency Urg (URGent), when Urg=1, indicates that the tight- pressing pointer field is valid . It tells the operating system that there are emer
close request to the peer CLOSING: when both sides send a fin close request, the CLOSING state is entered. Response ACK message waiting to send fin messages to the end Last-ack: After receiving the end fin request, reply ACK and fin and wait for the other side to reply to the response ACK message of fin, at this time enter this state time-wait: This state is to ensure that the peer receives the ACK response of the fin request, The default is to wait twice times the MSL time (Msl:maximum Segment
Status Diagram 1Status Diagram 2for the above figure N many people know that it helps to troubleshoot and locate network or system failures, but how to firmly engrave this picture in the brain? Then you must have a deep understanding of each state of the graph and the process of conversion, and not just stay in the smattering. Below is a detailed analysis of the 11 states of this graph in order to enhance t
released. In the confirmation number put ACK 1, the confirmation number ack=w+1 , and its own serial number is seq=u+1 . Then A enter the TIME-WAIT state. In order to ensure that the B confirmation release message segment can be received. Such as:
Are all active shutdowns socket going into the TIME_WAIT state?Is there any situation that makes the active shut down socket directly into the CLOSED state?The actively closed party after sending the last
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.