DigitalOcean droplet upgrade already?

I have the basic $5 tier that I started a week ago, I’m trying to learn some stuff and practice building an actual app. Currently have docker, maven spring boot, nginx, node, and openvpn for some static IP usage while I’m traveling and need a whitelist for work.

I access the server via command prompt ssh or via VS Code remote SSH.

The docker runs nginx, I just got the robo-cert to work, now I just created maven spring project and my CPU and Memory are at 100% and sometimes crashing the server. I have not even done anything with the project yet.

Am I over-using the 1 CPU and 1GB memory already?

Do you think 2vCPU and 2GB Memory is needed for my case?

When I try to run ‘Top’ and sort by CPU or Memory, kswapd0 is always at like 30-50% on CPU. java, java, node, node is the top for Memory, but it’s not even a running process. java also takes up 20% of the cpu.

Submit an answer
Answer a question...

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.

Site Moderator
Site Moderator badge
May 20, 2022

Hi @aupperk24,

Before you upgrade Add 1 Gb of Swap and see how does that work out for you. If you are using CentOS this question here will give you more information on the topic:

If you are using Ubuntu, you can give this article a read about SWAP:

Additionally, yes it does seem like it’s time for an upgrade. My recommendation would be to upgrade to the next package and not go too far into upgrading. Take the upgrades one step at a time until you find the perfect resources for your case.