Report this

What is the reason for this report?

VPS errors when running multiple Drupal websites.

Posted on March 16, 2016

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?



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!

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.

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.

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

Thanks

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.