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
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.