Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document.
Note: Even the most advanced machine translation cannot match the quality of professional translators.
Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
tcp_recycle_switch.sh
Function
The tcp_recycle_switch.sh command is used to enable or disable the function of rapidly recycling the TIME_WAIT socket in the TCP connection.
Example
-
Enable the function of rapidly recycling the TIME_WAIT socket in the TCP connection.
Storage: minisystem> tcp_recycle_switch.sh on Command executed successfully.
-
Disable the function of rapidly recycling the TIME_WAIT socket in the TCP connection.
Storage: minisystem> tcp_recycle_switch.sh off WARNING: You are about to disable the function of rapidly recycling the TIME_WAIT socket in the TCP connection. After this function is disabled, if the service end closes large amount of TCP connections during a short period, new connections cannot be created for a certain period. Suggestion: After this function is disabled, turn on the switch again after related operations. Have you read warning message carefully?(y/n) y Are you sure you really want to perform the operation?(y/n) y Command executed successfully.