Question

Increasing and reducing resources on Droplet

When reducing resources on a droplet are there any configuration changes applied to the droplet’s OS or installed applications? I recently increased the resources, doubled CPU from 2 to 4 and RAM from 4G to 8G for a campaign that increased traffic. Now the campaign is over I reduced back to original size yet now websites load very slow even though there is no CPU utilisation or memory pressure. We have been using this Droplet (Ubuntu) for 2-3 years with no other issues.


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.

Bobby Iliev
Site Moderator
Site Moderator badge
October 24, 2024

Hey Michael,

When you resize a Droplet, especially when reducing resources, the operating system and services/applications themselves don’t automatically reconfigure to account for the reduced resources. This can sometimes lead to performance issues, even if CPU utilization and memory pressure appear normal.

A couple of things to check:

  1. If your swap size wasn’t adjusted after resizing, you may need to reconfigure it to better match the new RAM size. You can follow this guide to add or adjust your swap space:

    https://www.digitalocean.com/community/tutorial-collections/how-to-add-swap-space

  2. Some services (like database engines or web servers) might still be optimized for the higher resource settings from when you had 8GB RAM and 4 CPUs. It could be worth revisiting those configurations to ensure they align with the current resource limits.

Could you also share more information about your setup? For example what services exactly are you running and etc.

Also, for example, running commands like htop or free -m can give you a better idea of how the resources are being used, and checking web server logs might reveal any bottlenecks. It’ll help pinpoint if the issue is resource-related or something else.

Hope that helps!

- Bobby

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

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.