Why Are There Intermittent Interruptions When a Local Host Accesses a Website Built on an ECS?
Symptom
After you build a website on an ECS, some users occasionally are unable to access the website through the local network.
Troubleshooting
- Check the local network of the user.
    
If the local host communicates with the ECS using NAT, this problem may occur.
 - Run the following command to check whether tcp_tw_recycle is enabled on the ECS:
    
sysctl -a|grep tcp_tw_recycle
If the value of tcp_tw_recycle is 1, the function is enabled.
 - Run the following command to check the number of lost packets of the ECS:
    
cat /proc/net/netstat | awk '/TcpExt/ { print $21,$22 }'
If the value of ListenDrops is not 0, there is packet loss. This means the network is faulty.
 
Procedure
- Run the following command to temporarily modify the parameters (the parameters will change back after a restart):
 - Perform the following operations to permanently modify the parameters:
 
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.