I keep on getting too many connections error messages when I hardly have anyone on the site.
I asked my hosting people to look into this and they came back to me with the message below:
Looking at the error_log in your home directory (/home/myfert/public_html/error_log) it can be seen that you are trying to open up too many connections to the MySQL server:
[19-Sep-2016 06:41:16 UTC] PHP Warning: mysqli_real_connect(): (HY000/1040): Too many connections in /home/myfert/public_html/dbtech/dbseo/includes/class_db.php on line 865
[19-Sep-2016 06:43:53 UTC] PHP Warning: mysqli_real_connect(): (HY000/1040): Too many connections in /home/myfert/public_html/dbtech/dbseo/includes/class_db.php on line 865
This is usually as a result of poor coding in the website or a bug with a software component. The configuration for most content management systems and similar applications can be fine-tuned to make better use of MySQL connections (re-using them as needed instead of trying to open new connections etc).
I asked my hosting people to look into this and they came back to me with the message below:
Looking at the error_log in your home directory (/home/myfert/public_html/error_log) it can be seen that you are trying to open up too many connections to the MySQL server:
[19-Sep-2016 06:41:16 UTC] PHP Warning: mysqli_real_connect(): (HY000/1040): Too many connections in /home/myfert/public_html/dbtech/dbseo/includes/class_db.php on line 865
[19-Sep-2016 06:43:53 UTC] PHP Warning: mysqli_real_connect(): (HY000/1040): Too many connections in /home/myfert/public_html/dbtech/dbseo/includes/class_db.php on line 865
This is usually as a result of poor coding in the website or a bug with a software component. The configuration for most content management systems and similar applications can be fine-tuned to make better use of MySQL connections (re-using them as needed instead of trying to open new connections etc).