Report this

What is the reason for this report?

How to scale droplet for increased traffic?

Posted on December 12, 2019

Hi, I have a site and a forum each of which is hosted on one droplet. The site was down for a couple of hours because of increased traffic. Where or how do I see when the droplets reach their capacity limit and how do I adjust the droplets to meet the demands of increasing traffic? Many thanks, Torsten



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.

Hi @englishdotbest,

There is no certain full proof way.You’ll need to start gradually upgrading your droplet and see how it handles the traffic.

You can see when did the droplet reached it’s capacity limit in regards to CPU from your Control Panel -> Droplet -> Graphs.

As to the exact reason why, you’ll need to do this directly on the droplet. There you can check how many IPs were connected to your droplet using

netstat -punta

You can check your CPU usage using a tool like htop. Additionally, in htop you can check what exactly is taking so much CPU and RAM and work towards optimizing it. Having said that, you’ll just need to gradually update your droplet and see when it will be okay to function normally.

Additionally, depending on the services you use, you’ll need to start increasing their memory,slots,max connections, workers etc.

Regards, KDSys

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.