Solution to the problem of large syn_sent connection under Linux _linux

Source: Internet
Author: User

Today, after migrating a VPS, I found that the original VPS actually has a large number of syn_sent connections to the new VPS 80 port.

Initially thought is the original VPS has the configuration file link information written is the domain name reason (because domain name resolution has been changed to the new VPS IP, and some of the area DNS did not refresh), but the use of the following command to check after the discovery is not the case.

Netstat-atnp

Parameter p can see PID and program name, as long as the service port on the machine is open, there will be PID and program name. After the inspection found that the wget program in the Occupy, suddenly thought is the deployment of their own a timed check script, used to check whether the site is normal.

The solution is simple, as long as the planning task of the Bash program is stopped. If it is another abnormal program, just use KILL command to kill the PID, if it is a lot of processes, such as all wget programs, then only need to perform pkill-9 wget.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.