How can I solve the 10055 error message when MYSQL cannot be connected? mysql10055

Source: Internet
Author: User
Tags website server

How can I solve the 10055 error message when MYSQL cannot be connected? mysql10055

Solution: (the following content is my original Practice)

To sum up, it should be the number of connections, so what are the number of connections on the server:

1. the IIS website server contains "connection timeout" and "Session Timeout" for each website ";
2. Number of server connections occupied by other programs (for example, the SMTP service may have many connections when sending emails)
3. The number of TCP/IP connections on the server itself. For example, there is a limit on the number of connections on the XP system, but the server 2003 system does not seem to have this limit.

Solution:

1. There are several websites on my server, one of which has an automatic mail function, run the "netstat-na> a.xls" command to check that there are 4077 connections between port 25 on the server and the client, and ask the programmer, when writing a program, a client ip address is allowed to initiate 10 connections, which greatly consumes the connection resources of the server. The programmer can change the connection to an ip address and only initiate five connections, now, if there is no problem, check again. There are only 2312 connections. I don't know if this is my credit?
2. Set the website using the mysql database in IIS: change the "connection timeout" time from the default s to 60 s; the "main directory"-"configuration"-changed the Session Timeout time from 20 minutes to 2 minutes.
The server has been running successfully for more than two nights.

Related Article

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.