i have aweird problem that has only just started happening.
i have a small cluster (one web and one db) setup and i host a rather popular group of4 -5 sites that allow users to dynamicly create their own mobile chat communitys automaticly. each site gets its own mysql db createdand populated automaticly.
this is all fine,
but in the last 24hours weird things have begun happening, previously i had the sql max_connections set to 500 and this was perfectly adaqute for the demand but now even when i set the connection to 4000+ they are all maxxed out within 5-10 minutes, and mysql processlist shows thousands of unauthenticated user connections sitting at login status,
i have gone through the sites and all their mysql configs are fine so i cant see what the issue is.
server specs below
db server:
only mysql,ssh and webmin running, no other apps installed
web server:
apache status onthe web server only shows 120ish http connections butthe sql keeps climbing
If absolutely nothing else changed, maybe someone is trying to attack your site?
See if you can find what IPs the spurious connections are coming from.
发现了问题,出于某种原因,mysql已决定开始尝试对连接进行dodns查找,不知道为什么,但是在将skip-name-resolve添加到my.cnf之后,现在似乎已经解决了
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.