How to fix 508 Resource Limit is reached in PHP MySQL

限于喜欢 提交于 2021-02-07 10:01:07

问题


How to fix 508 Resource Limit is reached in PHP MySQL

  • My website is developed in PHP with MySQL and javascript ajax.
  • My website is blocked,
  • how to rectify immediately in this problem, anyone help me quickly please.

but am got bellow error,

Resource Limit Is Reached

The website is temporarily unable to service your request as it exceeded resource limit. Please try again later.
Apache/2.4.12 (Unix) OpenSSL/1.0.1e-fips mod_bwlimited/1.4 Server at domain.co.in Port 80
  • What is concurrent connection
  • How to set Maximum concurrent connections to MySQL
  • Any solution is available for this problem

回答1:


What are database concurrent connections?

Concurrent connections are the connections which are made simultaneously to the database.

On shared hosting, there are some limits. Depending on your provider it could oscilate. Every time a visitor enters on your website, then it makes a connection to the database (if the webpage is connected to mysql).

So, if there are some visitors accessing the website at same time, there would be as many db connections as visitors.

For the most part, hosting providers will say there are limits on connections (without specifying "database"), and it is about HTML processes.

How to increase the number of concurrent connections?

If you have a VPS or dedicated, then you can go to your MySQL server and change max_concurrent_connections. If you are on shared hosting most probably you cannot.

What can I do?

Your hosting provider will tell you to upgrade to VPS or other more-power plan with is more expensive than a Shared Hosting.

I would not recommend you to buy a VPS yet. I would recommend you to change your hosting provider.

Please provide your website URL, where are you hosted, which plan, to help you better.




回答2:


This is something you'll have to contact your hosting provider about. They've blocked your site because you've reached your maximum bandwidth limit.



来源:https://stackoverflow.com/questions/30931749/how-to-fix-508-resource-limit-is-reached-in-php-mysql

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!