Question

VPS errors when running multiple Drupal websites.

I use VPS (2GB RAM 40GB SSD Disk). There are about 80 sites Drupal running on VPS mine. Recently, VPS My frequent loss of connections MySQL, and VPS deactivated. I often have to Power Off and Power On to make it work again. I think VPS is overloaded, because there are so many sites running (around ~ 100 view / day / website). Do I need to upgrade VPS?


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.

Look at your memory consumption (free -h) and CPU loading (command top, check the value of loading average, if it’s more than ~2 your CPU is highly loaded). Also, make sure you have enough disk space (df -h).

As a way to improve overall performance you can use Varnish cache as a reverse proxy for all of your website, but this would help only with anonymous traffic.

Sorry. Can you give me detailed instructions? Because I am not a professional user.

Thanks

8000 daily viewers should not be an issue for a 2GB droplet but this will depend on your site(s) configuration and resource use. What messages are you seeing in the MySQL log file in /var/log/? The log should provide more detail about what is occurring and will give us a starting point to resolve it.