简体   繁体   English

Mysql 连接过多错误

[英]Mysql too many connection error

I think something wrong with this graph.. but i don't know what error is this..我认为这张图有问题.. 但我不知道这是什么错误..

在此处输入图片说明

I tried to increase max connection from 150 to 300, i still got the same error..我试图将最大连接数从 150 增加到 300,我仍然遇到同样的错误..

Any idea what happenned?知道发生了什么吗?

Please help.. thx请帮助.. thx

Due to the fact you did not specified what type of applications are querying your server, and because every server under specific uses needs specific setup, I cannot say you: set this and that value here and there.由于您没有指定什么类型的应用程序正在查询您的服务器,并且因为特定用途下的每个服务器都需要特定设置,我不能说您:在这里和那里设置这个和那个值。

Try analyzing what application does.尝试分析应用程序的作用。 Try setting in runtime interactive_timeout and wait_timeout on a lower value.尝试在运行时interactive_timeoutwait_timeout中设置较低的值。 If queries from apps you know are not so complex, try lowering the value of thread_stack .如果来自您知道的应用程序的查询不是那么复杂,请尝试降低thread_stack的值。

Also, try to take a look at your server hard disk space.另外,请尝试查看您的服务器硬盘空间。 Sometimes and under certain conditions this error is thrown when hard disk space is little.有时,在某些情况下,当硬盘空间很小时会抛出此错误。

Sometimes, if applications are exposed to the www, search engine bots at work can consume resources.有时,如果应用程序暴露于 www,工作中的搜索引擎机器人可能会消耗资源。 You should tune your robots.txt Crawl-delay value according to this page .您应该根据此页面调整 robots.txt Crawl-delay 值。

I had this issue because my disk was full.我有这个问题,因为我的磁盘已满。 Since it was a VM I was able to extend the hard drive and things went back to normal.由于它是一个虚拟机,我能够扩展硬盘驱动器,一切又恢复正常。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM