my CPU Usage abnormally high,Getting error establishing connection to database

Even though my websites are very limited 2-3 and they are hardly visited by any one still I get, I get this erro establishing connection error on all my database websites, I have checked whether my connection credentials was incorrect but I dint found any thing wrong, also these websites gets started working after every server reset from my dashboard. but it shows same error within 1-2 hrs. plese help.

Also there is abnormally High usage of cpu for just 3 websites with hardly any traffic, please help.

2 gb ram 2 cpu

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @fbssdocuments,

The error you are getting is because your server is being overloaded and it kills services like Apache/Nginx/MySQL. In this instance, your MySQL/MariaDB or whatever you are using was killed by the server.

This means you’ll need to pinpoint the exact source of the issue and fix it.

i don’t know about the CPU usage maybe IT IS the fact that you have three website s on them not sure. The error though could be related to your settings in the configuration pages of your sites. You might need to increase the allowed capacity. Now im not sure how you do this or which files they are but im sure you can find this info fairly easy.